Having upgraded to 2.5, I get a segfault when running a very simple plot script (test.py) at the show() function. Prior to show() I can save to file and the result looks good. The GUI is crashing on show().
Any suggestions to fix welcome (I’m guessing many of you know the solution to this problem).
“Annoying” debug information below:
Thanks!
-Matt
hostname:~/.matplotlib>cat test.py
from pylab import *
plot([1,2,3])
show()
hostname:~/.matplotlib>python test.py --verbose-debug-annoying -dTkAgg
matplotlib data path …/python2.5/site-packages/matplotlib/mpl-data
$HOME=/home/username
loaded rc file /home/username/.matplotlib/matplotlibrc
matplotlib version 0.90.0
verbose.level debug-annoying
interactive is False
platform is linux2
loaded modules: [’_bisect’, ‘_sha512’, ‘pylab’, ‘datetime’, ‘matplotlib.tempfile
‘, ‘distutils.sysconfig’, ‘encodings.encodings’, ‘str
uct’, ‘tempfile’, ‘pytz.os’, ‘zipimport’, ‘string’, ‘matplotlib.future’, ‘pytz.tzinfo’, ’
pytz.datetime’, ‘distutils.re’, ‘bisect’
, ‘signal’, ‘random’, ‘matplotlib.pytz’, ‘locale’, ‘encodings’, ‘dateutil’, ’
matplotlib.warnings’, ‘pytz.pytz’, ‘matplotlib.sys’, ‘re
‘, ‘math’, ‘fcntl’, ‘UserDict’, ‘distutils.os’, ‘matplotlib’, ‘codecs’, ‘md5’, ‘_locale’, ’
matplotlib.os’, ‘thread’, ‘itertools’, ‘di
stutils.sys’, ‘os’, ‘future’, ‘_sre’, ‘builtin’, ‘matplotlib.re’, ‘operator’, ’
distutils.string’, ‘matplotlib.datetime’, ‘pos
ixpath’, ‘errno’, ‘binascii’, ‘sre_constants’, ‘_sha256’, ‘matplotlib.md5’, ‘types’, ‘pytz.sys’, ‘_codecs’, ‘pytz’, ‘copy’, ‘_struct’
, ‘_types’, ‘matplotlib.dateutil’, ‘hashlib’, ‘distutils’, ‘posix’, ‘encodings.aliases’, ‘exceptions’, ‘sre_parse’, ‘pytz.bisect’, 'd
istutils.distutils
‘, ‘copy_reg’, ‘sre_compile’, ‘_hashlib’, ‘_random’, ‘site’, ‘main’, ‘shutil’, ‘strop’, ‘encodings.codecs’, ‘ge
ttext’, ‘pytz.sets
‘, ‘stat’, ‘warnings’, ‘encodings.types’, ‘encodings.ascii’, ‘sys’, ‘os.path’, ‘pytz.gettext’, ‘matplotlib.distutil
s’, ‘distutils.errors’, ‘linecache’, ’
matplotlib.shutil’, ‘sets’]
numerix numarray 1.5.2
font search path [’…/python2.5/site-packages/matplotlib/mpl-data’]
trying fontname …/python2.5/site-packages/matplotlib/mpl-data/cmtt10.ttf
trying fontname …/python2.5/site-packages/matplotlib/mpl-data/VeraMoIt.ttf
trying fontname …/python2.5/site-packages/matplotlib/mpl-data/cmex10.ttf
trying fontname …/python2.5/site-packages/matplotlib/mpl-data/VeraBI.ttf
trying fontname …/python2.5/site-packages/matplotlib/mpl-data/VeraBd.ttf
trying fontname …/python2.5/site-packages/matplotlib/mpl-data/cmmi10.ttf
trying fontname …/python2.5/site-packages/matplotlib/mpl-data/VeraSeBd.ttf
trying fontname …/python2.5/site-packages/matplotlib/mpl-data/cmr10.ttf
trying fontname …/python2.5/site-packages/matplotlib/mpl-data/VeraMono.ttf
trying fontname …/python2.5/site-packages/matplotlib/mpl-data/cmsy10.ttf
trying fontname …/python2.5/site-packages/matplotlib/mpl-data/Vera.ttf
CONFIGDIR=/home/username/.matplotlib
loaded ttfcache file /home/username/.matplotlib/ttffont.cache
backend TkAgg version 8.5
FigureCanvasAgg.draw
RendererAgg.init
RendererAgg.init width=650.0, height=490.0
RendererAgg.init _RendererAgg done
RendererAgg.init done
RendererAgg._get_agg_font
findfont found sans-serif, normal, normal 400, normal, 12.0
findfont returning …/python2.5/site-packages/matplotlib/mpl-data/Vera.ttf
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg._get_agg_font
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg._get_agg_font
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg._get_agg_font
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
Segmentation fault (core dumped)
hostname:~/.matplotlib>