Heisenbug in the panel

Brian J. Tarricone bjt23 at cornell.edu
Tue Sep 13 02:55:08 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 9/12/2005 5:27 PM, Erik Harrison wrote:
> I have a very strange heisenbug in the panel that cropped up all the
> sudden like.
> 
> This is a svn snapshot of the "old panel" from about a month ago. I
> right clicked on an item in the task list plugin, and seemed to hang
> the desktop when I moused over the "send to" submenu, with the submenu
> not filled in.

Hmm.  Figures.  I think I'm the one that added the send to submenu to
the NetkTasklist widget (assuming the task list plugin uses it).

> I suspected a possible race condition in netk somewhere, and the panel
> seemed to have an unbreakable keyboard/mouse grab. I was able to
> change VTs and I attached GDB to the panel process, but I'm too much
> of a n00b to get anything useful from it. So I killed the panel.

Well, since it's not multithreaded, just getting a backtrace would have
been best...

> Now when I start the panel I get a "Broken Pipe" error - possibly an
> interaction with the session manager? I tried to start the panel under
> GDB - and lo and behold, it worked! Ran it without GDB, and it didn't.

Yeah, it's something wrong with the session manager.  I get this
occasionally after running xfce for a while, and killing and restarting
xfdesktop or the panel when I'm testing something.  Not sure what causes
it.  Unsetting SESSION_MANAGER allows the app to start, but without
session management.  Mainly, it's Linux being retarded and aborting on
SIGPIPE.  But still, seems like the session manager is having issues.

	-b



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)

iD8DBQFDJiNr6XyW6VEeAnsRAs9tAJ9+7By8IZ+ix7lqkBtbmQjPCF4hLQCguzIC
73IzlWkPtghPOc41Mia6iUE=
=P3tG
-----END PGP SIGNATURE-----



More information about the Xfce4-dev mailing list