[Python-Dev] crashing on shutdown due to warning at shutdown

Neal Norwitz nnorwitz at gmail.com
Fri Jan 5 06:35:16 CET 2007


I fixed the crash that was due to raising a warning on shutdown.  I
have heard about crashes at shutdown and wonder if this was the cause.
 There might be similar bugs lurking that assume PyModule_GetDict()
always returns a valid pointer.  It doesn't, it can return NULL.

I'm not sure if the original problem existed or not, but after this
fix on shutdown, I see:

warning: DBTxn aborted in destructor.  No prior commit() or abort().

I don't know if this is a real problem, a test problem, or what.

n


More information about the Python-Dev mailing list