Python 2.7 Segfault on Debian 7 -



Python 2.7 Segfault on Debian 7 -

when run mod_wsgi app, segfault python. got debug symbols python, have no thought how python sources debian 7. when apt-get source python not actual python interpreter source files.

to begin with, getting crash within mod_wsgi code. after ran apt upgrade starting getting segfault json module. both segfaults occurred on line 788 of obmalloc.c in pyobject_malloc. if find proper source code figure out what's going on bit better!

here top few frames of backtrace:

#0 pyobject_malloc (nbytes=46) @ ../objects/obmalloc.c:788 #1 0x00007fffef3db145 in pystring_fromstringandsize.part.17 (size=<optimized out>, str=0x0) @ ../objects/stringobject.c:88 #2 pystring_fromstringandsize (str=str@entry=0x0, size=size@entry=9) @ ../objects/stringobject.c:57 #3 0x00007fffed57b644 in ascii_escape_str.2660 (pystr=pystr@entry='message') @ /home/jmm/py/python2.7-2.7.3/modules/_json.c:302 #4 0x00007fffed57d25e in py_encode_basestring_ascii (pystr='message', self=0x0) @ /home/jmm/py/python2.7-2.7.3/modules/_json.c:827 #5 encoder_encode_string.isra.4.part.5 (obj='message') @ /home/jmm/py/python2.7-2.7.3/modules/_json.c:1962 #6 encoder_encode_string.isra.4 (obj='message') @ /home/jmm/py/python2.7-2.7.3/modules/_json.c:1977 #7 encoder_listencode_dict (indent_level=<optimized out>, dct={'message': 'invalid params', 'code': -32602}, rval= ['{', '"jsonrpc"', ': ', '"2.0"', ', ', '"id"', ': ', '1', ', ', '"error"', ': ', '{'], s=0x555555d88758) @ /home/jmm/py/python2.7-2.7.3/modules/_json.c:2170 #8 encoder_listencode_obj.part.10.2731 (s=s@entry=0x555555d88758, rval=rval@entry=['{', '"jsonrpc"', ': ', '"2.0"', ', ', '"id"', ': ', '1', ', ', '"error"', ': ', '{'], obj=obj@entry= {'message': 'invalid params', 'code': -32602}, indent_level=indent_level@entry=0) @ /home/jmm/py/python2.7-2.7.3/modules/_json.c:2018

try apt-get source python2.7 getting source or substitute version care about. python bundle virtual bundle , contains no source.

python python-2.7 segmentation-fault debian mod-wsgi

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -