Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > What does this core dump mean?

Reply
Thread Tools

What does this core dump mean?

 
 
Ng Pheng Siong
Guest
Posts: n/a
 
      07-05-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 <(E-Mail Removed)>

http://firewall.rulemaker.net -+- Manage Your Firewall Rulebase Changes
http://www.post1.com/home/ngps -+- Open Source Python Crypto & SSL
 
Reply With Quote
 
 
 
 
Terry Reedy
Guest
Posts: n/a
 
      07-05-2003
> 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


 
Reply With Quote
 
 
 
 
Ng Pheng Siong
Guest
Posts: n/a
 
      07-07-2003
According to Terry Reedy <(E-Mail Removed)>:
> 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...


--
Ng Pheng Siong <(E-Mail Removed)>

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

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dump complete java VM state as core dump (not via OS) possible? halfdog Java 12 02-21-2013 06:14 AM
Why does this dump core? Army1987 C Programming 7 05-24-2007 02:24 PM
Core Solo & Core Duo are not Core microarchitecture; 65nm Pentium M chips bigal Hardware 0 03-22-2006 11:24 AM
Where does core dump info go? Andrew Musselman Ruby 0 03-17-2006 06:08 PM
Read Core Dump file ns Cisco 8 05-26-2005 03:07 AM



Advertisments