What does this core dump mean?

Discussion in 'Python' started by Ng Pheng Siong, Jul 5, 2003.

  1. 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 <>

    http://firewall.rulemaker.net -+- Manage Your Firewall Rulebase Changes
    http://www.post1.com/home/ngps -+- Open Source Python Crypto & SSL
    Ng Pheng Siong, Jul 5, 2003
    #1
    1. Advertising

  2. Ng Pheng Siong

    Terry Reedy Guest

    > 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
    Terry Reedy, Jul 5, 2003
    #2
    1. Advertising

  3. According to Terry Reedy <>:
    > 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 <>

    http://firewall.rulemaker.net -+- Manage Your Firewall Rulebase Changes
    http://www.post1.com/home/ngps -+- Open Source Python Crypto & SSL
    Ng Pheng Siong, Jul 7, 2003
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mike
    Replies:
    0
    Views:
    709
  2. BlueDoze
    Replies:
    2
    Views:
    1,124
    Gordon Beaton
    May 4, 2004
  3. halfdog
    Replies:
    12
    Views:
    12,443
  4. Army1987

    Why does this dump core?

    Army1987, May 12, 2007, in forum: C Programming
    Replies:
    7
    Views:
    385
    Army1987
    May 24, 2007
  5. Andrew Musselman

    Where does core dump info go?

    Andrew Musselman, Mar 17, 2006, in forum: Ruby
    Replies:
    0
    Views:
    93
    Andrew Musselman
    Mar 17, 2006
Loading...

Share This Page