On 2010-Apr-05 11:27:07 +0300, Andriy Gapon <a...@freebsd.org> wrote: >> Firstly, has someone with a post-r206129 kernel verified that it >> does actually trigger the issue I reported in bin/144446? I'm not >> in a position to do so easily and it's possible that the problem >> is masked elsewhere. > >Sorry for my lack of knowledge, but what is the best way to test this? >As I understand, a new db needs to be initialized in an existing file?
You should be able to demonstrate the problem by using dbopen() to create a new DB_HASH file with NULL openinfo. I've updated bin/144446 with a scenario that I believe will demonstrate the problem on FreeBSD - basically, run the db-hash.t test in perl and it should core-dump after test 21. -- Peter Jeremy
pgpxsASCTPYFO.pgp
Description: PGP signature