#646878 python-matplotlib: segfault on figure close with gtk backend

Package:
libgtk2.0-0
Source:
gtk+2.0
Description:
GTK graphical user interface library - old version
Submitter:
Kevin Mitchell
Date:
2011-10-31 10:30:30 UTC
Severity:
normal
#646878#5
Date:
2011-10-28 00:33:44 UTC
From:
To:
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
$

#646878#10
Date:
2011-10-31 10:27:35 UTC
From:
To:
reassign 646878 libgtk2.0-0 2.24.7-1
thanks

so I'm reassigning it to libgtk2