GNOME Bugzilla – Bug 315197
Opening "Add to Panel" dialog multiple times crashes
Last modified: 2005-09-09 22:45:45 UTC
Steps to reproduce: 1. Choose "Add to Panel..." from the right mouse menu. 2. Choose "Add to Panel..." again 3. crash Stack trace: Backtrace was generated from '/usr/bin/gnome-panel' (no debugging symbols found) Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (no debugging symbols found) `system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols. (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) [Thread debugging using libthread_db enabled] [New Thread -1224059200 (LWP 8494)] [New Thread -1231713360 (LWP 8495)] (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) (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) 0xffffe410 in __kernel_vsyscall ()
+ Trace 62717
Thread 1 (Thread -1224059200 (LWP 8494))
Other information: Not using any applets that didn't come from a Ubuntu package. The only non-standard applets in use is "Tomboy". This is on a prerelease Ubuntu Breezy Badger. Gnome version is 2.11.4, Panels version is 2.11.92
Not able to reproduce on stock ubuntu (Breezy Badger) packages (2.11.92 nor 2.12.0-ubuntu1)Could you please upgrade via upgrade-manager and see if it still happens?
unique stack trace.
Updated everything, it seems most of the gnome packages are 2.12.0-ubuntu1 now. This still has the same crash for me. I created a new user account to test and also saw the same problem. I checked the stack trace and it looks similar. Each thread has the same three functions right before <signal handler called>. I've saved it, but won't post it unless asked for. I am downloading a daily live snapshot today and will test with that tonight (12 hours from posting time, I am in PST). Bug buddy says I am now running version: GNOME2.12.0 2.12.x Apt says my gnome-panel is version: 2.12.0-0ubuntu1
Ok, able to reproduce on 2.12.0-ubuntu1, here's the stack trace: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 19682)] panel_addto_present (item=0x82e3df0, panel_widget=0x8145b18) at panel-addto.c:1488 1488 panel-addto.c: No such file or directory. in panel-addto.c (gdb) thread apply all bt
+ Trace 62743
Thread 1 (Thread 16384 (LWP 19682))
this dialog is an ubuntu patch, the uptream code doesn't crash. Ccing Emmanuel who work on that
Created attachment 52015 [details] [review] Bug fix This patch solves the bug by displaying a small GtkMessageDialog (with just a "Close" button) saying that another instance of the "add to panel" dialog is already open.
Manu: this is clearly wrong. Look at how this is done in the current panel code (in panel-addto.c): we just present the window again.
Created attachment 52037 [details] [review] Better bug fix Right :) Then it's even simpler ! Here's a new patch.