homepage

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 tim.peters
Recipients
Date 2003年07月22日.02:29:12
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Richie Hindle presented something like the attached 
(hammer.py) on the spambayes-dev mailing list. On 
Win98SE and Win2K w/ Python 2.3c1 I usually see this 
death pretty quickly:
Traceback (most recent call last):
 File "hammer.py", line 36, in ?
 main()
 File "hammer.py", line 33, in main
 hammer(db)
 File "hammer.py", line 15, in hammer
 x = db[str(int(random.random() * 100000))]
 File "C:\CODE\PYTHON\lib\bsddb\__init__.py", line 86, 
in __getitem__
 return self.db[key]
bsddb._db.DBRunRecoveryError: (-30982,
 'DB_RUNRECOVERY: Fatal error, run database 
recovery -- fatal region error detected; run recovery')
Richie also reported "illegal operation" crashes on 
Win98SE.
It's not clear whether a bsddb3 hash *can* be used 
with threads like this. If it can't, there's a doc bug. If it 
should be able to, there's a more serious problem. Note 
that it looks like hashopen() always merges DB_THREAD 
into the flags, so the absence of specifying DB_THREAD 
probably isn't the problem.
History
Date User Action Args
2007年08月23日 14:15:02adminlinkissue775414 messages
2007年08月23日 14:15:02admincreate

AltStyle によって変換されたページ (->オリジナル) /