[ kvm-Bugs-2725367 ] KVM userspace segfaults due to internal VNC server

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

 



Bugs item #2725367, was opened at 2009-04-01 18:57
Message generated for change (Comment added) made by jessorensen
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2725367&group_id=180599

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: qemu
Group: None
>Status: Closed
>Resolution: Works For Me
Priority: 8
Private: No
Submitted By: Technologov (technologov)
Assigned to: Nobody/Anonymous (nobody)
Summary: KVM userspace segfaults due to internal VNC server

Initial Comment:
KVM's internal VNC server is unstable.

When running KVM (KVM-84 or 85rc2), the userspace segfaults when I try to connect to it with VNC client.
Only some VNC clients can trigger it. It happens on both Intel & AMD.
I used TightVNC 1.3 client for Linux 64-bit.
No problems happen with SDL rendering.

Host: Intel Core 2 CPU, KVM-85rc2, Fedora 7 x64
Guest: Windows XP SP2 32-bit

The Command sent to Qemu/KVM: 
/usr/local/bin/qemu-system-x86_64 -m 256 -monitor tcp:localhost:4502,server,nowait -cdrom /isos/windows/WindowsXP-sp2-vlk.iso  -hda /vm/winxp.qcow2 -name WindowsXP -vnc :1

GDB output:
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912498463376 (LWP 18803)]
0x0000000000438cfc in vga_draw_line24_32 (s1=<value optimized out>,
    d=0x2aaabc822000 <Address 0x2aaabc822000 out of bounds>,
    s=0x2aaabb3eeef7 "", width=36)
    at /root/Linstall/kvm-85rc2/qemu/hw/vga_template.h:484
484             ((PIXEL_TYPE *)d)[0] = glue(rgb_to_pixel, PIXEL_NAME)(r, g, b);
(gdb) bt
#0  0x0000000000438cfc in vga_draw_line24_32 (s1=<value optimized out>,
    d=0x2aaabc822000 <Address 0x2aaabc822000 out of bounds>,
    s=0x2aaabb3eeef7 "", width=36)
    at /root/Linstall/kvm-85rc2/qemu/hw/vga_template.h:484
#1  0x0000000000437b0d in vga_update_display (opaque=<value optimized out>)
    at /root/Linstall/kvm-85rc2/qemu/hw/vga.c:1767
#2  0x0000000000490c45 in vnc_listen_read (opaque=0x2aaabb3eeef7) at vnc.c:2020
#3  0x00000000004093dc in main_loop_wait (timeout=<value optimized out>)
    at /root/Linstall/kvm-85rc2/qemu/vl.c:3818
#4  0x000000000051724a in kvm_main_loop ()
    at /root/Linstall/kvm-85rc2/qemu/qemu-kvm.c:588
#5  0x000000000040e28a in main (argc=13, argv=0x7fff25e77658,
    envp=<value optimized out>) at /root/Linstall/kvm-85rc2/qemu/vl.c:3875
(gdb) c
Continuing.


Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb)
The program is not being run.

-Alexey

----------------------------------------------------------------------

>Comment By: Jes Sorensen (jessorensen)
Date: 2011-03-03 11:08

Message:
Connecting to KVM session using tightvnc works just fine here.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2725367&group_id=180599
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux