Can you get a gdb backtrace?
(Run "gdb python", then "run name_of_script.py", cause it to crash, and
type "bt" in gdb console...)
Mike
Fabrice Silva wrote:
> hi folks,
> even on simple script, matplotlib crashes :
> fab:$ python
> Python 2.5.5 (r255:77872, Apr 21 2010, 08:44:16)
> [GCC 4.4.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import matplotlib.pyplot as plt
> >>> plt.plot([4,2,8])
> /usr/lib/pymodules/python2.5/matplotlib/backends/backend_gtk.py:621: DeprecationWarning: Use the new widget gtk.Tooltip
> self.tooltips = gtk.Tooltips()
> [<matplotlib.lines.Line2D object at 0xa02ff4c>]
> >>> plt.show()
> Instruction non permise
>
> The crash occurs when the mouse enters (if previously outside) and moves
> (if previously inside) in the figure.
> I am using debian unstable package (0.99.1-1) and admit I have try to
> manually modify the gtk backend to resolve the ginput bug (due to
> changes in stop_event signature, solved by r8531 but not in debian
> package). Since then the crash occurs automatically. Even a complete
> remove/purge/install of the package does not solve the problem.
>
> Any idea? Matplotlib's developers? Sandro (Debian maintainer) ?
>
>
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
|