bin/144446: [patch] db(3) fails with large block sizes

Peter Jeremy peterjeremy at acm.org
Tue Apr 6 00:10:03 UTC 2010


The following reply was made to PR bin/144446; it has been noted by GNATS.

From: Peter Jeremy <peterjeremy at acm.org>
To: bug-followup at FreeBSD.org, Andriy Gapon <avg at FreeBSD.org>
Cc:  
Subject: Re: bin/144446: [patch] db(3) fails with large block sizes
Date: Tue, 6 Apr 2010 10:09:04 +1000

 --PNTmBPCT7hxwcZjr
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Following r206129, FreeBSD no longer has a hardwired st_blksize
 so the first problem should now be reproducable on FreeBSD.
 
 The scenario where I found the bug was the perl 5.8 DB_File test
 db-hash.t on a ZFS filesystem.  The problem should therefore be
 reproducable on 9-current with r206129 as follows:
 
 1) Set WRKDIRPREFIX to a ZFS filesystem.
 2) cd /usr/ports/lang/perl5.8
 3) make
 4) cd $WRKDIRPREFIX/usr/ports/lang/perl5.8/work/perl-5.8.9/t
 5) ../perl ../ext/DB_File/t/db-hash.t
    (it's possible perl will need to be installed for this to run)
 This should result in a core dump following test 21.
 
 --=20
 Peter Jeremy
 
 --PNTmBPCT7hxwcZjr
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.14 (FreeBSD)
 
 iEYEARECAAYFAku6e6AACgkQ/opHv/APuIdQmACfWyOwW3vuLu7PXj42yOdAIK1O
 tLUAn2VlkxEgoNyYS5hJV7uIsIMYyAP5
 =cADY
 -----END PGP SIGNATURE-----
 
 --PNTmBPCT7hxwcZjr--


More information about the freebsd-bugs mailing list