GNOME Bugzilla – Bug 82308
gnome-panel crashes when switching themes
Last modified: 2004-12-22 21:47:04 UTC
Package: gnome-panel Severity: major Version: 1.5.21 Synopsis: gnome-panel crashes when switching themes Bugzilla-Product: gnome-panel Bugzilla-Component: Panel BugBuddy-GnomeVersion: 2.0 (1.117.0) Description: Description of Problem: brand new garnome (0.10.0) crashes the panel when switching themes Steps to reproduce the problem: 1. open theme properties capplet 2. click on a different theme (sometimes takes more than one change) 3. Actual Results: panel crashes, backtrace attached Expected Results: theme change immediately How often does this happen? 80%-90% of the time Additional Information: applets running (don't know if this makes a difference) - window list, workspace list, volume control Debugging Information: Backtrace was generated from '/opt/gnome2/bin/gnome-panel' [New Thread 1024 (LWP 2455)] 0x40b511e9 in __wait4 () from /lib/libc.so.6
+ Trace 22415
Thread 1 (Thread 1024 (LWP 2455))
------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-05-19 22:31 ------- Reassigning to the default owner of the component, gnome-panel-maint@bugzilla.gnome.org.
Hmm, I can't reproduce this with CVS head everything
*** Bug 81437 has been marked as a duplicate of this bug. ***
*** Bug 75024 has been marked as a duplicate of this bug. ***
*** Bug 82032 has been marked as a duplicate of this bug. ***
Owen: there are now five reports of this trace, including one in nautilus; it is (AFAICS) a gtk bug. Reassigning to you. Please note that as a repeated crasher the release team would really like to see this fixed before 2.0.0. Thanks.
It could conceivably be a panel bug too if it was doing something strange and corrupting the GTK+ internals. It's very likely to be an interaction with things the panel is doing. Since I've switched themes a lot and never seen a crash of the panel, I can't make any promises ... I'm not going to have much time to look at this, and unless I can reproduce it... As always, assistance in tracking the problem down would be appreciated.
this is in regard to bug 82032 and also this bug. I'm placing these comments here as bug 82032 has been marked as a jupe of this bug. After nautilus crashed when I switch the gtk2 theme, panel crashed next, and after this is was a downhill slide into reboot oblivion. I didn't get the chance to file the gnome-panel bug, because my desktop went seriously south. IMHO, this bug can cause som serious damage and needs to be fixed before the gnome2 release.
Okay, I think I can give you a way to reproduce this crash. It appears that this crash happens when you switch from the Crux theme to any other theme. The crash isn't caused by selecting the ThinIce theme. It's cause be changing to another theme from the Crux theme. Steps to reproduce: 1. Install the Crux themes.(1) 2. On the panel select Applications > Desktop Preferences > Theme 3. Select the Crux Theme and allow it to apply. 4. Select a different theme and allow it to apply. 5. The gnome-panel should have crashed. If you click Cancel on the crash dialog box, the panel will restart. If you click Submit a bug report, I've found that gnome_segv2 goes defunct and the only way I can find to restart the panel is to actually restart the computer. You don't even need to submit the bug report. For example, select 'submit bug report', and then click cancel when bug buddy comes up. If I run ps -ax I get the following: 1509 ? Z 0:00 [gnome_segv2 <defunct>] 1504 ? T 0:01 gnome-panel --sm-config-prefix /gnome-panel-26mQJT/ - I can't find any way to kill either process, and when you try to restart gnome-panel it says it's already running. Closing X doesn't help. The only way I know of restarting the panel is to restart Linux. I'm marking this bug urgent/blocker accordingly and hope that is can be resolved asap. I hope I have supplied enough information to allow the cause to be fixed. (1) I'm running redhat 7.3 with ximian snapshots. I've installed Crux by running ./configure --prefix=/usr, make, make install.
*** Bug 82454 has been marked as a duplicate of this bug. ***
*** Bug 82476 has been marked as a duplicate of this bug. ***
I can reproduce that segfault, too. When I'm switching from default theme to crux the panel crashes. The other way round, it's the same thing. Sometimes also metacity and gkb-applet crash.
Okay, I think I can give you a way to reproduce this crash. It appears that this crash happens when you switch from the Crux theme to any other theme. The crash isn't caused by selecting the ThinIce theme. It's cause be changing to another theme from the Crux theme. Steps to reproduce: 1. Install the Crux themes.(1) 2. On the panel select Applications > Desktop Preferences > Theme 3. Select the Crux Theme and allow it to apply. 4. Select a different theme and allow it to apply. 5. The gnome-panel should have crashed. If you click Cancel on the crash dialog box, the panel will restart. If you click Submit a bug report, I've found that gnome_segv2 goes defunct and the only way I can find to restart the panel is to actually restart the computer. You don't even need to submit the bug report. For example, select 'submit bug report', and then click cancel when bug buddy comes up. If I run ps -ax I get the following: 1509 ? Z 0:00 [gnome_segv2 <defunct>] 1504 ? T 0:01 gnome-panel --sm-config-prefix /gnome-panel-26mQJT/ - I can't find any way to kill either process, and when you try to restart gnome-panel it says it's already running. Closing X doesn't help. The only way I know of restarting the panel is to restart Linux. I hope I have supplied enough information to allow the cause to be fixed. (1) I'm running redhat 7.3 with ximian snapshots. I've installed Crux by running ./configure --prefix=/usr, make, make install.
Created attachment 8647 [details] [review] Proposed fix for crux
(Hmmm, no bugzilla product for crux)
Could someone test the attached fix for the crux engine? I can't reproduce the problem here, but believe the bug fixed in crux in the patch would cause problems of this nature.
eazel-themes, FWIW... we should probably change the names :)
*** Bug 82785 has been marked as a duplicate of this bug. ***
*** Bug 76651 has been marked as a duplicate of this bug. ***
*** Bug 82782 has been marked as a duplicate of this bug. ***
*** Bug 82998 has been marked as a duplicate of this bug. ***
*** Bug 83027 has been marked as a duplicate of this bug. ***
Applied Owen's patch, re-open if that doesn't fix it (I'm having GTK compilation problems so I can't test)
I tested the patch too and it works here.
*** Bug 83477 has been marked as a duplicate of this bug. ***