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)