[ python-Bugs-1227955 ] shelve/bsddb crash on db close

SourceForge.net noreply at sourceforge.net
Mon Mar 20 09:05:41 CET 2006


Bugs item #1227955, was opened at 2005-06-26 16:38
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1227955&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Extension Modules
Group: Python 2.4
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Scott (ses4j)
Assigned to: Neal Norwitz (nnorwitz)
Summary: shelve/bsddb crash on db close

Initial Comment:
I have a 300 meg bsddb/hash db created and accessed by
shelve.  No problems when running python only.  But I
started accessing the code that opens it via a windows
DLL, opening and closing the DB on PROCESS_ATTACH and
DETACH.  All of a sudden, it would crash in the bsddb
module on closing/del'ing the db.  

Found a workaround by opening the db with
shelve.BsddbShelf(..) instead of shelve.open(..) - then
it closed fine when the DLL unloaded, no crash.

----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2006-03-20 00:05

Message:
Logged In: YES 
user_id=33168

Assuming this is fixed since there was no response.  Closing.

----------------------------------------------------------------------

Comment By: Neal Norwitz (nnorwitz)
Date: 2006-01-24 22:12

Message:
Logged In: YES 
user_id=33168

If we don't hear back within a month, we should close this
as probably fixed by the patch that was checked in.

----------------------------------------------------------------------

Comment By: Neal Norwitz (nnorwitz)
Date: 2006-01-24 00:03

Message:
Logged In: YES 
user_id=33168

Perhaps this is related to bug 1413192?  Could you try the
patch there and see if it fixes this problem?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1227955&group_id=5470


More information about the Python-bugs-list mailing list