New submission from Martin Mokrejs:

Hi,
  it happened to me that using faulthandler and python compiled with 
--with-pydebug and C*FLAGS=-ggdb I got this stacktrace (will attach longer 
version as a file):


(gdb) where
#0  0x00007f0e3af8aacb in raise () from /lib64/libpthread.so.0
#1  0x00007f0e3a0b05f6 in faulthandler_fatal_error (signum=6) at 
faulthandler.c:321
#2  <signal handler called>
#3  0x00007f0e3ac061f5 in raise () from /lib64/libc.so.6
#4  0x00007f0e3ac0766b in abort () from /lib64/libc.so.6
#5  0x00007f0e3b327828 in Py_FatalError (msg=0x7f0e3b373232 "bad leading pad 
byte") at 
/mnt/1TB/var/tmp/portage/dev-lang/python-2.7.5-r2/work/Python-2.7.5/Python/pythonrun.c:1689
#6  0x00007f0e3b257dc8 in _PyObject_DebugCheckAddressApi (api=111 'o', 
p=0x449e6900) at 
/mnt/1TB/var/tmp/portage/dev-lang/python-2.7.5-r2/work/Python-2.7.5/Objects/obmalloc.c:1591
#7  0x00007f0e3b257a6c in _PyObject_DebugFreeApi (api=111 'o', p=0x449e6900) at 
/mnt/1TB/var/tmp/portage/dev-lang/python-2.7.5-r2/work/Python-2.7.5/Objects/obmalloc.c:1478
#8  0x00007f0e3b257913 in _PyObject_DebugFree (p=0x449e6900) at 
/mnt/1TB/var/tmp/portage/dev-lang/python-2.7.5-r2/work/Python-2.7.5/Objects/obmalloc.c:1422
#9  0x00007f0e3b34319a in PyObject_GC_Del (op=0x449e6920) at 
/mnt/1TB/var/tmp/portage/dev-lang/python-2.7.5-r2/work/Python-2.7.5/Modules/gcmodule.c:1561
#10 0x00007f0e3b275ef7 in tupledealloc (op=0x449e6920) at 
/mnt/1TB/var/tmp/portage/dev-lang/python-2.7.5-r2/work/Python-2.7.5/Objects/tupleobject.c:235
#11 0x00007f0e3b255bac in _Py_Dealloc (op=(True,)) at 
/mnt/1TB/var/tmp/portage/dev-lang/python-2.7.5-r2/work/Python-2.7.5/Objects/object.c:2262
#12 0x00007f0e3b246d77 in dict_dealloc (mp=0x449b5d80) at 
/mnt/1TB/var/tmp/portage/dev-lang/python-2.7.5-r2/work/Python-2.7.5/Objects/dictobject.c:1010
#13 0x00007f0e3b255bac in _Py_Dealloc (op=
    {'_label': <unknown at remote 0x449dd4b8>, '_facecolors_original': (<float 
at remote 0xb65dd38>, <float at remote 0x5034630>, <float at remote 
0xb3c6af8>), '_transform': <unknown at remote 0x449e6b50>, 'figure': 
<Figure(_label='', _transform=None, figure=None, _axobservers=[], images=[], 
texts=[], _hold=True, artists=[], _agg_filter=None, patch=<Rectangle(_label='', 
_transform=<BboxTransformTo(_invalid=2, _inverted=<Affine2D(_invalid=0, 
_inverted=None, _mtx=<numpy.ndarray at remote 0xd5bc6ec0>, _shorthand_name='', 
_parents=<WeakValueDictionary(_remove=<function at remote 0xbf7d060>, data={}) 
at remote 0x129fbdf8>) at remote 0xd5bb0300>, 
_boxout=<TransformedBbox(_invalid=2, _transform=<Affine2D(_invalid=2, 
_inverted=None, _mtx=<numpy.ndarray at remote 0xd5bad540>, _shorthand_name='', 
_parents=<WeakValueDictionary(_remove=<function at remote 0xc166450>, 
data={741848704: <KeyedRef at remote 0x40290a80>, 405520480: <KeyedRef at 
remote 0x29e86b10>, 322803328: <KeyedRef at remote 0x29e
 86570>, 3585872752: <KeyedRef ...(truncated)) at 
/mnt/1TB/var/tmp/portage/dev-lang/python-2.7.5-r2/work/Python-2.7.5/Objects/object.c:2262
#14 0x00007f0e3b27ad3d in subtype_dealloc (
    self=<PathCollection(_label=<unknown at remote 0x449dd4b8>, 
_facecolors_original=(<float at remote 0xb65dd38>, <float at remote 0x5034630>, 
<float at remote 0xb3c6af8>), _transform=<unknown at remote 0x449e6b50>, 
figure=<Figure(_label='', _transform=None, figure=None, _axobservers=[], 
images=[], texts=[], _hold=True, artists=[], _agg_filter=None, 
patch=<Rectangle(_label='', _transform=<BboxTransformTo(_invalid=2, 
_inverted=<Affine2D(_invalid=0, _inverted=None, _mtx=<numpy.ndarray at remote 
0xd5bc6ec0>, _shorthand_name='', 
_parents=<WeakValueDictionary(_remove=<function at remote 0xbf7d060>, data={}) 
at remote 0x129fbdf8>) at remote 0xd5bb0300>, 
_boxout=<TransformedBbox(_invalid=2, _transform=<Affine2D(_invalid=2, 
_inverted=None, _mtx=<numpy.ndarray at remote 0xd5bad540>, _shorthand_name='', 
_parents=<WeakValueDictionary(_remove=<function at remote 0xc166450>, 
data={741848704: <KeyedRef at remote 0x40290a80>, 405520480: <KeyedRef at 
remote 0x29e86b10>, 322803328: <KeyedRef at remo
 te 0x29e86570>, 3585872752: <KeyedR...(truncated)) at 
/mnt/1TB/var/tmp/portage/dev-lang/python-2.7.5-r2/work/Python-2.7.5/Objects/typeobject.c:1015
#15 0x00007f0e3b255bac in _Py_Dealloc (
    op=<PathCollection(_label=<unknown at remote 0x449dd4b8>, 
_facecolors_original=(<float at remote 0xb65dd38>, <float at remote 0x5034630>, 
<float at remote 0xb3c6af8>), _transform=<unknown at remote 0x449e6b50>, 
figure=<Figure(_label='', _transform=None, figure=None, _axobservers=[], 
images=[], texts=[], _hold=True, artists=[], _agg_filter=None, 
patch=<Rectangle(_label='', _transform=<BboxTransformTo(_invalid=2, 
_inverted=<Affine2D(_invalid=0, _inverted=None, _mtx=<numpy.ndarray at remote 
0xd5bc6ec0>, _shorthand_name='', 
_parents=<WeakValueDictionary(_remove=<function at remote 0xbf7d060>, data={}) 
at remote 0x129fbdf8>) at remote 0xd5bb0300>, 
_boxout=<TransformedBbox(_invalid=2, _transform=<Affine2D(_invalid=2, 
_inverted=None, _mtx=<numpy.ndarray at remote 0xd5bad540>, _shorthand_name='', 
_parents=<WeakValueDictionary(_remove=<function at remote 0xc166450>, 
data={741848704: <KeyedRef at remote 0x40290a80>, 405520480: <KeyedRef at 
remote 0x29e86b10>, 322803328: <KeyedRef at remote
  0x29e86570>, 3585872752: <KeyedR...(truncated)) at 
/mnt/1TB/var/tmp/portage/dev-lang/python-2.7.5-r2/work/Python-2.7.5/Objects/object.c:2262
#16 0x00007f0e3b230841 in list_dealloc (op=0x1d1740d8) at 
/mnt/1TB/var/tmp/portage/dev-lang/python-2.7.5-r2/work/Python-2.7.5/Objects/listobject.c:309
#17 0x00007f0e3b255bac in _Py_Dealloc (
    op=[<PathCollection(_label='_collection0', _facecolors_original=(<float at 
remote 0x5034630>, <float at remote 0xc489d80>, <float at remote 0xc568ab8>), 
_transform=<IdentityTransform(_invalid=1, _inverted=None, _shorthand_name='', 
_parents=<WeakValueDictionary(_remove=<function at remote 0xbf7d840>, data={}) 
at remote 0x129fb510>) at remote 0x1201cd10>, figure=<Figure(_label='', 
_transform=None, figure=None, _axobservers=[], images=[], texts=[], _hold=True, 
artists=[], _agg_filter=None, patch=<Rectangle(_label='', 
_transform=<BboxTransformTo(_invalid=2, _inverted=<Affine2D(_invalid=0, 
_inverted=None, _mtx=<numpy.ndarray at remote 0xd5bc6ec0>, _shorthand_name='', 
_parents=<WeakValueDictionary(_remove=<function at remote 0xbf7d060>, data={}) 
at remote 0x129fbdf8>) at remote 0xd5bb0300>, 
_boxout=<TransformedBbox(_invalid=2, _transform=<Affine2D(_invalid=2, 
_inverted=None, _mtx=<numpy.ndarray at remote 0xd5bad540>, _shorthand_name='', 
_parents=<WeakValueDictionary(_remove=<function a
 t remote 0xc166450>, data={741848...(truncated)) at 
/mnt/1TB/var/tmp/portage/dev-lang/python-2.7.5-r2/work/Python-2.7.5/Objects/object.c:2262
#18 0x00007f0e3b245789 in insertdict_by_entry (mp=0x17e2a9c0, 
key='collections', hash=5674278088882554420, ep=0x103a7dc0, value=[]) at 
/mnt/1TB/var/tmp/portage/dev-lang/python-2.7.5-r2/work/Python-2.7.5/Objects/dictobject.c:519
#19 0x00007f0e3b245a5b in insertdict (mp=0x17e2a9c0, key='collections', 
hash=5674278088882554420, value=[]) at 
/mnt/1TB/var/tmp/portage/dev-lang/python-2.7.5-r2/work/Python-2.7.5/Objects/dictobject.c:556
#20 0x00007f0e3b246326 in dict_set_item_by_hash_or_entry (op=0x0, 
key='collections', hash=5674278088882554420, ep=0x0, value=[]) at 
/mnt/1TB/var/tmp/portage/dev-lang/python-2.7.5-r2/work/Python-2.7.5/Objects/dictobject.c:765
#21 0x00007f0e3b2464be in PyDict_SetItem (
    op={'transLimits': <BboxTransformFrom(_invalid=2, 
_boxin=<TransformedBbox(_invalid=2, _transform=<TransformWrapper(_invalid=0, 
transform_path_affine=<instancemethod at remote 0xbad73e0>, input_dims=2, 
transform_path=<instancemethod at remote 0x17f47d60>, transform=<instancemethod 
at remote 0xd511bee0>, transform_affine=<instancemethod at remote 0x1e0e0260>, 
inverted=<instancemethod at remote 0x17f47ce0>, 
_child=<BlendedAffine2D(_invalid=1, _y=<IdentityTransform(_invalid=1, 
_inverted=None, _shorthand_name='', 
_parents=<WeakValueDictionary(_remove=<function at remote 0x10c92648>, 
data={315699008: <KeyedRef at remote 0xbd63a80>}) at remote 0x350f5df8>) at 
remote 0x2c360bc0>, _x=<IdentityTransform(_invalid=1, _inverted=None, 
_shorthand_name='', _parents=<WeakValueDictionary(_remove=<function at remote 
0x145ff990>, data={315699008: <KeyedRef at remote 0xbd63720>}) at remote 
0xbfde2b8>) at remote 0x2c36c680>, _inverted=None, _mtx=None, 
_shorthand_name='', _parents=<WeakValueDictionary(
 _remove=<function at remote 0x10c...(truncated), key='collections', value=[]) 
at 
/mnt/1TB/var/tmp/portage/dev-lang/python-2.7.5-r2/work/Python-2.7.5/Objects/dictobject.c:818

It was drawing a chart using matplotlib-1.2.1. Is this a python or matplotlib 
bug? I shortened the gdb stacktrace hoping you don't need the rest.

----------
files: bad_leading_pad_byte_14028_shortened.txt
messages: 196222
nosy: mmokrejs
priority: normal
severity: normal
status: open
title: Py_FatalError (msg=0x7f0e3b373232 "bad leading pad byte") at 
Python-2.7.5/Python/pythonrun.c:1689
type: crash
versions: Python 2.7
Added file: 
http://bugs.python.org/file31474/bad_leading_pad_byte_14028_shortened.txt

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18843>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to