From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AdzsS-0004jz-K8 for qemu-devel@nongnu.org; Tue, 06 Jan 2004 17:40:44 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Adzrl-0004Q3-IG for qemu-devel@nongnu.org; Tue, 06 Jan 2004 17:40:33 -0500 Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1Adzrk-0004Nq-LP for qemu-devel@nongnu.org; Tue, 06 Jan 2004 17:40:00 -0500 Received: from [193.252.22.23] (helo=mwinf0802.wanadoo.fr) by mx20.gnu.org with esmtp (Exim 4.24) id 1Adyu2-0000HD-Pl for qemu-devel@nongnu.org; Tue, 06 Jan 2004 16:38:18 -0500 Received: from free.fr (ATuileries-112-1-4-144.w81-53.abo.wanadoo.fr [81.53.133.144]) by mwinf0802.wanadoo.fr (SMTP Server) with ESMTP id E0C741800122 for ; Tue, 6 Jan 2004 22:38:16 +0100 (CET) Message-ID: <3FFB2B0A.70107@free.fr> Date: Tue, 06 Jan 2004 22:39:22 +0100 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] segfault in current cvs References: <20040106202937.GP3483@suse.de> In-Reply-To: <20040106202937.GP3483@suse.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, I made no tests of the current release of QEMU on PowerPC. I will try to debug it before releasing the 0.5.2 (during this week if everything is OK). Was the 0.5.1 working correctly with a Linux image ? Fabrice. Jens Axboe wrote: > Hi, > > Tried to launch a win98 iso, but it segfaults right away. No matter what > I try, I get this: > > axboe@apu:[.]boe/qemu-cvs/i386-softmmu $ gdb ./qemu > GNU gdb 6.0-debian > Copyright 2003 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. > This GDB was configured as "powerpc-linux"... > (gdb) r -kernel ~axboe/bzImage-2.4.20 > Starting program: /home/axboe/qemu-cvs/i386-softmmu/qemu -kernel > ~axboe/bzImage-2.4.20 > [New Thread 16384 (LWP 15913)] > warning: could not open /dev/net/tun: no virtual network emulation > Load kernel at 0x30183008 (0x00100000) > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 16384 (LWP 15913)] > cpu_x86_exec (env1=0x0) at /home/axboe/qemu-cvs/cpu-exec.c:323 > 323 tb->cs_base = (unsigned long)cs_base; > (gdb) p tb > $1 = (TranslationBlock *) 0x0 > (gdb) p cs_base > $2 = (uint8_t *) 0x0 > (gdb) > > which looks odd, given the !tb check just a few lines up. I'm using: > > axboe@apu:/home/axboe $ gcc --version > gcc (GCC) 3.3.3 20031229 (prerelease) (Debian) >