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 gregory.p.smith
Recipients gregory.p.smith
Date 2007-10-12.19:20:02
SpamBayes Score 0.04461674
Marked as misclassified No
Message-id <1192216802.58.0.956972286502.issue1275@psf.upfronthosting.co.za>
In-reply-to
Content
If a bsddb.db.DB object is closed before any DBCursor objects
referencing it are closed, python will crash when the cursors are closed
or deleted.

Workaround: never close a database with open cursors.  this is annoying
in unittest code where a tearDown method closes the DB in the exception
handling path on a test failure before the cursors have been closed or
garbage collected.

I've got a test in my sandbox, I'll check it in with the fix as its a
crasher otherwise.
History
Date User Action Args
2007-10-12 19:20:02gregory.p.smithsetspambayes_score: 0.0446167 -> 0.04461674
recipients: + gregory.p.smith
2007-10-12 19:20:02gregory.p.smithsetspambayes_score: 0.0446167 -> 0.0446167
messageid: <1192216802.58.0.956972286502.issue1275@psf.upfronthosting.co.za>
2007-10-12 19:20:02gregory.p.smithlinkissue1275 messages
2007-10-12 19:20:02gregory.p.smithcreate