What does this core dump mean?

Ng Pheng Siong ngps at netmemetic.com
Sat Jul 5 10:24:36 EDT 2003


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.

-- 
Ng Pheng Siong <ngps at netmemetic.com> 

http://firewall.rulemaker.net  -+- Manage Your Firewall Rulebase Changes
http://www.post1.com/home/ngps -+- Open Source Python Crypto & SSL




More information about the Python-list mailing list