So the attached patch against gtk+ outlines what we *may* need to do. The 
problem seems to be that
when python calls destroy() on a object it may not actually be destroyed yet 
because the pygi part still
has references. So we need to move the actual cleanup into the finalize 
functions instead of into destroy.

This is is line with what other widgets are doing, e.g.:
   GtkWidget *button = gtk_image_new();
   gtk_widget_destroy(button);
   gtk_button_set_label(button, "foo");

causes a warning but not a crash.

** Patch added: "possible fix?"
   
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/938090/+attachment/3058169/+files/gtk-image-finalize.diff

-- 
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

Reply via email to