From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K2900-0006pi-If for qemu-devel@nongnu.org; Fri, 30 May 2008 14:06:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K28zz-0006pW-Tw for qemu-devel@nongnu.org; Fri, 30 May 2008 14:06:44 -0400 Received: from [199.232.76.173] (port=53978 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K28zz-0006pT-Op for qemu-devel@nongnu.org; Fri, 30 May 2008 14:06:43 -0400 Received: from wa-out-1112.google.com ([209.85.146.176]:19088) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K28zy-0001A7-RT for qemu-devel@nongnu.org; Fri, 30 May 2008 14:06:43 -0400 Received: by wa-out-1112.google.com with SMTP id j5so4303470wah.18 for ; Fri, 30 May 2008 11:06:41 -0700 (PDT) Message-ID: <83a4d4ca0805301106q2d605edbj5d8e0692860f98a3@mail.gmail.com> Date: Fri, 30 May 2008 20:06:41 +0200 From: "Eduardo Felipe" Subject: Re: [Qemu-devel] VNC Segfault : was Re: Segfault installing Windows XP 32 Bit guest on Linux 64Bit host In-Reply-To: <48403DD3.80207@codemonkey.ws> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1615_28291114.1212170801086" References: <483FF110.7020604@wasp.net.au> <48400DB0.2080407@wasp.net.au> <48401135.80009@wasp.net.au> <4840141D.2060504@codemonkey.ws> <48403383.6080807@wasp.net.au> <48403DD3.80207@codemonkey.ws> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ------=_Part_1615_28291114.1212170801086 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 2008/5/30 Anthony Liguori : > Brad Campbell wrote: > >> Anthony Liguori wrote: >> >> Ok, this is a general VNC explosion. If I compile it with libSDL and run >>>> a standard SDL window over X then it works fine. As soon as I add -vnc :2 to >>>> the command line it blows up in the same place. >>>> >>> >>> Is this the latest SVN? There was a recent SEGV fix for VNC. >>> >> >> Yep >> brad@srv-64:~/src/qemu$ svn up >> At revision 4622. >> >> It's very easily reproducible here, I'll have some time tomorrow to look >> at it closer and see if I can fix it. >> > > How are you reproducing it? With what client? > > This seems related to a problem discussed here some time ago: http://lists.gnu.org/archive/html/qemu-devel/2007-10/msg00104.html If it is so, to reproduce it just use a client without DesktopSize pseudoencoding and tell the guest OS to scale down his window. A segfault will follow in the next SetPixelFormat received by qemu. Regards, Edu P.S. (I don't know if my original patch already applies) ------=_Part_1615_28291114.1212170801086 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

2008/5/30 Anthony Liguori <anthony@codemonkey.ws>:
Brad Campbell wrote:
Anthony Liguori wrote:

Ok, this is a general VNC explosion. If I compile it with libSDL and run a standard SDL window over X then it works fine. As soon as I add -vnc :2 to the command line it blows up in the same place.

Is this the latest SVN?  There was a recent SEGV fix for VNC.

Yep
brad@srv-64:~/src/qemu$ svn up
At revision 4622.

It's very easily reproducible here, I'll have some time tomorrow to look at it closer and see if I can fix it.

How are you reproducing it?  With what client?


This seems related to a problem discussed here some time ago:

http://lists.gnu.org/archive/html/qemu-devel/2007-10/msg00104.html

If it is so, to reproduce it just use a client without DesktopSize pseudoencoding and tell the guest OS to scale down his window. A segfault will follow in the next SetPixelFormat received by qemu.

Regards,
Edu

P.S. (I don't know if my original patch already applies) ------=_Part_1615_28291114.1212170801086--