deskutils/wmpinboard segfaults on startup regardless of what the locale settings are. The actual segfault occurs in libX11-1.2.1/src/xlibi18n/ICWrap.c, at line 117: This GDB was configured as "amd64-marcel-freebsd"... (gdb) run Starting program: /tmp/wmpinboard-1.0.fromports/src/wmpinboard Program received signal SIGSEGV, Segmentation fault. 0x0000000800694e2a in _XIMCountVaList (var=0x7fffffffe060, total_count=0x7fffffffe08c) at ICWrap.c:117 117 if (!strcmp(attr, XNVaNestedList)) { (gdb) bt #0 0x0000000800694e2a in _XIMCountVaList (var=0x7fffffffe060, total_count=0x7fffffffe08c) at ICWrap.c:117 #1 0x0000000800695307 in XCreateIC (im=0x80114e020) at ICWrap.c:243 #2 0x000000000040f4de in init_xlocale () at xmisc.c:260 #3 0x000000000040e4bb in main (argc=1, argv=0x7fffffffe920) at wmpinboard.c:2118 (gdb) display attr 1: attr = 0x800000000 <Error reading address 0x800000000: Bad address> How-To-Repeat: Just build and run it.
Maintainer of deskutils/wmpinboard, Please note that PR ports/134474 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/134474 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Edwin Groothuis schrieb: > Maintainer of deskutils/wmpinboard, > > Please note that PR ports/134474 has just been submitted. > > If it contains a patch for an upgrade, an enhancement or a bug fix > you agree on, reply to this email stating that you approve the patch > and a committer will take care of it. > > The full text of the PR can be found at: > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/134474 > Approved!
State Changed From-To: feedback->open Maintainer approved.
Fixed. XCreateIC() was getting 4 zero bytes + 4 extra bytes of garbage instead of the NULL pointer needed to terminate the va_list.
State Changed From-To: open->closed committed, thanks
arved 2009-07-24 17:02:57 UTC FreeBSD ports repository Modified files: deskutils/wmpinboard Makefile Added files: deskutils/wmpinboard/files patch-xmisc.c Log: Fix execution on 64bit platforms PR: 134474 Submitted by: Pavel Gorshkov Revision Changes Path 1.24 +1 -1 ports/deskutils/wmpinboard/Makefile 1.1 +22 -0 ports/deskutils/wmpinboard/files/patch-xmisc.c (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"