[New-bugs-announce] [issue2858] bsddb.db.DBEnv.lock_get test_lock.test03_set_timeout crashes

Gregory P. Smith report at bugs.python.org
Thu May 15 07:10:09 CEST 2008


New submission from Gregory P. Smith <greg at krypto.org>:

I disabled the Lib/bsddb/test/test_lock.py test03_set_timeout test as it
crashes the interpreter when compiled in debug mode with an UNREF test.
 It appears to happen on all platforms according to the buildbots.

This is not a new problem, it exists in 2.5 if a backport the recent
updates to this test.

I did a little bit of debugging and it looks like the UNREF failure
occurs when the call to DBEnv.lock_get is has exited and Python is
freeing the internal callargs tuple passed as arguments to the method.

A pointer in the callargs._ob_prev structure had the 0xdbdbdbdb value
which I believe is a sign of BerkeleyDB overwriting the memory.

Jesus, can you look into this one?

----------
components: Extension Modules
messages: 66845
nosy: gregory.p.smith, jcea
priority: high
severity: normal
status: open
title: bsddb.db.DBEnv.lock_get test_lock.test03_set_timeout crashes
type: crash
versions: Python 2.5, Python 2.6

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2858>
__________________________________


More information about the New-bugs-announce mailing list