[Pkg-db-devel] Bug#469221: apt-listchanges: Failed with "bsddb.db.DBRunRecoveryError" error

Steve Langasek vorlon at debian.org
Sat Mar 8 01:03:54 UTC 2008


On Fri, Mar 07, 2008 at 10:49:47AM -0500, Clint Adams wrote:
> On Fri, Mar 07, 2008 at 12:40:08AM -0800, Steve Langasek wrote:
> > The failing test is "HashSimpleThreaded.test02_SimpleLocks"; it starts five
> > threads that try to write to a database of (python) type "db.DB_HASH" using
> > no transactions, and occasionally reads back the results.  The reading fails
> > intermittently, with d.get() returning None instead of the value that was
> > (supposed to be) written.

> Okay. Before I try to (blindly) extract a C testcase from that, is
> there any record of this problem on bugs.python.org or the Oracle web
> forum?

For my part, I don't know.  A search on bugs.python.org does turn up this
entry, which looks like it might be related:

   http://bugs.python.org/issue834461

I don't know that this explains the empty results from d.get(), but it may
explain the deadlock mentioned in my last message, as the concurrent reader
threads do use cursors.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org



More information about the Pkg-db-devel mailing list