[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu segfaults at start
From: |
octane indice |
Subject: |
Re: [Qemu-devel] qemu segfaults at start |
Date: |
Tue, 06 Sep 2011 13:18:13 +0200 |
En réponse à Stefan Weil <address@hidden> :
> /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.
>
$ gdb --args /usr/src/qemu-0.15.0/i386-softmmu/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/src/qemu-0.15.0/i386-softmmu/qemu...done.
(gdb) r
Starting program: /usr/src/qemu-0.15.0/i386-softmmu/qemu disk.img -vnc
127.0.0.1:1
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
raise_interrupt (intno=8, is_int=0, error_code=0, next_eip_addend=0)
at /usr/src/qemu-0.15.0/target-i386/op_helper.c:1375
1375 env->exception_index = intno;
(gdb) bt
#0 raise_interrupt (intno=8, is_int=0, error_code=0, next_eip_addend=0)
at /usr/src/qemu-0.15.0/target-i386/op_helper.c:1375
#1 0x081a9b50 in raise_exception_err (exception_index=13, error_code=8)
at /usr/src/qemu-0.15.0/target-i386/op_helper.c:1386
#2 0xcdb0e012 in ?? ()
#3 0x00000071 in ?? ()
#4 0x0000008f in ?? ()
#5 0x00000000 in ?? ()
(gdb) info reg
eax 0xbfffeee8 -1073746200
ecx 0x1 1
edx 0x0 0
ebx 0x8 8
esp 0xbfffee30 0xbfffee30
ebp 0xbfffeee8 0xbfffeee8
esi 0x0 0
edi 0x0 0
eip 0x81a94c1 0x81a94c1 <raise_interrupt+177>
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)
> Regards,
> Stefan Weil
>
I hope there's more to understand.
Thanks
Envoyé avec Inmano, ma messagerie renversante et gratuite :
http://www.inmano.com
Re: [Qemu-devel] qemu segfaults at start, Mulyadi Santosa, 2011/09/05