GNOME Bugzilla – Bug 125773
crash after systray aplet close
Last modified: 2004-12-22 21:47:04 UTC
gnomeicu & Wait for systray icon and double click to hide gnomeicu window. killall gnome-panel Systray icon will not re-appear in new systray applet instance. gnomeicu & You will now see force disconnect message from old (invisible) gnomeicu instance. Immediatelly after it, old instance crashes with segfault.
Thanks for the bug report. Without a stack trace from the crash it's very hard to determine what caused the crash. Please see http://bugzilla.gnome.org/getting-traces.cgi for more information about getting a useful stack trace.
How to repeat was not complete: Very first condition is: - You must have running gnome-panel with systray applet. It occur nearly evary time. Even if it does not crash, second problem, occur every time: Systray icon will not re-appear after "killall gnome-panel". Sorry for not having debug symbols. Backtrace was generated from '/opt/gnome/bin/gnomeicu' (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...[New Thread 16384 (LWP 29399)] [New Thread 32769 (LWP 29400)] (no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...0x40b67006 in waitpid () from /lib/libpthread.so.0
+ Trace 42576
Thread 1 (Thread 16384 (LWP 29399))
This bug can have relation with bug 130554.
bug 130554 marked as dup of bug 122327. bug 122327 seems to be fixed. Have to test against gtk+ CVS head to confirm.
Tested against gtk+-2.2.4 with explicit fix of bug 122327 (SuSE Linux 9.0 online update). Still the same crash.
Two things I want you to check, after you kill gnome-panel. do a 'ps ax' . Can you see if the gnomeicu process is still there? If it is, can you go to /tmp (before killing gnomeicu) and do 'ls -a' and can you see any directory named '.gnomeicu-USERNAME' where USERNAME is your unix user name. If it is there, tell me the files inside the directory. Thanks.
I have tried it again. It seems, that crash is not 100% repeatable (but never behaves correctly). There are problems for both "GUI hidden via systray" and "GUI visible". I found following behaviors during tests: GUI hidden or visible: after "killall gnome-panel" gnomeicu process segfaults. GUI hidden via systray: after "killall gnome-panel" gnomeicu process continues to exist without any GUI. After issuing new gnomeicu, old one does not respond. GUI hidden via systray: after "killall gnome-panel" gnomeicu process continues to exist without any GUI. After issuing new gnomeicu, old one segfaults. GUI visible: after "killall gnome-panel" gnomeicu process continues to exist, but GUI is dead and does not respond. Expected correct behavior: After "killall gnome-panel" gnomeicu process redisplays systray icon or shows GUI. > ps ax | grep -i gnomeicu ; ls -al /tmp/.gnomeicu-sbrabec 2230 ? T 0:00 gnomeicu 25009 ? S 0:00 gnomeicu 25010 ? S 0:00 gnomeicu 25068 pts/4 R 0:00 grep -i gnomeicu total 2 drwx------ 2 sbrabec users 104 2004-01-27 10:40 . drwxrwxrwt 19 root root 2024 2004-01-27 10:38 .. lrwxrwxrwx 1 sbrabec users 36 2004-01-26 10:36 ctl -> /tmp/.gnomeicu-sbrabec/ctl-116020046 srwx------ 1 sbrabec users 0 2004-01-27 10:40 ctl-116020046 > killall gnome-panel > sleep 5 > sbrabec@unicorn:~> ps ax | grep -i gnomeicu ; ls -al /tmp/.gnomeicu-sbrabec 2230 ? T 0:00 gnomeicu 25009 ? S 0:00 gnomeicu 25010 ? S 0:00 gnomeicu 25078 pts/4 R 0:00 grep -i gnomeicu total 2 drwx------ 2 sbrabec users 104 2004-01-27 10:40 . drwxrwxrwt 19 root root 2024 2004-01-27 10:38 .. lrwxrwxrwx 1 sbrabec users 36 2004-01-26 10:36 ctl -> /tmp/.gnomeicu-sbrabec/ctl-116020046 srwx------ 1 sbrabec users 0 2004-01-27 10:40 ctl-116020046
Ok, I changed the code to show the main window if the tray is destroyed... but I can't reproduce any segfault.. For gnomeicu or the panel freezing, there is a bug in gtk 2.2.4.. there is a patch at http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/x11-libs/gtk%2B/files/gtk%2B-2.2-notificationarea_loop.patch?rev=1.1&content-type=text/plain Re-open if you can reproduce with current cvs and patched gtk+...