From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NbEbW-0002yO-9w for qemu-devel@nongnu.org; Sat, 30 Jan 2010 09:47:18 -0500 Received: from [199.232.76.173] (port=53901 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NbEbV-0002y8-Fv for qemu-devel@nongnu.org; Sat, 30 Jan 2010 09:47:17 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NbEbU-00035R-QF for qemu-devel@nongnu.org; Sat, 30 Jan 2010 09:47:17 -0500 Received: from mail-pz0-f186.google.com ([209.85.222.186]:50391) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NbEbU-00035L-Go for qemu-devel@nongnu.org; Sat, 30 Jan 2010 09:47:16 -0500 Received: by pzk16 with SMTP id 16so2459339pzk.18 for ; Sat, 30 Jan 2010 06:47:15 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <4B63FC50.10403@mail.berlios.de> References: <62332.72612.qm@web15907.mail.cnb.yahoo.com> <4B63153A.6070509@twiddle.net> <20100129213808.GA11999@laped.iglesias.mooo.com> <4B63697D.4040507@mail.berlios.de> <761ea48b1001291714j7440b241w79ae3c458cc8d5b6@mail.gmail.com> <4B63FC50.10403@mail.berlios.de> Date: Sat, 30 Jan 2010 15:47:15 +0100 Message-ID: <761ea48b1001300647m62b1068dh1b4cd38deb49dd98@mail.gmail.com> Subject: Re: [Qemu-devel] [BUG] qemu-x86_64 crash when running bntest (was: [PATCH] Porting TCG to alpha platform) From: Laurent Desnogues Content-Type: text/plain; charset=ISO-8859-1 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: "Edgar E. Iglesias" , qemu-devel@nongnu.org On Sat, Jan 30, 2010 at 10:30 AM, Stefan Weil wrote: > Laurent Desnogues schrieb: >> On Sat, Jan 30, 2010 at 12:04 AM, Stefan Weil >> wrote: >> [...] >>> that was a good suggestion. bntest raises a segmentation fault >>> (NULL pointer, p == 0, see below) with qemu-x86_64 on a x86_64 host. >> >> Compile bntest statically and it should work. >> >> x86_64 user mode is completely broken for dynamically >> linked programs. >> >> >> Laurent >> > > A statically linked bntest results in a crash, too. OK, I found the issue. It's vsyscall. You should use the patch I sent to this list a few months ago. Laurent