qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] qemu segfaults at start


From: Stefan Weil
Subject: Re: [Qemu-devel] qemu segfaults at start
Date: Tue, 06 Sep 2011 10:39:27 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110818 Iceowl/1.0b1 Icedove/3.0.11

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]