GNOME Bugzilla – Bug 361804
Metacity crashed on changing workspaces from 16 to 36
Last modified: 2008-07-13 22:22:58 UTC
That bug has been opened on https://launchpad.net/distros/ubuntu/+source/metacity/+bug/64818 "On increasing the number of workspaces from 16 to 36, metacity crashed. steps : 1. In gnome panel, use Workspace Switcher Applet 2. Go to preferences, and increase num from 16 to 36 3. metacity crashes http://librarian.launchpad.net/4707965/_usr_bin_metacity.99999.crash Crash file ... ExecutablePath: /usr/bin/metacity Package: metacity 1:2.16.3-0ubuntu2 ProcCmdline: /usr/bin/metacity --sm-client-id=default0 ... > Thanks for your bug. How did you change the number of workspace, with the keyboard or by clicking? Could you install metacity-dbgsym from "deb http://people.ubuntu.com/~pitti/ddebs edgy main" and get a backtrace with it? ... I changed it by clicking on the up-arrow. BTW, I saw the crash again while scaling down from 36 to 16 workspaces. ... http://librarian.launchpad.net/4794019/Stacktrace apport-retrace backtrace ...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". Core was generated by `/usr/bin/metacity --sm-client-id=default0'. Program terminated with signal 11, Segmentation fault.
+ Trace 76050
The submitter doesn't get the problem with edgy (GNOME 2.16.1), I've closed the Ubuntu bug, you might want to close that bug too
New Ubuntu bug with edgy: https://launchpad.net/distros/ubuntu/+source/metacity/+bug/76203
Sebastien: How is ubuntu #76203 a duplicate of ubuntu #64818? The former was about crash on launch while the latter was about crash when changing the number of workspaces. I didn't notice any other information that would suggest the two are duplicates, though perhaps I missed something?
The backtrace from #76203 looks the same (using apport-retrace with debug packages installed to get a debug backtrace): "...
+ Trace 96094
The crashes are stored to /var/crash and an icon is displayed to the notification area when a crash file has been placed there. The description looks like that the user noticed the icon signaling the crash after login, not that the crash itself happened then
New ubuntu bug about that with GNOME 2.17: https://launchpad.net/ubuntu/+source/metacity/+bug/86436
Created attachment 86071 [details] [review] I think this patch (against trunk, shouldn't be hard to backport) will fix the crash Trying to look for something that could cause a crash with this stack trace, I think the above patch catches the problem (trying to free an array of lists as well as the lists, when they've already been freed). Any chance you could test and verify? For some reason, I had a hard time duplicating.
Duplicate on GNOME 2.20 https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/144527
The patch is common sense, and causes no apparent problems, so I've committed it. Let's see whether we get anyone reporting it again. Until then, unless anyone can tell us how to reproduce the problem so we can say for sure, I think we can tentatively say it's fixed.