[Python-Dev] crashing on shutdown due to warning at shutdown
Gregory P. Smith
greg at electricrain.com
Fri Jan 5 07:28:24 CET 2007
On Thu, Jan 04, 2007 at 09:35:16PM -0800, Neal Norwitz wrote:
> 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
Its a courtesy warning, it should not cause harm.
could it possibly be from Lib/bsddb/test/test_1413192.py which makes
no attempt at cleaning up on purpose?
-greg
More information about the Python-Dev
mailing list