From: Martin Lucina <martin@lucina.net>
To: musl@lists.openwall.com
Subject: Re: LMDB test failures under musl on mips
Date: Fri, 14 Feb 2014 10:31:56 +0100 [thread overview]
Message-ID: <20140214093156.GA18582@nodbug.moloch.sk> (raw)
In-Reply-To: <20140213232648.GG23551@port70.net>
nsz@port70.net said:
> * Martin Lucina <martin@lucina.net> [2014-02-13 21:50:40 +0100]:
> > You can reproduce the problem fairly easily by building the mtest* programs
> > that come with LMDB. Running mtest a few times (after creating ./testdb)
> > reliably gives either a segfault or various assertion failures in LMDB.
>
> ok i could reproduce it
> i got the following assertion failure:
>
> mdb.c:2001: Assertion 'mp->mp_pgno != pgno' failed in mdb_page_touch()
>
> (it's on real hw without debugger, but i have strace now)
That's what I get, and also these:
mdb.c:5176: Assertion 'IS_LEAF(mp)' failed in mdb_cursor_next()
or
mdb.c:1713: Assertion 'rc == 0' failed in mdb_page_dirty()
etc.
mtest is somewhat fickle, it uses random() to decide exactly what it's
doing. I have a hunch that I can provoke this with a simpler test program,
going to try that now.
Do you still want those strace logs from me?
Both of the targets (ASUS RT-N66u running Tomato, TP-Link TL-WDR4300
running OpenWRT trunk) I tried have 4k page size, so nothing out of the
ordinary there.
One thing I'd like to try is building against the normal OpenWRT/uClibc
toolchain (or even a plain glibc one) to see if anything changes.
Unfortunately the snapshot binaries they provide require at least glibc
2.14 which I don't have on my machines running Debian stable. I tried
using a toolchain built from source using the OpenWRT buildroot but get
random link errors :-/
Martin
next prev parent reply other threads:[~2014-02-14 9:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-13 20:50 Martin Lucina
2014-02-13 21:39 ` Rich Felker
2014-02-13 21:42 ` Szabolcs Nagy
2014-02-13 23:26 ` Szabolcs Nagy
2014-02-14 9:31 ` Martin Lucina [this message]
2014-02-14 10:26 ` Szabolcs Nagy
2014-02-14 15:53 ` Martin Lucina
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140214093156.GA18582@nodbug.moloch.sk \
--to=martin@lucina.net \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).