[Bug 70368] bug-buddy can block 'x-session-manager', preventing new X processes

Paul Sladen ubuntu at paul.sladen.org
Sun Nov 5 04:21:20 UTC 2006


Public bug reported:

[Unfortunately, 1.5hours worth of debugging to the cause of this problem
was lost after 'kill -9 `pidof bug-buddy...gnome-session-manager`, which
then took down the X server].

Bug-buddy can block 'x-session-manager';  the following is what the
straces/gdb dumps showed from 5minutes ago:

New processes attempt to connect to the Session Manager using:

  /tmp/.ICE-unix/NNNN

New processes start by writing a request to this socket and then
blocking, awaiting the Session Manager to respond.  However, the SM is
locked:

  waitpid(`pidof gnome-session-manager`, <unfinished>

and the GNOME Session Manager instance blocked:

  waitpid(`pidof bug-buddy`, <unfinished>

This instance of 'bug-buddy' was the one watching 'gnome-session-
manager' was blocking on:

  read(24, <unfinished>

I do not know what Socket 24 was supposed, or was, connected to.

So there seems to be some cyclic relationship between the g-s-m and an
instance of bug-buddy watching over 'g-s-m';  the end result of which is
a race-condition where 'x-session-manager' is left completely blocked.

** Affects: bug-buddy (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
bug-buddy can block 'x-session-manager', preventing new X processes
https://launchpad.net/bugs/70368




More information about the desktop-bugs mailing list