The following problem is appears on the upgrade of libgtk2.0-0 from 2.24.6-2 to 2.24.7-1.
It only occurs using the gtk backends (not qt,wx or tk).
Whenever I close a figure either by simply closing the window, or using
the close() function, a segmentation fault kills the python interpreter
and brings me back to the unix command line.
$ python
Python 2.7.2+ (default, Oct 5 2011, 10:41:47)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
<matplotlib.figure.Figure object at 0x3577950>
[close figure window]
/usr/lib/pymodules/python2.7/matplotlib/backends/backend_gtk.py:552: GtkWarning: IA__gtk_widget_unrealize: assertion `GTK_IS_WIDGET (widget)' failed
self.toolbar.destroy()
/usr/lib/pymodules/python2.7/matplotlib/backends/backend_gtk.py:552: GtkWarning: IA__gtk_widget_is_toplevel: assertion `GTK_IS_WIDGET (widget)' failed
self.toolbar.destroy()
Segmentation fault
$
similarly
<matplotlib.figure.Figure object at 0x3577950>
/usr/lib/pymodules/python2.7/matplotlib/backends/backend_gtk.py:552: GtkWarning: IA__gtk_widget_unrealize: assertion `GTK_IS_WIDGET (widget)' failed
self.toolbar.destroy()
/usr/lib/pymodules/python2.7/matplotlib/backends/backend_gtk.py:552: GtkWarning: IA__gtk_widget_is_toplevel: assertion `GTK_IS_WIDGET (widget)' failed
self.toolbar.destroy()
Segmentation fault
$