[Python-modules-team] Bug#646878: Bug#646878: python-matplotlib: segfault on figure close with gtk backend

Sandro Tosi morph at debian.org
Mon Oct 31 10:27:35 UTC 2011


reassign 646878 libgtk2.0-0 2.24.7-1
thanks

On Fri, Oct 28, 2011 at 02:33, Kevin Mitchell <kevmitch at math.sfu.ca> wrote:
> Package: python-matplotlib
> Version: 1.1.0-1
> Severity: normal
>
> The following problem is appears on the upgrade of libgtk2.0-0 from 2.24.6-2 to 2.24.7-1.

so I'm reassigning it to libgtk2

> 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.
>>>> import  matplotlib.pyplot as plt
>>>> plt.figure()
> <matplotlib.figure.Figure object at 0x3577950>
>>>> plt.show()
>
> [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
>>>> import  matplotlib.pyplot as plt
>>>> plt.ion()
>>>> plt.figure()
> <matplotlib.figure.Figure object at 0x3577950>
>>>> plt.close()
> /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
> $
>
>
> -- System Information:
> Debian Release: wheezy/sidimport matplotlib.pyplot as plt
>
>  APT prefers unstable
>  APT policy: (600, 'unstable'), (500, 'testing'), (400, 'stable'), (300, 'experimental')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 3.1.0.00 (SMP w/4 CPU cores)
> Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages python-matplotlib depends on:
> ii  libatk1.0-0             2.2.0-2
> ii  libc6                   2.13-21
> ii  libcairo2               1.10.2-6.1
> ii  libfontconfig1          2.8.0-3
> ii  libfreetype6            2.4.7-2
> ii  libgcc1                 1:4.6.2-1
> ii  libgdk-pixbuf2.0-0      2.24.0-1
> ii  libglib2.0-0            2.28.8-1
> ii  libgtk2.0-0             2.24.6-2
> ii  libpango1.0-0           1.29.4-2
> ii  libpng12-0              1.2.46-3
> ii  libstdc++6              4.6.2-1
> ii  python                  2.7.2-9
> ii  python-cairo            1.8.8-1+b2
> ii  python-dateutil         1.5-1
> ii  python-gobject          2.28.6-5
> ii  python-matplotlib-data  1.1.0-1
> ii  python-numpy            1:1.5.1-3
> ii  python-pyparsing        1.5.2-2
> ii  python-support          1.0.14
> ii  python-tz               2011h-1
> ii  tcl8.5                  8.5.10-1
> ii  tk8.5                   8.5.10-1
> ii  zlib1g                  1:1.2.3.4.dfsg-3
>
> Versions of packages python-matplotlib recommends:
> ii  python-glade2  2.24.0-2
> ii  python-tk      2.7.1-3
>
> Versions of packages python-matplotlib suggests:
> ii  dvipng                 1.14-1
> ii  ipython                0.10.2-1
> ii  librsvg2-common        2.34.1-3
> ii  python-configobj       4.7.2+ds-3
> ii  python-excelerator     <none>
> ii  python-gtk2            2.24.0-2
> ii  python-matplotlib-doc  1.1.0-1
> ii  python-qt3             <none>
> ii  python-qt4             4.8.3-4+b1
> ii  python-scipy           0.9.0+dfsg1-1+b2
> ii  python-traits          4.0.0-1
> ii  python-wxgtk2.8        2.8.12.1-2
> ii  texlive-extra-utils    <none>
> ii  texlive-latex-extra    2009-10
>
> -- no debconf information
>
>
>
> _______________________________________________
> Python-modules-team mailing list
> Python-modules-team at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
>



-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi





More information about the Python-modules-team mailing list