This diff will probably fix the crash but maybe not the root cause that
causes the icon_helper to be NULL - maybe a refcount problem?
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c
index fa87ea7..0c728af 100644
--- a/gtk/gtkimage.c
+++ b/gtk/gtkimage.c
@@ -1065,6 +1065,7 @@ GtkImageType
gtk_image_get_storage_type (GtkImage *image)
{
g_return_val_if_fail (GTK_IS_IMAGE (image), GTK_IMAGE_EMPTY);
+ g_return_val_if_fail (image->priv->icon_helper != NULL, GTK_IMAGE_EMPTY);
return _gtk_icon_helper_get_storage_type (image->priv->icon_helper);
}
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/938090
Title:
apport-gtk crashed with SIGSEGV in _gtk_icon_helper_get_storage_type()
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/938090/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs