Received: from eggs.gnu.org ([2001:4830:134:3::10]:43542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwqHv-0003Ym-E5 for qemu-devel@nongnu.org; Wed, 19 Oct 2016 08:48:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwqHr-0006od-Hj for qemu-devel@nongnu.org; Wed, 19 Oct 2016 08:48:07 -0400 Received: from mailapp02.imgtec.com ([217.156.133.132]:23540 helo=mailapp01.imgtec.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwqHr-0006ld-CA for qemu-devel@nongnu.org; Wed, 19 Oct 2016 08:48:03 -0400 References: <86k2dh6mqy.fsf@shell.gmplib.org> From: Yongbok Kim Message-ID: <1386b2e7-ecd6-e048-332d-b6a1745a7012@imgtec.com> Date: Wed, 19 Oct 2016 13:47:59 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Bug in mips user-linux List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Torbj=c3=b6rn_Granlund?= , qemu-devel@nongnu.org Cc: Aurelien Jarno , Thomas Huth On 19/10/2016 09:26, Thomas Huth wrote: > On 10.10.2016 03:01, Torbj=C3=B6rn Granlund wrote: >> 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-lev= el >> 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.) >=20 > Could you maybe get a proper backtrace of the crash with gdb? I guess > that would help to track down the problem. > And please make sure to copy the MIPS maintainers on CC: when reporting > such issues (see MAINTAINERS file), otherwise your mail might get lost > in the high traffic of the qemu-devel mailing list. >=20 > Thanks, > Thomas >=20 Hi I've tested the binary with the upstream but couldn't reproduce the problem. Would you please provide more details? Regards, Yongbok