Received: from eggs.gnu.org ([140.186.70.92]:54017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0qq5-00021P-KS for qemu-devel@nongnu.org; Tue, 06 Sep 2011 04:17:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R0qq2-0004jA-Fy for qemu-devel@nongnu.org; Tue, 06 Sep 2011 04:17:01 -0400 Received: from mx4-v2.alinto.net ([83.145.109.34]:60506) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0qkv-0003zh-Hv for qemu-devel@nongnu.org; Tue, 06 Sep 2011 04:11:41 -0400 Message-ID: <1315296696.4e65d5b863050@webmail.inmano.com> Date: Tue, 06 Sep 2011 10:11:36 +0200 From: octane indice In-Reply-To: References: <1315213496.4e6490b806d4b@webmail.inmano.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] qemu segfaults at start List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: qemu-devel@nongnu.org En r=E9ponse =E0 Stefan Hajnoczi : > > qemu disk.img > > Segmentation fault >=20 > Please post the backtrace as well as your host operating > system > version (e.g. Fedora 15): >=20 > gdb --args qemu disk.img > (gdb) r > ...runs and crashes... > (gdb) bt > Thanks for the help, here the infos: I run under slackware 13.1 $ gcc -v Reading specs from /usr/lib/gcc/i486-slackware-linux/4.4.4/specs Target: i486-slackware-linux Configured with: ../gcc-4.4.4/configure --prefix=3D/usr --libdir=3D/usr/l= ib --enable- shared --enable-bootstrap --enable-languages=3Dada,c,c++,fortran,java,obj= c -- enable-threads=3Dposix --enable-checking=3Drelease --with-system-zlib --w= ith- python-dir=3D/lib/python2.6/site-packages --disable-libunwind-exceptions = -- enable-__cxa_atexit --enable-libssp --with-gnu-ld --verbose --with-arch=3D= i486 - -target=3Di486-slackware-linux --build=3Di486-slackware-linux --host=3Di4= 86- slackware-linux Thread model: posix gcc version 4.4.4 (GCC) $ uname -a Linux aspireone 2.6.33.4-smp #2 SMP Wed May 12 22:47:36 CDT 2010 i686=20 Intel(R) Atom(TM) CPU N270 @ 1.60GHz GenuineIntel GNU/Linux -I'm remote, so I use vnc, but even in local it does the same. -In order to prove it's not related to the disk used, I create an empty o= ne for=20 the purpose: $ dd if=3D/dev/zero of=3Ddisk.img bs=3D1024k count=3D1 $ gdb --args qemu disk.img -vnc 127.0.0.1:1 GNU gdb (GDB) 7.1 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later=20 This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying= " and "show warranty" for details. This GDB was configured as "i486-slackware-linux". For bug reporting instructions, please see: ... Reading symbols from /usr/local/bin/qemu...(no debugging symbols=20 found)...done. (gdb) r Starting program: /usr/local/bin/qemu disk.img -vnc 127.0.0.1:1 [Thread debugging using libthread_db enabled] Program received signal SIGSEGV, Segmentation fault. 0x081a94c1 in ?? () (gdb) bt #0 0x081a94c1 in ?? () #1 0xb58af3e7 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) info reg eax 0xbfffef08 -1073746168 ecx 0x1 1 edx 0x0 0 ebx 0x8 8 esp 0xbfffee50 0xbfffee50 ebp 0xbfffef08 0xbfffef08 esi 0x0 0 edi 0x0 0 eip 0x81a94c1 0x81a94c1 eflags 0x210246 [ PF ZF IF RF ID ] cs 0x73 115 ss 0x7b 123 ds 0x7b 123 es 0x7b 123 fs 0x0 0 gs 0x33 51 (gdb) And exact same bt if I launch with qemu -hda disk.img HTH, thanks Envoy=E9 avec Inmano, ma messagerie renversante et gratuite : http://www.= inmano.com