Bug 474721 - gnome-session gets stuck in a loop
Summary: gnome-session gets stuck in a loop
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-session
Version: 10
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-04 23:52 UTC by Edward Sheldrake
Modified: 2009-01-17 01:00 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-17 01:00:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 563354 0 None None None Never

Description Edward Sheldrake 2008-12-04 23:52:22 UTC
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):
gnome-session-2.24.2-1.fc10.i386
qt3-3.3.8b-17.fc10.i386

How reproducible:
Always, eventually

Steps to Reproduce:
In gnome, attempt to run "uic -version" 1500 times e.g.

#!/bin/bash
for i in `seq 1 1500` ; do
uic -version
done

  
Actual results:
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.

Expected results:
uic should execute 1500 times

Additional info:
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.

Comment 1 Edward Sheldrake 2008-12-05 16:45:34 UTC
I did some debugging and eventually found the problem and a possible solution, added at gnome bug 563354.

Comment 2 Edward Sheldrake 2009-01-17 01:00:43 UTC
The fix was included in the 2.24.3 tarball, closing.


Note You need to log in before you can comment on or make changes to this bug.