[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 10:11:36 +0200

En réponse à Stefan Hajnoczi <address@hidden> :
> > qemu disk.img
> > Segmentation fault
> Please post the backtrace as well as your host operating
> system
> version (e.g. Fedora 15):
> 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=/usr --libdir=/usr/lib 
shared --enable-bootstrap --enable-languages=ada,c,c++,fortran,java,objc --
enable-threads=posix --enable-checking=release --with-system-zlib --with-
python-dir=/lib/python2.6/site-packages --disable-libunwind-exceptions --
enable-__cxa_atexit --enable-libssp --with-gnu-ld --verbose --with-arch=i486 -
-target=i486-slackware-linux --build=i486-slackware-linux --host=i486-
Thread model: posix
gcc version 4.4.4 (GCC)
$ uname -a
Linux aspireone #2 SMP Wed May 12 22:47:36 CDT 2010 i686 
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 one for 
the purpose:
$ dd if=/dev/zero of=disk.img bs=1024k count=1

$ gdb --args qemu disk.img -vnc
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 
(gdb) r
Starting program: /usr/local/bin/qemu disk.img -vnc
[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

And exact same bt if I launch with qemu -hda disk.img

HTH, thanks

Envoyé avec Inmano, ma messagerie renversante et gratuite : 

reply via email to

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