qemu-1.5.3 segment fault with -vga qxl
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
Bug Description
execute " qemu-system-x86_64 -enable-kvm -machine accel=kvm:tcg -m 1G -drive file=/dev/sda --full-screen -spice addr=127.
IF excute "spicec -h 127.0.0.1 -p 5900 " immediately !!!! after the qemu-system-x86_64 execution, then no segment fault happens and it runs well.
=======
GDB output:
root@kali-john:~# gdb /usr/local/
GNU gdb (GDB) 7.4.1-debian
(gdb) run -enable-kvm -machine accel=kvm:tcg -m 1G -drive file=/dev/sda --full-screen -spice addr=127.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
[New Thread 0x7ffff3737700 (LWP 14797)]
[New Thread 0x7ffff2d54700 (LWP 14798)]
[New Thread 0x7ffff0fff700 (LWP 14799)]
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff683ad70 in pixman_
(gdb) bt
#0 0x00007ffff683ad70 in pixman_
#1 0x000055555581060a in surface_data (s=0x5555566183a0) at /zh-download/
#2 0x0000555555818616 in vga_draw_graphic (s=0x55555662c778, full_update=1) at /zh-download/
#3 0x0000555555818c6a in vga_update_display (opaque=
#4 0x000055555580eb15 in qxl_hw_update (opaque=
#5 0x00005555557bd6bc in graphic_hw_update (con=0x55555661
#6 0x00005555557c8426 in qemu_spice_
#7 0x000055555580eff0 in display_refresh (dcl=0x55555662
#8 0x00005555557c0cb1 in dpy_refresh (s=0x555556618370) at ui/console.c:1436
#9 0x00005555557bd3af in gui_update (opaque=
#10 0x0000555555797f20 in qemu_run_timers (clock=
#11 0x0000555555798183 in qemu_run_all_timers () at qemu-timer.c:453
#12 0x0000555555760bb7 in main_loop_wait (nonblocking=0) at main-loop.c:470
#13 0x00005555557cd19c in main_loop () at vl.c:2029
#14 0x00005555557d43f2 in main (argc=13, argv=0x7fffffff
(gdb)
=======
http://
http://
spice compiling
./configure --enable-
qemu-1.5.3
compiling
./configure \
--disable-strip --enable-debug \
--target-
--disable-sdl --audio-
--disable-seccomp --disable-glusterfs --disable-libssh2 --disable-
--disable-
\
--enable-kvm --enable-spice --enable-system --enable-
root@kali-john:~# qemu-system-x86_64 -version
QEMU emulator version 1.5.3, Copyright (c) 2003-2008 Fabrice Bellard
/usr/local/ bin/qemu- system- x86_64 -enable-kvm -machine accel=kvm:tcg -m 1G -drive file=/dev/sda -vga qxl
will give same error