ports/52069: sawfish-2 (rep) hangs (?) under gnome-2

Andrew Reilly areilly at bigpond.net.au
Sun May 11 09:20:14 UTC 2003


>Number:         52069
>Category:       ports
>Synopsis:       sawfish-2 (rep) hangs (?) under gnome-2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 11 02:20:12 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Reilly
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD gurney.reilly.home 4.8-STABLE FreeBSD 4.8-STABLE #3: Sat May 10 17:11:52 EST 2003 root at gurney.reilly.home:/usr/var/tmp/obj/usr/src/sys/GURNEY i386


	Machine is cvsupped, and make world'ed every week,
	portupgrade -rRa'd every couple of weeks.  Installed
	ports and libraries available if useful.

>Description:
	I "upgraded" from ports gnome-1.4 to the ports gnome-2 a
	few weeks ago, on the grounds that development seemed to
	be happening on the 2 branch and not on the 1.4.
	Basically went according to plan (after chasing down a
	few not-properly-de-installed libraries that were
	confusing the build).  Decided I didn't like metacity
	because it didn't seem to have sawfish's
	expand-vertically window option, so I switched back to
	sawfish (2).  I have a custom menu bound to right button
	clicks on the root window, defined in a .sawfishrc file:


(require 'sawmill-defaults)
(setq apps-menu
'(
  ("Terminal" (system "gnome-terminal --use-factory --start-factory-server &"))
  ("ROX" (system "rox &"))
  ()
  ("Mail" (system "evolution &"))
  ("News" (system "pan &"))
  ("WWW" (system "mozilla &"))
  ()
  ("Addresses" (system "gnomecard &"))
  ("Emacs" (system "gnuclient &"))
  ("AbiWord" (system "abiword &"))
  ("OpenOffice" (system "openoffice &"))
  ("Scan" (system "xsane &"))
  ("Calculator" (system "xcalc &"))
  ("GNumeric" (system "gnumeric &"))
  ("Mixer" (system "ossxmix &"))
 )
)

	Dunno how relevant that is.

        The primary annoying symptom is that it takes a long
        time (significant fraction of a second) for any of
        the root-window menus to be displayed, and frequently
        they won't come up at all.  When that happens, further
        root-window clicks "beep".  When this happens, there is
        a rep process, child of sawfish, running sawfish-menu,
        which is asleep (ps status is "S").  When killed -KILL,
        sawfish spawns another rep process, and menu operations
        work again.

>How-To-Repeat:
	Press a mouse button against the background after you
	haven't done that for some longish while, and while
	there's something intensive (a build, for example) going
	on in the background.  Doing this immediately after
	using and then minimising, say, evolution, often
	triggers it too.

>Fix:

	Dunno, sorry.  Whenever I use -QUIT to kill rep, instead
	of -KILL, I can't get gdb do much that's useful, even
	though I have -g in my CFLAGS in /etc/make.conf.  Here's
	what where says, for whatever that's worth:

#0  0x2814a82c in kill () from /usr/lib/libc_r.so.4
#1  0x28141c80 in raise () from /usr/lib/libc_r.so.4
#2  0x280a6613 in rep_poll_input () from /usr/X11R6/lib/librep.so.12
#3  0x2815ceb4 in _thread_sig_handler () from /usr/lib/libc_r.so.4
#4  0x2815e195 in _thread_sig_wrapper () from /usr/lib/libc_r.so.4
#5  0x80977c0 in ?? ()
#6  0x2815da62 in _thread_sig_handle_pending () from /usr/lib/libc_r.so.4
#7  0x2815d35f in _thread_sig_handle_pending () from /usr/lib/libc_r.so.4
#8  0x28162e73 in _thread_kern_sig_undefer () from /usr/lib/libc_r.so.4
#9  0x2816248f in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.4
#10 0x28161e1c in _thread_kern_scheduler () from /usr/lib/libc_r.so.4
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list