From: Stefan Weil <weil@mail.berlios.de>
To: octane indice <octane@alinto.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu segfaults at start
Date: Tue, 06 Sep 2011 10:39:27 +0200 [thread overview]
Message-ID: <4E65DC3F.6090508@mail.berlios.de> (raw)
In-Reply-To: <1315296696.4e65d5b863050@webmail.inmano.com>
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
> <http://gnu.org/licenses/gpl.html>
> 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:
> <http://www.gnu.org/software/gdb/bugs/>...
> 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
next prev parent reply other threads:[~2011-09-06 8:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-05 9:04 [Qemu-devel] qemu segfaults at start octane indice
2011-09-05 12:53 ` Stefan Hajnoczi
2011-09-06 8:11 ` octane indice
2011-09-06 8:39 ` Stefan Weil [this message]
2011-09-06 11:18 ` octane indice
2011-09-06 9:26 ` Stefan Hajnoczi
2011-09-06 11:19 ` octane indice
2011-09-06 19:29 ` Mulyadi Santosa
2011-09-05 18:37 ` Mulyadi Santosa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E65DC3F.6090508@mail.berlios.de \
--to=weil@mail.berlios.de \
--cc=octane@alinto.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).