Re: [Qemu-devel] VNC memory corruption during resolution change

2014-06-27 Thread Peter Lieven
Found the issue: during resolution change in Windows 7 it happens sometimes that it changes to an intermediate resolution where server_stride % cmp_bytes != 0. The problem that causes memory corruption is where the guest fb is copied to the server fb. It can easily be fixed truncating cmp_by

[Qemu-devel] VNC memory corruption during resolution change

2014-06-26 Thread Peter Lieven
Hi all, while playing around with the vmware vga driver I noticed that there seems to be a race condition when the resolution is changed. I was able to trigger this also with std vga. Attached valgrind produces always an output similar to this: ==3346== Thread 1: ==3346== Invalid read of size 8