GNOME Bugzilla – Bug 72296
Crash after remove panel [possibly related to window list?]
Last modified: 2004-12-22 21:47:04 UTC
Package: gnome-panel Severity: normal Version: 1.5.10 Synopsis: Crash after remove panel Bugzilla-Product: gnome-panel Bugzilla-Component: Panel BugBuddy-GnomeVersion: 2.0 (1.112.0) Description: Description of Problem: When attempting to remove one to the panels, the entire app crashes Steps to reproduce the problem: 1. run gnome-panel-2 2. right click on either panel 3. click on remove panel Actual Results: Seg Fault Expected Results: Chosen panel to no longer be running, but other panels to keep running How often does this happen? Every time it is tried Additional Information: Debugging Information: [New Thread 1024 (LWP 23947)] 0x4092ae29 in __wait4 () from /lib/libc.so.6
+ Trace 18166
Thread 1 (Thread 1024 (LWP 23947))
------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-02-22 16:33 ------- The original reporter (f.h.tiffany@larc.nasa.gov) 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.
Yes, reproducible every time, but only if that panel contains either tasklist or pager.
this now happens for me when I remove even an empty panel, but I get a completely different stack trace. Not sure if these are separate traces or not. Could someone take a look at this, please? [from CVS from 02-28] --- [New Thread 1024 (LWP 16514)] 0x40934e29 in __wait4 () from /lib/libc.so.6
+ Trace 18528
Thread 1 (Thread 1024 (LWP 16514))
*** Bug 73060 has been marked as a duplicate of this bug. ***
Adding Alex and Havoc to CC, as this may be libwnck bug, or at least tasklist. Change component if so. Panel windows are hidden from task list, and when you remove one panel window, libwnck tries to update it's visible state. panel does not have it's icon, nor tooltips, does it? From http://bugzilla.gnome.org/show_bug.cgi?id=73060 I see that cast fails here: gtk_image_set_from_pixbuf (GTK_IMAGE (task->image), pixbuf); or from this backtrace, it crashes here: gtk_tooltips_set_tip (task->tasklist->priv->tooltips, task->button, text, NULL); which one is NULL or invalid?
*** Bug 73852 has been marked as a duplicate of this bug. ***
in 73852, user got the same backtrace not removing a panel, just "Switched workspace (using keyboard shortcuts), and gnome-panel crashed."
*** Bug 74075 has been marked as a duplicate of this bug. ***
Possibly related to having a window list in the panel.
This still happens 100% repeatably.
Putting on libwnck so I can find it, if it turns out to not be libwnck then I'll give it back ;-)
2002-03-23 Havoc Pennington <hp@pobox.com> * libwnck/screen.c (wnck_screen_finalize): set screen pointer to NULL when the screen is finalized * libwnck/tasklist.c: fixes related to #72296 (wnck_tasklist_finalize): Assert that we have no remaining tasks. (wnck_task_popup_menu): use connect_object out of sheer paranoia (wnck_task_new_from_application): use connect_object for robustness (wnck_task_create_widgets): connect_object (wnck_tasklist_remove): unparent task->button, then unref task. This function was the actual cause of #72296 I believe. (wnck_task_create_widgets): add weak pointer for task->button