Skip to content

Instantly share code, notes, and snippets.

@HelloZeroNet
Created May 22, 2015 10:08
Show Gist options
  • Save HelloZeroNet/e05b9cc3adc0e3548137 to your computer and use it in GitHub Desktop.
Save HelloZeroNet/e05b9cc3adc0e3548137 to your computer and use it in GitHub Desktop.
python-bitcoinlib random SIGSEGV
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff62452eb in BN_bin2bn () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#0 0x00007ffff62452eb in BN_bin2bn () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#1 0x00007ffff484e834 in ffi_call_unix64 () from /usr/lib/python2.7/lib-dynload/_ctypes.so
#2 0x00007ffff484e2af in ffi_call () from /usr/lib/python2.7/lib-dynload/_ctypes.so
#3 0x00007ffff483bfd1 in _call_function_pointer (argcount=3, resmem=0x7fffffffa8e0, restype=<optimized out>, atypes=<optimized out>, avalues=0x7fffffffa8b0,
pProc=0x7ffff62452a0 <BN_bin2bn>, flags=4353) at /home/jmm/py/python2.7-2.7.3/Modules/_ctypes/callproc.c:827
#4 _ctypes_callproc (pProc=pProc@entry=0x7ffff62452a0 <BN_bin2bn>, argtuple=argtuple@entry=
("TC\xdb\xc6_(8\x0ct\xdf\xc3i\xb5\xb9e\x03\x9f\x1c'\x07\xc2kg\xb5\x89\x99\xc8\xee\x10\xdc\x15\x1e", 32, -334573824), flags=4353, argtypes=< at remote 0x8d30a0>,
argtypes@entry=0x0, restype=restype@entry=<_ctypes.PyCSimpleType at remote 0xd78b00>, checker=checker@entry=0x0)
at /home/jmm/py/python2.7-2.7.3/Modules/_ctypes/callproc.c:1174
#5 0x00007ffff483c742 in PyCFuncPtr_call.3115 (self=0xce2e20, inargs=
("TC\xdb\xc6_(8\x0ct\xdf\xc3i\xb5\xb9e\x03\x9f\x1c'\x07\xc2kg\xb5\x89\x99\xc8\xee\x10\xdc\x15\x1e", 32, -334573824), kwds=0x0)
at /home/jmm/py/python2.7-2.7.3/Modules/_ctypes/_ctypes.c:3913
#6 0x00000000004aab70 in PyObject_Call (kw=0x0, arg=("TC\xdb\xc6_(8\x0ct\xdf\xc3i\xb5\xb9e\x03\x9f\x1c'\x07\xc2kg\xb5\x89\x99\xc8\xee\x10\xdc\x15\x1e", 32, -334573824), func=
<_FuncPtr(__name__='BN_bin2bn') at remote 0xce2e20>) at ../Objects/abstract.c:2529
#7 do_call (nk=<optimized out>, na=<optimized out>, pp_stack=0x7fffffffac80, func=<_FuncPtr(__name__='BN_bin2bn') at remote 0xce2e20>) at ../Python/ceval.c:4239
#8 call_function (oparg=<optimized out>, pp_stack=0x7fffffffac80) at ../Python/ceval.c:4044
#9 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#10 0x00000000004aad10 in fast_function (nk=<optimized out>, na=7, n=<optimized out>, pp_stack=0x7fffffffae60, func=<function at remote 0xd86c80>) at ../Python/ceval.c:4107
#11 call_function (oparg=<optimized out>, pp_stack=0x7fffffffae60) at ../Python/ceval.c:4042
#12 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#13 0x00000000004aad10 in fast_function (nk=<optimized out>, na=2, n=<optimized out>, pp_stack=0x7fffffffb040, func=<function at remote 0xd86500>) at ../Python/ceval.c:4107
#14 call_function (oparg=<optimized out>, pp_stack=0x7fffffffb040) at ../Python/ceval.c:4042
#15 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#16 0x00000000004aad10 in fast_function (nk=<optimized out>, na=2, n=<optimized out>, pp_stack=0x7fffffffb220, func=<function at remote 0xd86e60>) at ../Python/ceval.c:4107
#17 call_function (oparg=<optimized out>, pp_stack=0x7fffffffb220) at ../Python/ceval.c:4042
#18 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#19 0x00000000004aad10 in fast_function (nk=<optimized out>, na=3, n=<optimized out>, pp_stack=0x7fffffffb400, func=<function at remote 0xd8c2a8>) at ../Python/ceval.c:4107
#20 call_function (oparg=<optimized out>, pp_stack=0x7fffffffb400) at ../Python/ceval.c:4042
#21 PyEval_EvalFrameEx (f=f@entry=
Frame 0x113be20, for file src/Content/ContentManager.py, line 405, in verifyFile (self=<ContentManager(site=<Site(content_manager=<...>, peers={'185.74.37.145:15441': <Peer
at remote 0x7fffec1477d0>, '213.136.80.100:15441': <Peer at remote 0x10ccd70>, '77.135.126.114:15441': <Peer at remote 0xdb9870>, '73.172.13.154:15441': <Peer at remote 0xdb99b0
>, '173.59.4.201:15441': <Peer at remote 0xdb94b0>, '188.142.197.58:15441': <Peer at remote 0xdb92d0>, '109.113.22.165:15441': <Peer at remote 0x7fffec147910>, '176.46.27.195:15
441': <Peer at remote 0xdb6550>, '178.166.57.32:15441': <Peer at remote 0xdb9410>, '24.108.77.4:15441': <Peer at remote 0xdb9af0>, '2.1.62.76:15441': <Peer at remote 0xdb9c30>,
'178.238.41.134:15441': <Peer at remote 0xdb9d70>, '213.207.134.119:15441': <Peer at remote 0xfe1eb0>, '219.159.198.98:15441': <Peer at remote 0x10e2190>, '104.156.231.236:15441
': <Peer at remote 0xdb95f0>, '2.97.113.142:0': <Peer at remote 0xe3c370>, '185.74.38.164:15441': <Peer at remote 0xdb9370>, '82.13.204.114:154...(truncated),
throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#22 0x00000000004b1ef8 in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>, argcount=argcount@entry=3, kws=
0xeb1938, kwcount=0, defs=0xbaade8, defcount=1, closure=0x0) at ../Python/ceval.c:3253
#23 0x00000000004aaa98 in fast_function (nk=<optimized out>, na=3, n=<optimized out>, pp_stack=0x7fffffffb6a0, func=<function at remote 0xbb05f0>) at ../Python/ceval.c:4117
---
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff62452eb in BN_bin2bn () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#0 0x00007ffff62452eb in BN_bin2bn () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#1 0x00007ffff484e834 in ffi_call_unix64 () from /usr/lib/python2.7/lib-dynload/_ctypes.so
#2 0x00007ffff484e2af in ffi_call () from /usr/lib/python2.7/lib-dynload/_ctypes.so
#3 0x00007ffff483bfd1 in _call_function_pointer (argcount=3, resmem=0x7fffffff9e80, restype=<optimized out>, atypes=<optimized out>, avalues=0x7fffffff9e50,
pProc=0x7ffff62452a0 <BN_bin2bn>, flags=4353) at /home/jmm/py/python2.7-2.7.3/Modules/_ctypes/callproc.c:827
#4 _ctypes_callproc (pProc=pProc@entry=0x7ffff62452a0 <BN_bin2bn>, argtuple=argtuple@entry=
('Q\x97h6\xaeg\xcb\xd7\xfc\xdfI\x9f\xe3\x11\x88i\xbd\x87\xe2=\xe35!\x0esX\x15\xaa\x8c\x1a\xe3\xa2', 32, -335506608), flags=4353, argtypes=< at remote 0x8d30a0>,
argtypes@entry=0x0, restype=restype@entry=<_ctypes.PyCSimpleType at remote 0xd78b00>, checker=checker@entry=0x0)
at /home/jmm/py/python2.7-2.7.3/Modules/_ctypes/callproc.c:1174
#5 0x00007ffff483c742 in PyCFuncPtr_call.3115 (self=0xce2e20, inargs=
('Q\x97h6\xaeg\xcb\xd7\xfc\xdfI\x9f\xe3\x11\x88i\xbd\x87\xe2=\xe35!\x0esX\x15\xaa\x8c\x1a\xe3\xa2', 32, -335506608), kwds=0x0)
at /home/jmm/py/python2.7-2.7.3/Modules/_ctypes/_ctypes.c:3913
#6 0x00000000004aab70 in PyObject_Call (kw=0x0, arg=('Q\x97h6\xaeg\xcb\xd7\xfc\xdfI\x9f\xe3\x11\x88i\xbd\x87\xe2=\xe35!\x0esX\x15\xaa\x8c\x1a\xe3\xa2', 32, -335506608), func=
<_FuncPtr(__name__='BN_bin2bn') at remote 0xce2e20>) at ../Objects/abstract.c:2529
#7 do_call (nk=<optimized out>, na=<optimized out>, pp_stack=0x7fffffffa220, func=<_FuncPtr(__name__='BN_bin2bn') at remote 0xce2e20>) at ../Python/ceval.c:4239
#8 call_function (oparg=<optimized out>, pp_stack=0x7fffffffa220) at ../Python/ceval.c:4044
#9 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#10 0x00000000004aad10 in fast_function (nk=<optimized out>, na=7, n=<optimized out>, pp_stack=0x7fffffffa400, func=<function at remote 0xd86c80>) at ../Python/ceval.c:4107
#11 call_function (oparg=<optimized out>, pp_stack=0x7fffffffa400) at ../Python/ceval.c:4042
#12 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#13 0x00000000004aad10 in fast_function (nk=<optimized out>, na=2, n=<optimized out>, pp_stack=0x7fffffffa5e0, func=<function at remote 0xd86500>) at ../Python/ceval.c:4107
#14 call_function (oparg=<optimized out>, pp_stack=0x7fffffffa5e0) at ../Python/ceval.c:4042
#15 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#16 0x00000000004aad10 in fast_function (nk=<optimized out>, na=2, n=<optimized out>, pp_stack=0x7fffffffa7c0, func=<function at remote 0xd86e60>) at ../Python/ceval.c:4107
#17 call_function (oparg=<optimized out>, pp_stack=0x7fffffffa7c0) at ../Python/ceval.c:4042
#18 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#19 0x00000000004aad10 in fast_function (nk=<optimized out>, na=3, n=<optimized out>, pp_stack=0x7fffffffa9a0, func=<function at remote 0xd8c2a8>) at ../Python/ceval.c:4107
#20 call_function (oparg=<optimized out>, pp_stack=0x7fffffffa9a0) at ../Python/ceval.c:4042
#21 PyEval_EvalFrameEx (f=f@entry=
Frame 0x7fffec1fa030, for file plugins/Stats/StatsPlugin.py, line 363, in actionBenchmark (self=<UiRequest(log=<Logger(write=<function at remote 0xffa9b0>, name='Ui.UiServer', parent=<RootLogger(name='-', parent=None, handlers=[<FileHandler(stream=<file at remote 0x7ffff7e5ed20>, level=0, lock=<_RLock(_Verbose__verbose=False, _RLock__owner=None, _RLock__block=<thread.lock at remote 0x7ffff7f6e170>, _RLock__count=0) at remote 0x7ffff6d22e90>, encoding=None, _name=None, baseFilename='/home/sumo/zeronet/log/debug.log', mode='a', filters=[], formatter=<Formatter(datefmt=None, _fmt='[%(asctime)s] %(levelname)-8s %(name)s %(message)s') at remote 0x7ffff6d22ed0>) at remote 0x7ffff6d08550>, <StreamHandler(stream=<file at remote 0x7ffff7fc4270>, level=10, lock=<_RLock(_Verbose__verbose=False, _RLock__owner=None, _RLock__block=<thread.lock at remote 0x7ffff7f6e150>, _RLock__count=0) at remote 0x7ffff6d22f90>, _name=None, filters=[], formatter=<Formatter(datefmt='%H:%M:%S', _fmt='[%(asctime)s] %(name)s %(message)s') at ...(truncated),
throwflag=<optimized out>) at ../Python/ceval.c:2666
---
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff62452eb in BN_bin2bn () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#0 0x00007ffff62452eb in BN_bin2bn () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#1 0x00007ffff484e834 in ffi_call_unix64 () from /usr/lib/python2.7/lib-dynload/_ctypes.so
#2 0x00007ffff484e2af in ffi_call () from /usr/lib/python2.7/lib-dynload/_ctypes.so
#3 0x00007ffff483bfd1 in _call_function_pointer (argcount=3, resmem=0x7fffffffa940, restype=<optimized out>, atypes=<optimized out>, avalues=0x7fffffffa910,
pProc=0x7ffff62452a0 <BN_bin2bn>, flags=4353) at /home/jmm/py/python2.7-2.7.3/Modules/_ctypes/callproc.c:827
#4 _ctypes_callproc (pProc=pProc@entry=0x7ffff62452a0 <BN_bin2bn>, argtuple=argtuple@entry=
('\n\xa8\xd6?\x81#)\x16T\x88\xcb\xf2)\xbb\xbdBa\x8c}\xd5m\xae\xef<^4\x87\x87\xab\xb5\xe0\xbd', 32, -335487520), flags=4353, argtypes=< at remote 0x8d30a0>, argtypes@entry=
0x0, restype=restype@entry=<_ctypes.PyCSimpleType at remote 0xd78b00>, checker=checker@entry=0x0) at /home/jmm/py/python2.7-2.7.3/Modules/_ctypes/callproc.c:1174
#5 0x00007ffff483c742 in PyCFuncPtr_call.3115 (self=0xce2e20, inargs=
('\n\xa8\xd6?\x81#)\x16T\x88\xcb\xf2)\xbb\xbdBa\x8c}\xd5m\xae\xef<^4\x87\x87\xab\xb5\xe0\xbd', 32, -335487520), kwds=0x0)
at /home/jmm/py/python2.7-2.7.3/Modules/_ctypes/_ctypes.c:3913
#6 0x00000000004aab70 in PyObject_Call (kw=0x0, arg=('\n\xa8\xd6?\x81#)\x16T\x88\xcb\xf2)\xbb\xbdBa\x8c}\xd5m\xae\xef<^4\x87\x87\xab\xb5\xe0\xbd', 32, -335487520), func=
<_FuncPtr(__name__='BN_bin2bn') at remote 0xce2e20>) at ../Objects/abstract.c:2529
#7 do_call (nk=<optimized out>, na=<optimized out>, pp_stack=0x7ffffffface0, func=<_FuncPtr(__name__='BN_bin2bn') at remote 0xce2e20>) at ../Python/ceval.c:4239
#8 call_function (oparg=<optimized out>, pp_stack=0x7ffffffface0) at ../Python/ceval.c:4044
#9 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#10 0x00000000004aad10 in fast_function (nk=<optimized out>, na=7, n=<optimized out>, pp_stack=0x7fffffffaec0, func=<function at remote 0xd86c80>) at ../Python/ceval.c:4107
#11 call_function (oparg=<optimized out>, pp_stack=0x7fffffffaec0) at ../Python/ceval.c:4042
#12 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#13 0x00000000004aad10 in fast_function (nk=<optimized out>, na=2, n=<optimized out>, pp_stack=0x7fffffffb0a0, func=<function at remote 0xd86500>) at ../Python/ceval.c:4107
#14 call_function (oparg=<optimized out>, pp_stack=0x7fffffffb0a0) at ../Python/ceval.c:4042
#15 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#16 0x00000000004aad10 in fast_function (nk=<optimized out>, na=2, n=<optimized out>, pp_stack=0x7fffffffb280, func=<function at remote 0xd86e60>) at ../Python/ceval.c:4107
#17 call_function (oparg=<optimized out>, pp_stack=0x7fffffffb280) at ../Python/ceval.c:4042
#18 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#19 0x00000000004aad10 in fast_function (nk=<optimized out>, na=3, n=<optimized out>, pp_stack=0x7fffffffb460, func=<function at remote 0xd8c2a8>) at ../Python/ceval.c:4107
#20 call_function (oparg=<optimized out>, pp_stack=0x7fffffffb460) at ../Python/ceval.c:4042
#21 PyEval_EvalFrameEx (f=f@entry=
Frame 0x114fba0, for file src/Content/ContentManager.py, line 405, in verifyFile (self=<ContentManager(site=<Site(content_manager=<...>, peers={'213.136.80.100:15441': <Peer at remote 0x171ab90>, '77.135.126.114:15441': <Peer at remote 0x17222d0>, '73.172.13.154:15441': <Peer at remote 0x1722410>, '173.59.4.201:15441': <Peer at remote 0x171ae10>, '177.96.107.210:15441': <Peer at remote 0x17225f0>, '188.142.197.58:15441': <Peer at remote 0x171ac30>, '176.46.27.195:15441': <Peer at remote 0x10efa50>, '178.166.57.32:15441': <Peer at remote 0x171ad70>, '24.108.77.4:15441': <Peer at remote 0x1722550>, '178.238.41.134:15441': <Peer at remote 0xfe8550>, '213.207.134.119:15441': <Peer at remote 0x171a7d0>, '104.156.231.236:15441': <Peer at remote 0x171af50>, '66.49.210.154:15441': <Peer at remote 0x178ef50>, '82.13.204.114:15441': <Peer at remote 0x178eeb0>, '77.237.251.201:15441': <Peer at remote 0x1722230>, '88.184.111.173:15441': <Peer at remote 0x1722050>, '187.126.152.63:15441': <Peer at remote 0x171acd0>, '67.1...(truncated),
throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#22 0x00000000004b1ef8 in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>, argcount=argcount@entry=3, kws=
0x1072428, kwcount=0, defs=0xbaade8, defcount=1, closure=0x0) at ../Python/ceval.c:3253
#23 0x00000000004aaa98 in fast_function (nk=<optimized out>, na=3, n=<optimized out>, pp_stack=0x7fffffffb700, func=<function at remote 0xbb05f0>) at ../Python/ceval.c:4117
#24 call_function (oparg=<optimized out>, pp_stack=0x7fffffffb700) at ../Python/ceval.c:4042
#25 PyEval_EvalFrameEx (f=f@entry=
Frame 0x1072250, for file src/File/FileRequest.py, line 78, in actionUpdate (self=<FileRequest at remote 0x10c2d70>, params={'inner_path': 'data/users/1EwqWdnYp4Lf9ygmwieSjv86NawV9NKa5M/content.json', 'body': '{\n "files": {\n "data.json": {\n "sha512": "a81aef8dae78002f17ed3c333a805a44361e9dd3312eee437a5f04330430043d", \n "size": 16181\n }\n }, \n "modified": 1431925958.322855, \n "signs": {\n "1EwqWdnYp4Lf9ygmwieSjv86NawV9NKa5M": "Gwqo1j+BIykWVIjL8im7vUJhjH3Vba7vPF40h4erteC9A5O85uVeWGq0yCxsS2dSByPGAdnHimlKBgtANIl/js8="\n }\n}', 'peer': ['104.156.231.236', 15441], 'site': '1TaLk3zM7ZRskJvrh3ZNCDVGXvkJusPKQ'}, buff=<cStringIO.StringI at remote 0xd89ba0>),
throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
---
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff62c9e92 in BN_CTX_get () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#0 0x00007ffff62c9e92 in BN_CTX_get () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#1 0x00007ffff4995834 in ffi_call_unix64 () from /usr/lib/python2.7/lib-dynload/_ctypes.so
#2 0x00007ffff49952af in ffi_call () from /usr/lib/python2.7/lib-dynload/_ctypes.so
#3 0x00007ffff4982fd1 in _call_function_pointer (argcount=1, resmem=0x7fffffffa7a0, restype=<optimized out>, atypes=<optimized out>, avalues=0x7fffffffa780,
pProc=0x7ffff62c9e70 <BN_CTX_get>, flags=4353) at /home/jmm/py/python2.7-2.7.3/Modules/_ctypes/callproc.c:827
#4 _ctypes_callproc (pProc=pProc@entry=0x7ffff62c9e70 <BN_CTX_get>, argtuple=argtuple@entry=(-335052640,), flags=4353, argtypes=< at remote 0x8d30a0>,
argtypes@entry=0x0, restype=restype@entry=<_ctypes.PyCSimpleType at remote 0xefb5f0>, checker=checker@entry=0x0)
at /home/jmm/py/python2.7-2.7.3/Modules/_ctypes/callproc.c:1174
#5 0x00007ffff4983742 in PyCFuncPtr_call.3115 (self=0xf0c120, inargs=(-335052640,), kwds=0x0) at /home/jmm/py/python2.7-2.7.3/Modules/_ctypes/_ctypes.c:3913
#6 0x00000000004aab70 in PyObject_Call (kw=0x0, arg=(-335052640,), func=<_FuncPtr(__name__='BN_CTX_get') at remote 0xf0c120>) at ../Objects/abstract.c:2529
#7 do_call (nk=<optimized out>, na=<optimized out>, pp_stack=0x7fffffffab00, func=<_FuncPtr(__name__='BN_CTX_get') at remote 0xf0c120>) at ../Python/ceval.c:4239
#8 call_function (oparg=<optimized out>, pp_stack=0x7fffffffab00) at ../Python/ceval.c:4044
#9 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#10 0x00000000004aad10 in fast_function (nk=<optimized out>, na=7, n=<optimized out>, pp_stack=0x7ffffffface0, func=<function at remote 0xf06de8>)
at ../Python/ceval.c:4107
#11 call_function (oparg=<optimized out>, pp_stack=0x7ffffffface0) at ../Python/ceval.c:4042
#12 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#13 0x00000000004aad10 in fast_function (nk=<optimized out>, na=2, n=<optimized out>, pp_stack=0x7fffffffaec0, func=<function at remote 0xf06668>)
at ../Python/ceval.c:4107
#14 call_function (oparg=<optimized out>, pp_stack=0x7fffffffaec0) at ../Python/ceval.c:4042
#15 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#16 0x00000000004aad10 in fast_function (nk=<optimized out>, na=2, n=<optimized out>, pp_stack=0x7fffffffb0a0, func=<function at remote 0xf0b050>)
at ../Python/ceval.c:4107
#17 call_function (oparg=<optimized out>, pp_stack=0x7fffffffb0a0) at ../Python/ceval.c:4042
#18 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#19 0x00000000004aad10 in fast_function (nk=<optimized out>, na=3, n=<optimized out>, pp_stack=0x7fffffffb280, func=<function at remote 0xf0b398>)
at ../Python/ceval.c:4107
#20 call_function (oparg=<optimized out>, pp_stack=0x7fffffffb280) at ../Python/ceval.c:4042
#21 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#22 0x00000000004aad10 in fast_function (nk=<optimized out>, na=3, n=<optimized out>, pp_stack=0x7fffffffb460, func=<function at remote 0xd2f578>)
at ../Python/ceval.c:4107
#23 call_function (oparg=<optimized out>, pp_stack=0x7fffffffb460) at ../Python/ceval.c:4042
#24 PyEval_EvalFrameEx (f=f@entry=
Frame 0x1613ca0, for file src/Content/ContentManager.py, line 416, in verifyFile (self=<ContentManager(site=<Site(content_manager=<...>, peers={'188.142.197.58:1
---
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff62c7ceb in BN_CTX_start () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#0 0x00007ffff62c7ceb in BN_CTX_start () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#1 0x00007ffff4993834 in ffi_call_unix64 () from /usr/lib/python2.7/lib-dynload/_ctypes.so
#2 0x00007ffff49932af in ffi_call () from /usr/lib/python2.7/lib-dynload/_ctypes.so
#3 0x00007ffff4980fd1 in _call_function_pointer (argcount=1, resmem=0x7fffffffa980, restype=<optimized out>, atypes=<optimized out>, avalues=0x7fffffffa960,
pProc=0x7ffff62c7cd0 <BN_CTX_start>, flags=4353) at /home/jmm/py/python2.7-2.7.3/Modules/_ctypes/callproc.c:827
#4 _ctypes_callproc (pProc=pProc@entry=0x7ffff62c7cd0 <BN_CTX_start>, argtuple=argtuple@entry=(-335513312,), flags=4353, argtypes=< at remote 0x8d30a0>,
argtypes@entry=0x0, restype=restype@entry=<_ctypes.PyCSimpleType at remote 0xf85b90>, checker=checker@entry=0x0)
at /home/jmm/py/python2.7-2.7.3/Modules/_ctypes/callproc.c:1174
#5 0x00007ffff4981742 in PyCFuncPtr_call.3115 (self=0xf43120, inargs=(-335513312,), kwds=0x0) at /home/jmm/py/python2.7-2.7.3/Modules/_ctypes/_ctypes.c:3913
#6 0x00000000004aab70 in PyObject_Call (kw=0x0, arg=(-335513312,), func=<_FuncPtr(__name__='BN_CTX_start') at remote 0xf43120>) at ../Objects/abstract.c:2529
#7 do_call (nk=<optimized out>, na=<optimized out>, pp_stack=0x7ffffffface0, func=<_FuncPtr(__name__='BN_CTX_start') at remote 0xf43120>) at ../Python/ceval.c:4239
#8 call_function (oparg=<optimized out>, pp_stack=0x7ffffffface0) at ../Python/ceval.c:4044
#9 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#10 0x00000000004aad10 in fast_function (nk=<optimized out>, na=7, n=<optimized out>, pp_stack=0x7fffffffaec0, func=<function at remote 0xf3cde8>)
at ../Python/ceval.c:4107
#11 call_function (oparg=<optimized out>, pp_stack=0x7fffffffaec0) at ../Python/ceval.c:4042
#12 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#13 0x00000000004aad10 in fast_function (nk=<optimized out>, na=2, n=<optimized out>, pp_stack=0x7fffffffb0a0, func=<function at remote 0xf3c668>)
at ../Python/ceval.c:4107
#14 call_function (oparg=<optimized out>, pp_stack=0x7fffffffb0a0) at ../Python/ceval.c:4042
#15 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#16 0x00000000004aad10 in fast_function (nk=<optimized out>, na=2, n=<optimized out>, pp_stack=0x7fffffffb280, func=<function at remote 0xf41050>)
at ../Python/ceval.c:4107
#17 call_function (oparg=<optimized out>, pp_stack=0x7fffffffb280) at ../Python/ceval.c:4042
#18 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#19 0x00000000004aad10 in fast_function (nk=<optimized out>, na=3, n=<optimized out>, pp_stack=0x7fffffffb460, func=<function at remote 0xf41398>)
at ../Python/ceval.c:4107
#20 call_function (oparg=<optimized out>, pp_stack=0x7fffffffb460) at ../Python/ceval.c:4042
#21 PyEval_EvalFrameEx (f=f@entry=
Frame 0xea27d0, for file src/Content/ContentManager.py, line 422, in verifyFile (self=<ContentManager(site=<Site(content_manager=<...>, peers={'188.142.197.58:15441': <Peer at remote 0x174e410>, '178.238.41.134:15441': <Peer at remote 0x174e370>}, onFileDone=<Event at remote 0x190bc58>, onComplete=<Event at remote 0x190b8e8>, log=<Logger(name='Site:1iD5ZQ..duGz', parent=<RootLogger(name='-', parent=None, handlers=[<FileHandler(stream=<file at remote 0x7ffff7e5bdb0>, level=0, lock=<_RLock(_Verbose__verbose=False, _RLock__owner=None, _RLock__block=<thread.lock at remote 0x7ffff7f6e170>, _RLock__count=0) at remote 0xa72ed0>, encoding=None, _name=None, baseFilename='/home/sumo/zeronet/log/debug.log', mode='a', filters=[], formatter=<Formatter(datefmt=None, _fmt='[%(asctime)s] %(levelname)-8s %(name)s %(message)s')
---
#0 0x00007ffff62c7ceb in BN_CTX_start () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
No symbol table info available.
#1 0x00007ffff4993834 in ffi_call_unix64 () from /usr/lib/python2.7/lib-dynload/_ctypes.so
No symbol table info available.
#2 0x00007ffff49932af in ffi_call () from /usr/lib/python2.7/lib-dynload/_ctypes.so
No symbol table info available.
#3 0x00007ffff4980fd1 in _call_function_pointer (argcount=1, resmem=0x7fffffffa980, restype=<optimized out>, atypes=<optimized out>, avalues=0x7fffffffa960,
pProc=0x7ffff62c7cd0 <BN_CTX_start>, flags=4353) at /home/jmm/py/python2.7-2.7.3/Modules/_ctypes/callproc.c:827
error_object = 0x0
cc = 2
_save = 0x8d30a0
space = <optimized out>
cif = {abi = FFI_UNIX64, nargs = 1, arg_types = 0x7fffffffa940, rtype = 0xf86080, bytes = 0, flags = 10}
#4 _ctypes_callproc (pProc=pProc@entry=0x7ffff62c7cd0 <BN_CTX_start>, argtuple=argtuple@entry=(-335513312,), flags=4353, argtypes=< at remote 0x8d30a0>,
argtypes@entry=0x0, restype=restype@entry=<_ctypes.PyCSimpleType at remote 0xf85b90>, checker=checker@entry=0x0)
at /home/jmm/py/python2.7-2.7.3/Modules/_ctypes/callproc.c:1174
i = <optimized out>
n = 1
argcount = 1
argtype_count = 0
resbuf = 0x7fffffffa980
args = 0x7fffffffa9a0
pa = <optimized out>
atypes = <optimized out>
rtype = <optimized out>
avalues = 0x7fffffffa960
retval = 0x0
#5 0x00007ffff4981742 in PyCFuncPtr_call.3115 (self=0xf43120, inargs=(-335513312,), kwds=0x0) at /home/jmm/py/python2.7-2.7.3/Modules/_ctypes/_ctypes.c:3913
restype = <_ctypes.PyCSimpleType at remote 0xf85b90>
converters = <optimized out>
checker = 0x0
argtypes = 0x0
dict = 0xf8ccd0
result = <optimized out>
callargs = (-335513312,)
errcheck = 0x0
pProc = 0x7ffff62c7cd0
inoutmask = <optimized out>
outmask = <optimized out>
numretvals = <optimized out>
#6 0x00000000004aab70 in PyObject_Call (kw=0x0, arg=(-335513312,), func=<_FuncPtr(__name__='BN_CTX_start') at remote 0xf43120>) at ../Objects/abstract.c:2529
result = <optimized out>
call = 0x7ffff4981630 <PyCFuncPtr_call.3115>
#7 do_call (nk=<optimized out>, na=<optimized out>, pp_stack=0x7ffffffface0, func=<_FuncPtr(__name__='BN_CTX_start') at remote 0xf43120>) at ../Python/ceval.c:4239
callargs = <optimized out>
kwdict = 0x0
result = 0x0
#8 call_function (oparg=<optimized out>, pp_stack=0x7ffffffface0) at ../Python/ceval.c:4044
func = <_FuncPtr(__name__='BN_CTX_start') at remote 0xf43120>
w = <optimized out>
na = <optimized out>
nk = <optimized out>
n = <optimized out>
pfunc = 0xf7bf18
x = <optimized out>
#9 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
sp = 0xf7bf20
stack_pointer = <optimized out>
next_instr = 0xeb7ec3 "\001t\004"
opcode = <optimized out>
oparg = <optimized out>
why = WHY_NOT
err = 0
x = <optimized out>
v = <optimized out>
w = <optimized out>
u = <optimized out>
t = <optimized out>
stream = 0x0
fastlocals = <optimized out>
freevars = 0xf7bf18
retval = 0x0
tstate = 0x8d30a0
co = 0xe7adb0
instr_ub = -1
instr_lb = 0
instr_prev = -1
first_instr = 0xeb7de4 "t"
names =
('int', 'None', 'len', 'AssertionError', '_ssl', 'BN_bin2bn', 'BN_new', 'EC_KEY_get0_group', 'k', 'BN_CTX_new', 'BN_CTX_start', 'BN_CTX_get', 'EC_GROUP_get_order', 'BN_copy', 'BN_mul_word', 'BN_add', 'EC_GROUP_get_curve_GFp', 'BN_cmp', 'EC_POINT_new', 'EC_POINT_set_compressed_coordinates_GFp', 'EC_POINT_mul', 'EC_POINT_is_at_infinity', 'EC_GROUP_get_degree', 'BN_rshift', 'BN_mod_sub', 'BN_mod_inverse', 'BN_mod_mul', 'EC_KEY_set_public_key', 'BN_free', 'BN_CTX_free', 'EC_POINT_free')
consts =
('\n\t\tPerform ECDSA key recovery (see SEC1 4.1.6) for curves over (mod p)-fields\n\t\trecid selects which key is recovered\n\t\tif check is non-zero, additional checks are performed\n\t\t', 2, 32, -2, -1, 0, 8, 7, 1, None)
exit = '__exit__'
enter = '__enter__'
#10 0x00000000004aad10 in fast_function (nk=<optimized out>, na=7, n=<optimized out>, pp_stack=0x7fffffffaec0, func=<function at remote 0xf3cde8>)
at ../Python/ceval.c:4107
retval = 0x0
i = <optimized out>
fastlocals = <optimized out>
f = <optimized out>
tstate = 0x8d30a0
stack = <optimized out>
co = <optimized out>
nd = 0
globals = <optimized out>
argdefs = <optimized out>
d = 0x0
#11 call_function (oparg=<optimized out>, pp_stack=0x7fffffffaec0) at ../Python/ceval.c:4042
func = <function at remote 0xf3cde8>
w = <optimized out>
na = 7
nk = <optimized out>
n = <optimized out>
pfunc = 0xe49080
x = <optimized out>
#12 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
sp = 0xe490b8
stack_pointer = <optimized out>
next_instr = 0xd2cb09 "}\a"
opcode = <optimized out>
oparg = <optimized out>
why = WHY_NOT
err = 0
x = <optimized out>
v = <optimized out>
w = <optimized out>
u = <optimized out>
t = <optimized out>
stream = 0x0
fastlocals = <optimized out>
freevars = 0xe49080
retval = 0x0
tstate = 0x8d30a0
co = 0xe85030
instr_ub = -1
instr_lb = 0
instr_prev = -1
first_instr = 0xd2ca54 "t"
names = ('len', 'ValueError', '_bord', 'CECKey', 'set_compressed', 'recover', 'False', 'get_pubkey')
consts = ('Recover a public key from a compact signature.', 65, 'Signature should be 65 characters, not [%d]', 0, 27, 3, 4, 1, 33)
exit = '__exit__'
enter = '__enter__'
#13 0x00000000004aad10 in fast_function (nk=<optimized out>, na=2, n=<optimized out>, pp_stack=0x7fffffffb0a0, func=<function at remote 0xf3c668>)
at ../Python/ceval.c:4107
retval = 0x0
i = <optimized out>
fastlocals = <optimized out>
f = <optimized out>
tstate = 0x8d30a0
stack = <optimized out>
co = <optimized out>
nd = 0
globals = <optimized out>
argdefs = <optimized out>
d = 0x0
#14 call_function (oparg=<optimized out>, pp_stack=0x7fffffffb0a0) at ../Python/ceval.c:4042
func = <function at remote 0xf3c668>
w = <optimized out>
na = 2
nk = <optimized out>
n = <optimized out>
pfunc = 0xf88c28
x = <optimized out>
#15 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
sp = 0xf88c40
stack_pointer = <optimized out>
next_instr = 0xe7c63f "}\003"
opcode = <optimized out>
oparg = <optimized out>
why = WHY_NOT
err = 0
x = <optimized out>
v = <optimized out>
w = <optimized out>
u = <optimized out>
t = <optimized out>
stream = 0x0
at ../Python/ceval.c:4107
retval = 0x0
i = <optimized out>
fastlocals = <optimized out>
f = <optimized out>
tstate = 0x8d30a0
stack = <optimized out>
co = <optimized out>
nd = 0
globals = <optimized out>
argdefs = <optimized out>
d = 0x0
#17 call_function (oparg=<optimized out>, pp_stack=0x7fffffffb280) at ../Python/ceval.c:4042
func = <function at remote 0xf41050>
w = <optimized out>
na = 2
nk = <optimized out>
n = <optimized out>
pfunc = 0x1b73358
x = <optimized out>
#18 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
sp = 0x1b73370
stack_pointer = <optimized out>
next_instr = 0xcded78 "}\003"
opcode = <optimized out>
oparg = <optimized out>
why = WHY_NOT
err = 0
x = <optimized out>
v = <optimized out>
w = <optimized out>
u = <optimized out>
t = <optimized out>
stream = 0x0
fastlocals = <optimized out>
freevars = 0x1b73358
retval = 0x0
tstate = 0x8d30a0
co = 0xe11130
instr_ub = -1
instr_lb = 0
instr_prev = -1
first_instr = 0xcded54 "t"
names =
('hasattr', 'opensslVerify', 'getMessagePubkey', 'btctools', 'pubtoaddr', 'ecdsa_recover', 'type', 'list', 'BitcoinECC', 'Bitcoin', 'VerifyMessageFromBitcoinAddress')
consts = (None, 'endswith')
exit = '__exit__'
enter = '__enter__'
#19 0x00000000004aad10 in fast_function (nk=<optimized out>, na=3, n=<optimized out>, pp_stack=0x7fffffffb460, func=<function at remote 0xf41398>)
at ../Python/ceval.c:4107
retval = 0x0
i = <optimized out>
fastlocals = <optimized out>
f = <optimized out>
tstate = 0x8d30a0
stack = <optimized out>
co = <optimized out>
nd = 0
globals = <optimized out>
argdefs = <optimized out>
d = 0x0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment