[Python-bugs-list] [ python-Bugs-675187 ] bsddb hangs with recno/source sync

SourceForge.net noreply@sourceforge.net
Sun, 26 Jan 2003 16:01:31 -0800


Bugs item #675187, was opened at 2003-01-27 01:01
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=675187&group_id=5470

Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Magnus Lie Hetland (mlh)
Assigned to: Nobody/Anonymous (nobody)
Summary: bsddb hangs with recno/source sync

Initial Comment:
I just tried to use bsddb with the source argument to have
flat 
backing file. Creating a database with such a backing
file as 
source was not problematic, but after I had modified
it, the 
sync() and close() method would hang.

For 
example:

from bsddb import rnopen
r = 
rnopen('test.dat', source='test.txt')
r[1] = 'foobar'
r.sync() 
# Hangs here...

After running this, test.txt will be empty 
(even though it
wasn't before). Running the code above without 
the source
argument works just fine.

I'm running 
Python 2.3 cvs version (slightly earlier than the
first alpha) on 
SunOS 5.9.

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

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