After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 82308 - gnome-panel crashes when switching themes
gnome-panel crashes when switching themes
Status: RESOLVED FIXED
Product: eazel-themes
Classification: Deprecated
Component: general
unspecified
Other other
: Urgent blocker
: ---
Assigned To: Seth Nickell
Luis Villa
: 75024 81437 82032 82454 82476 82782 82998 83027 83477 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-05-20 02:38 UTC by Samuel Stringham
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: Old
GNOME version: ---


Attachments
Proposed fix for crux (518 bytes, patch)
2002-05-21 22:57 UTC, Owen Taylor
none Details | Review

Description Samuel Stringham 2002-05-20 02:31:02 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

Thread 1 (Thread 1024 (LWP 2455))

  • #0 __wait4
    from /lib/libc.so.6
  • #1 __DTOR_END__
    from /lib/libc.so.6
  • #2 waitpid
    at wrapsyscall.c line 173
  • #3 libgnomeui_segv_handle
    at gnome-ui-init.c line 593
  • #4 pthread_sighandler
    at signals.c line 97
  • #5 <signal handler called>
  • #6 g_slist_remove_all
    at gslist.c line 398
  • #7 gtk_rc_style_finalize
    at gtkrc.c line 957
  • #8 g_object_last_unref
    at gobject.c line 437
  • #9 g_object_unref
    at gobject.c line 1321
  • #10 gtk_rc_style_unref
    at gtkrc.c line 1044
  • #11 gtk_rc_clear_hash_node
    at gtkrc.c line 1190
  • #12 g_hash_table_foreach
    at ghash.c line 559
  • #13 gtk_rc_clear_styles
    at gtkrc.c line 1215
  • #14 gtk_rc_reparse_all_for_settings
    at gtkrc.c line 1375
  • #15 gtk_rc_settings_changed
    at gtkrc.c line 510
  • #16 g_cclosure_marshal_VOID__PARAM
    at gmarshal.c line 531
  • #17 g_closure_invoke
    at gclosure.c line 437
  • #18 signal_emit_unlocked_R
    at gsignal.c line 2341
  • #19 g_signal_emit_valist
    at gsignal.c line 2100
  • #20 g_signal_emit
    at gsignal.c line 2144
  • #21 g_object_dispatch_properties_changed
    at gobject.c line 459
  • #22 g_object_notify_dispatcher
    at gobject.c line 231
  • #23 g_object_notify
    at gobjectnotifyqueue.c line 123




------- 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.

Comment 1 Mark McLoughlin 2002-05-20 02:52:08 UTC
Hmm, I can't reproduce this with CVS head everything
Comment 2 Mark McLoughlin 2002-05-20 02:52:57 UTC
*** Bug 81437 has been marked as a duplicate of this bug. ***
Comment 3 Luis Villa 2002-05-20 12:49:43 UTC
*** Bug 75024 has been marked as a duplicate of this bug. ***
Comment 4 Luis Villa 2002-05-20 12:50:18 UTC
*** Bug 82032 has been marked as a duplicate of this bug. ***
Comment 5 Luis Villa 2002-05-20 12:51:57 UTC
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.
Comment 6 Owen Taylor 2002-05-20 15:43:00 UTC
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.
Comment 7 Rodd Clarkson 2002-05-21 00:11:03 UTC
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.
Comment 8 Rodd Clarkson 2002-05-21 07:37:44 UTC
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.

Comment 9 Luis Villa 2002-05-21 14:26:56 UTC
*** Bug 82454 has been marked as a duplicate of this bug. ***
Comment 10 Luis Villa 2002-05-21 14:27:16 UTC
*** Bug 82476 has been marked as a duplicate of this bug. ***
Comment 11 Christian Meyer 2002-05-21 21:29:49 UTC
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.
Comment 12 Rodd Clarkson 2002-05-21 22:51:50 UTC
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.

Comment 13 Owen Taylor 2002-05-21 22:57:26 UTC
Created attachment 8647 [details] [review]
Proposed fix for crux
Comment 14 Owen Taylor 2002-05-21 22:58:04 UTC
(Hmmm, no bugzilla product for crux)
Comment 15 Owen Taylor 2002-05-21 23:00:03 UTC
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.
Comment 16 Luis Villa 2002-05-22 03:47:49 UTC
eazel-themes, FWIW... we should probably change the names :)
Comment 17 Andrew Sobala 2002-05-23 22:10:11 UTC
*** Bug 82785 has been marked as a duplicate of this bug. ***
Comment 18 Mark McLoughlin 2002-05-24 05:47:45 UTC
*** Bug 76651 has been marked as a duplicate of this bug. ***
Comment 19 Mark McLoughlin 2002-05-24 05:51:34 UTC
*** Bug 82782 has been marked as a duplicate of this bug. ***
Comment 20 Luis Villa 2002-05-26 07:52:30 UTC
*** Bug 82998 has been marked as a duplicate of this bug. ***
Comment 21 Luis Villa 2002-05-26 07:52:47 UTC
*** Bug 83027 has been marked as a duplicate of this bug. ***
Comment 22 Seth Nickell 2002-05-26 07:57:58 UTC
Applied Owen's patch, re-open if that doesn't fix it (I'm having GTK
compilation problems so I can't test)
Comment 23 Janus N. Tøndering 2002-05-26 11:17:57 UTC
I tested the patch too and it works here.
Comment 24 Luis Villa 2002-05-31 01:56:52 UTC
*** Bug 83477 has been marked as a duplicate of this bug. ***