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? Thanks, Ed Jones