[Python-checkins] SQLite test hangs - was: Re: Python Regression Test Failures basics (1)

Gerhard Häring gh at ghaering.de
Mon Mar 10 13:18:32 CET 2008


Neal Norwitz wrote:
>> [...]
>>  First, I couldn't find the hangs you described in the buildbot status
>>  pages.
> 
> It's only one machine.  Here's the most recent:
>  http://www.python.org/dev/buildbot/all/x86%20gentoo%20trunk/builds/3169/step-test/0

The test_bsddb3 runs in a deadlock error here. Is this really a coincidence?

> [...]
> If you give me some ideas for where to look/how to debug, I can try to
> find the problem on this machine.  I don't know if it's specific to
> o/s, sqlite version, compiler version, etc.  It could be indicative of
> a larger problem or not.  No way to know without finding the cause, so
> I'd like to try if possible. [...]

I'd first try to build against a freshly compiled SQLite version that's 
known to work like http://sqlite.org/sqlite-3.5.4.tar.gz

Be sure to ./configure with --enable-threadsafe

Random guesses for causes of the problem:

- the SQLite library was not compiled with --enable-threadsafe
- the SQLite locking did not work because of the filesystem (NFS, ...)
- SQLite headers and libraries were of different versions

-- Gerhard


More information about the Python-checkins mailing list