The WindowMaker application wmbluecpu (in ports) now appears to be a runaway process after a recent upgrade. I performed ports upgrades as specified in /usr/ports/UPDATING 20090123 x11/libxcb, 20090123,24 x11-servers/xorg-server. wmbluecpu then seemed to be not working correctly. I recompiled wmblue with debugging symbols and it seems to be spinning forever in callstacks like #0 0x28267280 in _pthread_testcancel () from /lib/libc.so.7 #1 0x2829546c in _xcb_conn_wait () from /usr/local/lib/libxcb.so.2 #2 0x282977ba in xcb_wait_for_reply () from /usr/local/lib/libxcb.so.2 #3 0x280c037a in _XReply () from /usr/local/lib/libX11.so.6 #4 0x280b46ea in XSync () from /usr/local/lib/libX11.so.6 #5 0x0804a28a in draw_window () at draw.c:54 #6 <signal handler called> #7 0x28267d63 in select () from /lib/libc.so.7 #8 0x282953ff in _xcb_conn_wait () from /usr/local/lib/libxcb.so.2 #9 0x28297490 in xcb_wait_for_event () from /usr/local/lib/libxcb.so.2 #10 0x280bfaee in wait_or_poll_for_event () from /usr/local/lib/libX11.so.6 #11 0x280bfe78 in process_responses () from /usr/local/lib/libX11.so.6 #12 0x280c0637 in _XReadEvents () from /usr/local/lib/libX11.so.6 #13 0x280a7d3b in XNextEvent () from /usr/local/lib/libX11.so.6 #14 0x080494f6 in process_events () at dockapp.c:257 #15 0x0804a6a5 in main (carg=256, varg=0x0) at wmbluecpu.c:38 I'm doing another "portupgrade -rf libxcb" just to be sure, but I've already rebuild wmbluecpu from scratch several times. How-To-Repeat: Perform 20090123, 20090124 /usr/ports/UPDATING steps. Install wmbluecpu from ports and execute it.
Responsible Changed From-To: freebsd-ports-bugs->benjsc Fix synopsis and assign.
Attached Patch should fix the problem and should apply cleanly to the port. The cause is libxcb expecting the SIGALRM signal which is being caught by wmbluecpu. The way the program does the event loop is just wrong. Fix it and a number of other issues (SIGTERM/SIGQUIT, etc terminal handling).
Responsible Changed From-To: benjsc->freebsd-ports-bugs Over to bugs team for commit, maintainer doesn't have -ports commit bit
Responsible Changed From-To: freebsd-ports-bugs->makc I'll take it.
makc 2009-04-20 19:18:38 UTC FreeBSD ports repository Modified files: sysutils/wmbluecpu Makefile Added files: sysutils/wmbluecpu/files patch-dockapp.c patch-wmbluecpu.c Log: Fix after libxcb update. PR: ports/131309 Submitted by: Eric Dedrick Fixed by: Benjamin Close (maintainer) Approved by: portmgr (pav) Revision Changes Path 1.8 +1 -1 ports/sysutils/wmbluecpu/Makefile 1.1 +107 -0 ports/sysutils/wmbluecpu/files/patch-dockapp.c (new) 1.1 +17 -0 ports/sysutils/wmbluecpu/files/patch-wmbluecpu.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"
State Changed From-To: open->closed Committed. Thanks!