[New-bugs-announce] [issue14041] bsddb DB_RUNRECOVERY crash on write access

totycro report at bugs.python.org
Fri Feb 17 16:31:24 CET 2012

New submission from totycro <malli at gmx.at>:

The attached file data.db should be a valid bsddb file, still i get this crash on write:

 File "/usr/lib64/python2.7/bsddb/__init__.py", line 280, in wrapF
    self.db[key] = value
 DBRunRecoveryError: (-30974, 'DB_RUNRECOVERY: Fatal error, run database recovery -- PANIC: Invalid argument')

Full traceback: http://pastebin.com/A1VSPV9Q

I can reproduce the crash with python 2.7.2 with just these lines (it doesn't crash on empty db files):

import shelve
a = shelve.open("data.db")


a['content/scenarios/tutorial_da.yaml'] = b
a['content/scenarios/tutorial_cs.yaml'] = b

files: data.db
messages: 153551
nosy: totycro
priority: normal
severity: normal
status: open
title: bsddb DB_RUNRECOVERY crash on write access
versions: Python 2.7
Added file: http://bugs.python.org/file24545/data.db

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list