[Python-Dev] test_bsddb blocks while testing popitem (?)

Alex Martelli aleaxit at yahoo.com
Sat Oct 25 06:32:55 EDT 2003

I guess it had been a while since I ran 'make test' on the 2.4 cvs... can't 
find this bug in the bugs db and I'd just like a quick sanity check (if the 
bug's already there or if I'm doing something weird) before I add it.  

Linux Mandrake 9.1, gcc 3.2.2, Berkeley DB 4.1.25 installed in 
/usr/local/BerkeleyDB.4.1 -- "make test" runs fine all the way to test_bsddb 
and blocks there.  Digging further shows it runs fine all the way to test_pop 
and blocks specifically in test_popitem.  Digging yet further with print and
printf shows that when trying to delete the first key ('e') it gets all the 
way to entering the call
    err = self->db->del(self->db, txn, key, 0);
in _DB_delete -- and never gets out of that call.  Ctrl-C does nothing,
have to Ctrl-Z then kill %1 to get out.  Previous deletes done in the course
of the unit-test give no problems (e.g., test_clear also starts by deleting
that 'e' key and just works fine).  So, I'm nonplussed...


More information about the Python-Dev mailing list