From: tg@gmplib.org (Torbjörn Granlund)
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Bug in mips user-linux
Date: Mon, 10 Oct 2016 03:01:09 +0200 [thread overview]
Message-ID: <86k2dh6mqy.fsf@shell.gmplib.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 889 bytes --]
This is a long-standing issue; I've reproduced it in 2.5.0, 2.6.2, and
2.7.0.
Command used: qemu-mipsn32 ./reuse
The binary file 'reuse' is attached.
Funnily enough, it does not fail every time. (I would expect user-level
emulation to be pretty deterministic, but alas, this is not.)
When it fails, it either says,
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
or unfrequently,
mipsn: /var/tmp/build.2567/qemu-2.6.2/translate-all.c:1884: page_set_flags: Assertion `start < end' failed.
qemu: uncaught target signal 6 (Aborted) - core dumped
while the same binary runs fine on hardware as well as
emulated systems running under qemu-system-mips64.
The failures only happen for the n32 ABI (not o32 or 64).
This test case comes from GMP (default gcc compile of
gmp/tests/mpz/reuse.c).
(Host and guest systems all run Debian 8.)
[-- Attachment #2: reuse.xz --]
[-- Type: application/octet-stream, Size: 357368 bytes --]
[-- Attachment #3: Type: text/plain, Size: 55 bytes --]
--
Torbjörn
Please encrypt, key id 0xC8601622
next reply other threads:[~2016-10-10 1:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-10 1:01 Torbjörn Granlund [this message]
2016-10-19 8:26 ` [Qemu-devel] Bug in mips user-linux Thomas Huth
2016-10-19 12:47 ` Yongbok Kim
2016-10-19 23:20 ` Torbjörn Granlund
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=86k2dh6mqy.fsf@shell.gmplib.org \
--to=tg@gmplib.org \
--cc=qemu-devel@nongnu.org \
/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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.