segfault in extension module

Martin v. Löwis martin at v.loewis.de
Mon Dec 1 14:17:03 EST 2003


Nathaniel Echols <echols at OCF.Berkeley.EDU> writes:

> Okay:
> 
> #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 ()
> 
> I guess this makes sense, but I'm still not sure how to fix it. . .

Ah, tls/libc.so.6. I think you lose, being confronted with a buggy C
library. Try making it not use /lib/tls.

If that does not change the behaviour, you probably have a
ref-counting bug somewhere. Try building a debugging version of
Python.

Regards,
Martin




More information about the Python-list mailing list