Received: from eggs.gnu.org ([2001:4830:134:3::10]:58233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhjnY-0006dy-W5 for qemu-devel@nongnu.org; Thu, 01 Oct 2015 15:45:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZhjnV-00055k-OK for qemu-devel@nongnu.org; Thu, 01 Oct 2015 15:45:48 -0400 Received: from indium.canonical.com ([91.189.90.7]:43049) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhjnV-00055b-J3 for qemu-devel@nongnu.org; Thu, 01 Oct 2015 15:45:45 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1ZhjnU-0008E4-4P for ; Thu, 01 Oct 2015 19:45:44 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 0EBA52E80C7 for ; Thu, 1 Oct 2015 19:45:44 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Thu, 01 Oct 2015 19:40:00 -0000 From: Dubravko <1484925@bugs.launchpad.net> Sender: bounces@canonical.com References: <20150814122340.5606.46979.malonedeb@gac.canonical.com> Message-Id: <20151001194000.1840.17496.malone@wampee.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1484925] Re: Segfault with custom vnc client Reply-To: Bug 1484925 <1484925@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, Did you resolve your problem? Because I have the same issus.. Dubravko -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1484925 Title: Segfault with custom vnc client Status in QEMU: New Bug description: Hey, I'm using Citrix XenServer 6.5. I worte a script that uses noVNC to connect to the rfb console via xapi. When I use GRML and try to boot it, the QEMU process segfaults and kills my VM. This happens when the screen resizes and the kernel is loading: recvfrom(3, "\3\1\0\0\0\0\2\200\1\220\3\0\2\200\0\0\0P\1\220", 4096, 0, N= ULL, NULL) =3D 20 --- SIGSEGV {si_signo=3DSIGSEGV, si_code=3DSEGV_MAPERR, si_addr=3D0xb2800= 0} --- I can see in the child process the following message, right before the pa= rent Segfaults: read(4, "cirrus: blanking the screen line_offset=3D0 height=3D480\n", 53)= =3D 53 This issue only happens, when I have my custom php/novnc-client connected. I also tried the nodejs/novnc package from xen-orchestra - same result. Using the stock client from Citrix XenCenter it works just fine. So I think it is related to noVNC. I hope this is just a bug and not exploitable to force a VM to crash or execute code. XenServer launches the qemu with the following command line: qemu-dm-25 --syslog -d 25 -m 2048 -boot dc -serial pty -vcpus 1 -videoram 4 -vncunused -k en-us -vnc 127.0.0.1:1 -usb -usbdevice tablet -net nic,vlan=3D0,macaddr=3D8a:43:e2:b1:57:df,model=3Drtl8139 -net tap,vlan=3D0,bridge=3Dxenbr0,ifname=3Dtap25.0 -acpi -monitor pty XenServer 6.5 is using the following version: # /usr/lib64/xen/bin/qemu-dm -help QEMU PC emulator version 0.10.2, Copyright (c) 2003-2008 Fabrice Bellard Greetings Uli St=C3=A4rk To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1484925/+subscriptions