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.

classification
Title: shelve/bsddb crash on db close
Type: Stage:
Components: Extension Modules Versions: Python 2.4
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: nnorwitz Nosy List: nnorwitz, ses4j
Priority: normal Keywords:

Created on 2005-06-26 23:38 by ses4j, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg25645 - (view) Author: Scott (ses4j) Date: 2005-06-26 23:38
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.
msg25646 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-01-24 08:03
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?
msg25647 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-01-25 06:12
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.
msg25648 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-03-20 08:05
Logged In: YES 
user_id=33168

Assuming this is fixed since there was no response.  Closing.
History
Date User Action Args
2022-04-11 14:56:11adminsetgithub: 42128
2005-06-26 23:38:47ses4jcreate