Red Hat Bugzilla – Bug 474721
gnome-session gets stuck in a loop
Last modified: 2009-01-16 20:00:43 EST
Description of problem:
Eventually, I cannot start any more sufficiently complex GUI programs, they hang before showing a window. When this happens gnome-session is now using 100% CPU time and the tty I ran startx from is being flooded with:
_IceTransSocketUNIXAccept: accept() failed
It seems to be caused by running qt3 programs, including uic from qt3-devel, when compiling qt3 programs.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
In gnome, attempt to run "uic -version" 1500 times e.g.
for i in `seq 1 1500` ; do
uic will hang after running about 1000 times, after which gnome-session will be using 100% CPU and then most other gnome programs will not start.
uic should execute 1500 times
gnome-session currently has pid 30000, and after each run of "uic -version" there's 1 more entry in /proc/30000/fd/ so eventually I guess gnome-session has too many open files.
Rebuilding and installing gnome-session-2.25.2-2.fc11.src.rpm has the same problem, with gnome-session-2.22.3-1.fc9.i386 installed in place of Fedora 10's, the problem does not occur, but of course this version does not work properly in gnome 2.24.
I did some debugging and eventually found the problem and a possible solution, added at gnome bug 563354.
The fix was included in the 2.24.3 tarball, closing.