[Python-Dev] test_bsddb hangs with CVS Python
Jeremy Hylton
jeremy at alum.mit.edu
Mon Oct 6 01:18:27 EDT 2003
test_bsddb hangs for me everytime. This is a current CVS python with
BerkeleyDB 4.1.25. I've tried commenting out test_pop and
test_mapping_iteration_methods, but it still hangs somewhere.
localhost:~/src/python/build-pydebug> ./python ../Lib/test/test_bsddb.py
-v
test_change (__main__.TestBTree) ... ok
test_clear (__main__.TestBTree) ... ok
test_close_and_reopen (__main__.TestBTree) ... ok
test_contains (__main__.TestBTree) ... ok
test_first_next_looping (__main__.TestBTree) ... ok
test_get (__main__.TestBTree) ... ok
test_getitem (__main__.TestBTree) ... ok
test_has_key (__main__.TestBTree) ... ok
test_keyordering (__main__.TestBTree) ... ok
test_len (__main__.TestBTree) ... ok
test_mapping_iteration_methods (__main__.TestBTree) ... ok
test_pop (__main__.TestBTree) ... ok
strace says:
stat64("./@test", 0xbfffc980) = -1 ENOENT (No such file or
directory)
stat64("./__db. at test.", {st_mode=S_IFREG|0664, st_size=8192, ...}) = 0
stat64("./@test", 0xbfffc830) = -1 ENOENT (No such file or
directory)
rename("./__db. at test.", "./@test") = 0
stat64("./@test", {st_mode=S_IFREG|0664, st_size=8192, ...}) = 0
open("./@test", O_RDWR|O_LARGEFILE) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
fstat64(3, {st_mode=S_IFREG|0664, st_size=8192, ...}) = 0
pread(3, "\0\0\0\0\1\0\0\0\0\0\0\0b1\5\0\t\0\0\0\0\20\0\0\0\t\0\0"...,
4096, 0) = 4096
pread(3, "\0\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\20\1\5\0"...,
4096, 4096) = 4096
futex(0x4055ad40, FUTEX_WAIT, 0, NULL
Jeremy
More information about the Python-Dev
mailing list