segfault in extension module

Michael Hudson mwh at python.net
Fri Dec 5 07:38:12 EST 2003


Nat Echols <echols at uclink.berkeley.edu> writes:

> > Well, I can't see anything flagrantly wrong with that.
> >
> > Does a debugger provide any hints?
> 
> Someone else suggested this, and this is what the backtrace from gdb
> indicated:
> 
> #0  0x420744fe in _int_free () from /lib/tls/libc.so.6
> #1  0x420734d6 in free () from /lib/tls/libc.so.6
> #2  0x0809dc0d in _PyObject_GC_Del ()
> #3  0x080ce86f in PyDict_Next ()
> #4  0x080d191d in _PyModule_Clear ()
                    ^^^^^^^^^^^^^^^
*That's* very odd.

> (It goes on like this for a while. . .)

Can we see a little more?

Cheers,
mwh

-- 
  ZAPHOD:  Listen three eyes, don't try to outwierd me, I get stranger
           things than you free with my breakfast cereal.
                    -- The Hitch-Hikers Guide to the Galaxy, Episode 7




More information about the Python-list mailing list