When I run a module written in C, core dumps at Python exit.

scott cotton scott at chronis.pobox.com
Tue Jun 1 22:05:16 EDT 1999


On Tue, Jun 01, 1999 at 09:20:16PM -0400, Tim Peters wrote:
| [Edward C. Jones]
| > I wrote an extension module written in C. It seems to work OK.
| > But core dumps when exiting Python. When I run the code from the
| > interpreter, Python works fine until I try to exit with ^D. Then
| > there is a core dump. What are the most common causes of such
| > problems?
| 
| Buggy extension modules written in C.
| 
| suspecting-that's-obvious-ly y'rs  - tim

More specifically <0.314 ;>, since python core dumps on exit,
it is most likely a deallocation function that is freeing
memory that it shouldn't.  Of course, that may be caused by
almost anything in the extension module.

scott




More information about the Python-list mailing list