STINNER Victor <[EMAIL PROTECTED]> added the comment: Here is a test to reproduce the crash. I don't know db_env_create() function, so I don't know what are "invalid arguments". So I used ~DB_RPCCLIENT. "gc.collect()" is to detect the bug (2).
About other objects dealloc method... DBEnv_dealloc() `-> DBEnv_close_internal(): RETURN_IF_ERR() DB_dealloc() `-> DB_close_internal(): RETURN_IF_ERR() DBC_dealloc() `-> DBC_close_internal(): RETURN_IF_ERR() DBSequence_dealloc() `-> DBSequence_close_internal(): RETURN_IF_ERR() DBTxn_dealloc() `-> DBTxn_abort_discard_internal(): RETURN_IF_ERR() DBLock_dealloc() looks ok. Added file: http://bugs.python.org/file11506/_bsddb_test.patch _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3885> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com