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

Re: LMDB test assertion failures on Linux/MIPS



On Tue, 18 Feb 2014, Martin Lucina wrote:

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

I don't have MIPS specsheets memorized/in front of me, but what's the pagesize?

http://www.openldap.org/lists/openldap-devel/201310/msg00005.html (and ITS#7713)