From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:41559) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0rBt-0006GA-Mn for qemu-devel@nongnu.org; Tue, 06 Sep 2011 04:39:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R0rBr-0000rj-EC for qemu-devel@nongnu.org; Tue, 06 Sep 2011 04:39:33 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:57468) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0rBr-0000rW-9W for qemu-devel@nongnu.org; Tue, 06 Sep 2011 04:39:31 -0400 Message-ID: <4E65DC3F.6090508@mail.berlios.de> Date: Tue, 06 Sep 2011 10:39:27 +0200 From: Stefan Weil MIME-Version: 1.0 References: <1315213496.4e6490b806d4b@webmail.inmano.com> <1315296696.4e65d5b863050@webmail.inmano.com> In-Reply-To: <1315296696.4e65d5b863050@webmail.inmano.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] qemu segfaults at start List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: octane indice Cc: qemu-devel@nongnu.org Am 06.09.2011 10:11, schrieb octane indice: > $ 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 > > 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 > 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 > /usr/local/bin/qemu is stripped because it was installed with make install, so there is no useful debugging information. Please look for the unstripped i386-softmmu/qemu executable in your build path and run it using gdb. Regards, Stefan Weil