GNOME Bugzilla – Bug 403377
[PATCH] Frequent gnome-panel applet crashes on startup
Last modified: 2008-03-09 09:21:36 UTC
When starting gnome-panel at startup I often get like Backtrace was generated from '/usr/libexec/WindowNavigationApplets' ...
+ Trace 107230
This turns out to be caused by a missing NULL check of active_space in wnck_pager_draw_workspace(). The problem is fixed by the patch below: diff -u -r1.59 pager.c --- libwnck/pager.c 2 Dec 2006 11:47:25 -0000 1.59 +++ libwnck/pager.c 1 Feb 2007 21:29:00 -0000 @@ -930,7 +930,7 @@ GDK_RGB_DITHER_MAX, 0, 0); } - else + else if (active_space) { int vx, vy, vw, vh; /* viewport */ double width_ratio, height_ratio;
Ubuntu bug with a crash similar to the one described: https://launchpad.net/bugs/98734 "[apport] gnome-panel crashed with SIGSEGV in wnck_workspace_get_width() ... Binary package hint: gnome-panel Feisty Beta with compiz effects turn off ... libwnck18 2.18.0-0ubuntu1 ... .
+ Trace 123347
Thread 1 (process 6980)
Hi Kim, That patch looks fine to me; go ahead and apply. (Please make sure to also use -p in the future when making patches.) Thanks!
I don't have commit access...
Okay, I committed it. Thanks for the fix! :) 2007-04-15 Elijah Newren <newren gmail com> Patch from Kim Woelders to fix #403377 (crash on startup). * libwnck/pager.c (wnck_pager_draw_workspace): avoid a crash when there is no active workspace yet
*** Bug 360742 has been marked as a duplicate of this bug. ***
*** Bug 432554 has been marked as a duplicate of this bug. ***
*** Bug 441728 has been marked as a duplicate of this bug. ***
*** Bug 441727 has been marked as a duplicate of this bug. ***
*** Bug 442969 has been marked as a duplicate of this bug. ***
*** Bug 442976 has been marked as a duplicate of this bug. ***
*** Bug 445791 has been marked as a duplicate of this bug. ***
*** Bug 454589 has been marked as a duplicate of this bug. ***
*** Bug 455145 has been marked as a duplicate of this bug. ***
*** Bug 459786 has been marked as a duplicate of this bug. ***
*** Bug 467028 has been marked as a duplicate of this bug. ***
*** Bug 461124 has been marked as a duplicate of this bug. ***
*** Bug 470130 has been marked as a duplicate of this bug. ***
*** Bug 480659 has been marked as a duplicate of this bug. ***
*** Bug 486213 has been marked as a duplicate of this bug. ***
*** Bug 494545 has been marked as a duplicate of this bug. ***
*** Bug 505927 has been marked as a duplicate of this bug. ***
*** Bug 506143 has been marked as a duplicate of this bug. ***
*** Bug 506875 has been marked as a duplicate of this bug. ***
*** Bug 506880 has been marked as a duplicate of this bug. ***
*** Bug 511806 has been marked as a duplicate of this bug. ***
*** Bug 521313 has been marked as a duplicate of this bug. ***
*** Bug 521314 has been marked as a duplicate of this bug. ***
*** Bug 521315 has been marked as a duplicate of this bug. ***
*** Bug 521316 has been marked as a duplicate of this bug. ***
*** Bug 521318 has been marked as a duplicate of this bug. ***
*** Bug 521319 has been marked as a duplicate of this bug. ***