GNOME Bugzilla – Bug 100197
gnome-panel crashes on start
Last modified: 2004-12-22 21:47:04 UTC
Package: gnome-panel Severity: blocker Version: 2.1.3 Synopsis: gnome-panel crashes on start Bugzilla-Product: gnome-panel Bugzilla-Component: Panel BugBuddy-GnomeVersion: 2.0 (2.1.2) Description: Description of Problem: gnome-panel crashes on start. Steps to reproduce the problem: 1. launch gnome 2. gnome-panel crashes 3. Actual Results: gnome-panel crashes whenever I try to launch it with the following errors: ** (gnome-panel:18272): WARNING **: Unable to monitor XML document. Notification of changes in recent documents list will not beavailable. (gnome-panel:18272): GLib-GObject-WARNING **: invalid cast from (NULL) pointer to `GdkDrawable' Expected Results: 2.1.2 worked for a few days without problem. I tried recompiling 2.1.2 and 2.1.3, but the error persists. How often does this happen? The crash happens every time I try to launch the panel. Additional Information: I get two errors with 2.1.2 and 2.1.3: ** (gnome-panel:18272): WARNING **: Unable to monitor XML document. Notification of changes in recent documents list will not beavailable. (gnome-panel:18272): GLib-GObject-WARNING **: invalid cast from (NULL) pointer to `GdkDrawable' 2.1.3 worked for awhile. I upgraded control-center to the most recent version just before the errors started. I don't know if that has anything to do with the panel crashing. I will install gdb to see if I can get more useful information. ------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-12-02 23:04 ------- The original reporter (jimdscottesq@yahoo.com) of this bug does not have an account here. Reassigning to the exporter, unknown@bugzilla.gnome.org. Reassigning to the default owner of the component, gnome-panel-maint@bugzilla.gnome.org.
Created attachment 12728 [details] backtrace of crash
Just posting the backtrace into the main bug report so that it can be searched using the simple-dup-finder or other queries... Backtrace was generated from '/usr/local/bin/gnome-panel' [New Thread 1024 (LWP 20389)] 0x40b4be29 in __wait4 () at __wait4:-1 in __wait4
+ Trace 31268
Appears to be a unique stack trace from the simple-dup-finder. Marking severity->critical (it's a crasher), setting version->2.1.x, adding GNOMEVER2.1 and bugsquad keywords, and marking as new.
Looks similar to bug #99205.
I removed the 0000001 key from .gconf/apps/panel/profiles/default/panels and that allowed the panel to restart. The %gconf.xml file looked like this: <?xml version="1.0"?> <gconf><entry name="panel_background_pixmap_stretch" mtime="1039132730" schema="/schemas/apps/panel/default_profiles/medium/panels/00000001/panel_background_pixmap_stretch" muser="jim" type="bool" value="false"/><entry name="panel_background_pixmap_rotate" mtime="1029455568" schema="/schemas/apps/panel/default_profiles/medium/panels/00000001/panel_background_pixmap_rotate" muser="jim"/><entry name="panel_background_pixmap_fit" mtime="1029455568" schema="/schemas/apps/panel/default_profiles/medium/panels/00000001/panel_background_pixmap_fit" muser="jim"/><entry name="screen_edge" mtime="1029455568" schema="/schemas/apps/panel/default_profiles/medium/panels/00000001/screen_edge" muser="jim"/><entry name="panel_background_color" mtime="1029455568" schema="/schemas/apps/panel/default_profiles/medium/panels/00000001/panel_background_color" muser="jim"/><entry name="panel_background_type" mtime="1029455568" schema="/schemas/apps/panel/default_profiles/medium/panels/00000001/panel_background_type" muser="jim"/><entry name="hide_buttons_enabled" mtime="1029455568" schema="/schemas/apps/panel/default_profiles/medium/panels/00000001/hide_buttons_enabled" muser="jim"/><entry name="panel_hide_mode" mtime="1029455568" schema="/schemas/apps/panel/default_profiles/medium/panels/00000001/panel_hide_mode" muser="jim"/><entry name="panel_background_pixmap" mtime="1029455568" schema="/schemas/apps/panel/default_profiles/medium/panels/00000001/panel_background_pixmap" muser="jim"/><entry name="screen_id" mtime="1029455568" schema="/schemas/apps/panel/default_profiles/medium/panels/00000001/screen_id" muser="jim"/><entry name="panel_hide_state" mtime="1029455568" schema="/schemas/apps/panel/default_profiles/medium/panels/00000001/panel_hide_state" muser="jim"/><entry name="hide_button_pixmaps_enabled" mtime="1029455568" schema="/schemas/apps/panel/default_profiles/medium/panels/00000001/hide_button_pixmaps_enabled" muser="jim"/><entry name="panel_type" mtime="1029455568" schema="/schemas/apps/panel/default_profiles/medium/panels/00000001/panel_type" muser="jim"/><entry name="panel_size" mtime="1029455568" schema="/schemas/apps/panel/default_profiles/medium/panels/00000001/panel_size" muser="jim"/></gconf>
This should be fixed in 2.1.4. We no longer reference widget->window unless the applet has been realized.