What does this core dump mean?

N

Ng Pheng Siong

Hi,

I just noticed that demo/evp_ciph_test.py of my M2Crypto package
causes a core dump. It used to not do that. ;-)

The core dump happens when the program is exiting; in the output below,
rc2_40_cbc is the last test run by the program:

$ python evp_ciph_test.py
...
testing aes_256_cfb ... ok
testing aes_256_ofb ... ok
testing rc4 ... ok
testing rc2_40_cbc ... ok
Segmentation fault (core dumped)

Here's the gdb trace:

#0 0x8099fc4 in _PyObject_GC_UnTrack (op=0x8183c4c) at Modules/gcmodule.c:869
869 _PyObject_GC_UNTRACK(op);
(gdb) bt
#0 0x8099fc4 in _PyObject_GC_UnTrack (op=0x8183c4c) at Modules/gcmodule.c:869
#1 0x805dfc7 in tupledealloc (op=0x8183c4c) at Objects/tupleobject.c:142
#2 0x807b029 in code_dealloc (co=0x819ba80) at Python/compile.c:98
#3 0x80be6ce in func_dealloc (op=0x81943cc) at Objects/funcobject.c:377
#4 0x80c800b in PyDict_SetItem (op=0x8190b0c, key=0x8198dc0, value=0x80e4adc)
at Objects/dictobject.c:373
#5 0x80caddd in _PyModule_Clear (m=0x8181eec) at Objects/moduleobject.c:136
#6 0x808bdab in PyImport_Cleanup () at Python/import.c:352
#7 0x80945fd in Py_Finalize () at Python/pythonrun.c:218
#8 0x8053620 in Py_Main (argc=2, argv=0xbfbffa44) at Modules/main.c:378
#9 0x8052ed0 in main (argc=2, argv=0xbfbffa44) at Modules/python.c:10
#10 0x8052e22 in _start ()

What does the error mean?

TIA. Cheers.
 
T

Terry Reedy

I just noticed that demo/evp_ciph_test.py of my M2Crypto package
causes a core dump. It used to not do that. ;-)

I cannot interprete the gdb trace either. Info on the platform,
Python version, what you changed to change the behavior, and the
reproducibility of the dump behavior might help someone who can.

TJR
 
N

Ng Pheng Siong

According to Terry Reedy said:
I cannot interprete the gdb trace either. Info on the platform,
Python version, what you changed to change the behavior, and the
reproducibility of the dump behavior might help someone who can.

Ok, found the problem: in the new AES tests. Dumps core in direct EVP
usage, but not the BIO.CipherFilter. Hmmm...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top