GNOME Bugzilla – Bug 677963
screen: crash while switching tabs
Last modified: 2012-10-11 11:14:51 UTC
Created attachment 216217 [details] stacktrace Here is a crash I got while playing with for i in `seq 1 20` ; do gnome-control-center universal-access & gnome-control-center screen & done
Created attachment 216218 [details] [review] screen: Avoid accessing destroyed panel When we cancel the Brightness calls because the panel is getting destroyed, we shouldn't try to access panel widgets.
Created attachment 216219 [details] [review] screen: Avoid accessing destroyed panel When we cancel the Brightness calls because the panel is getting destroyed, we shouldn't try to access panel widgets.
Testing appreciated with this one.
Review of attachment 216219 [details] [review]: ::: panels/screen/cc-screen-panel.c @@ +95,3 @@ if (priv->cancellable != NULL) { + g_cancellable_cancel (priv->cancellable); This looks good and should make get all outstanding dbus calls canceled @@ +459,3 @@ GtkWidget *widget; + g_object_add_weak_pointer (G_OBJECT (self), (gpointer *) &self); This looks dubious to me - the self pointer here is not the same as the one in get_brightness_cb, I don't think...
Created attachment 226251 [details] [review] screen: Avoid accessing destroyed panel When we cancel the Brightness calls because the panel is getting destroyed, we shouldn't try to access panel widgets.
Attachment 226251 [details] pushed as 39bde7a - screen: Avoid accessing destroyed panel