This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients jcea, vstinner
Date 2008-09-17.00:20:56
SpamBayes Score 6.66733e-05
Marked as misclassified No
Message-id <1221610875.18.0.847204540632.issue3885@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-09-17 00:21:15vstinnersetrecipients: + vstinner, jcea
2008-09-17 00:21:15vstinnersetmessageid: <1221610875.18.0.847204540632.issue3885@psf.upfronthosting.co.za>
2008-09-17 00:20:58vstinnerlinkissue3885 messages
2008-09-17 00:20:58vstinnercreate