New submission from totycro <ma...@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")

b="crashin.."*20000

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 <rep...@bugs.python.org>
<http://bugs.python.org/issue14041>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to