[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: LMDB test assertion failures on Linux/MIPS



martin@lucina.net said:
> current thread: t@1
> =>[1] mdb_txn_renew0(0x2fa88, 0x0, 0xffffffff, 0x0, 0x2f9f8, 0x2fa88), at 0x12ea4 
>   [2] mdb_txn_begin(0xc, 0x0, 0x0, 0xffbff9bc, 0x2fa88, 0x2f9f8), at 0x1425c 
>   [3] main(0x2f638, 0xffbff9bc, 0xffbffa34, 0x2f55c, 0x2f9f0, 0xee), at 0x1ded8 
> 
> I note that the CSW GCC 4.6.3 I'm using on SPARC also produces warnings
> when building mdb with -Wcast-align.

Rebuilt with the Sun compilers to get proper debug info, the faulting
instruction is the same as the one in GCC:

signal SEGV (no mapping at the fault address) in mdb_env_pick_meta at line 3349 in file "mdb.c"
 3349           return (env->me_metas[0]->mm_txnid < env->me_metas[1]->mm_txnid);

Martin