interpreter crashes

Paul Rubin phr-n2001d at nightsong.com
Sun Oct 28 02:58:19 CEST 2001


A few times I've had Python 2.1.1 crash on me for no apparent reason.
Cursory inspection of the core dump doesn't show much-- the
interpreter seemed to be innocently evaluating something.  Chances are
something (maybe a reference count) got corrupted sometime earlier and
eventually set off the crash.  The one out-of-the-ordinary thing I may
have been doing was repeatedly reloading modules as I debugged them.
But I'm not even sure about that.

Anyone got any suggestions?  Want to see the core dumps?  How
frequently does this type of thing happen?  If Python is in the habit
of crashing randomly, that may make it inadvisable to write
long-running servers that need to stay up.  Perhaps it's more
appropriate to write servers Apache-style, forking new processes and
reinitializing every so often.



More information about the Python-list mailing list