GNOME Bugzilla – Bug 58133
Window sizing CRITICAL/segfault
Last modified: 2011-02-04 16:09:32 UTC
Open the window sizing test in testgtk, then close the "window to size" and then the "size controls" window. This gives me: lt-testgtk (pid:29227): Gtk-CRITICAL **: file gtkwidget.c: line 1656 (gtk_widget_destroy): assertion `GTK_IS_WIDGET (widget)' failed and sometimes just a plain crash.
I strongly suspect this is just a simple bug in testgtk with it not watching for destroyed windows.
The problem here was that when you destroyed a window, you'd have a dangling pointer to the window. I fixed it by adding two signal handlers for the destroy signal so that closing one window always will close the other two.