smbtorture LOCK1 test on HPUX

samba-technical at samba-technical at
Fri Aug 3 04:57:56 GMT 2001

On Thu, Aug 02, 2001 at 12:41:52PM -0700, Aruna Prabakar wrote:
> Hi,
> 	Samba Smbtorture LOCK1 test on HPUX failed even after disabling
> MMAP. It was failing in tdb_write with an error in log files (Bad File
> Number). During investigation we found out that in this section of code in
> tdb.c if it is TDB_INTERNAL after tdb->map_ptr was realloced tdb_mmap(tdb)
> which makes tdb->map_ptr=NULL was excecuted which is incorrect. So we put a
> else statement so that tdb_mmap(tdb) gets excecuted only if it is not
> LOCK1 Test passes with this Fix.

With or without mmap enabled (and if it is without, does it pass with
MMAP enabled)?

albert chin (china at

More information about the samba-technical mailing list