Created attachment 128726 [details]
spice server crashes when resize a win7 guest to higher resolution
current master 0ace8a81c7d673b8a82a75358eb434db3b197486
Regression since a43c21b6bcdda701763afb6d73e38a3c419e54c7
DCC: change how fill_bits() marshalls data by reference
and image compression has to be 'off'
Got some reproduction just:
- using --spice-preferred-compression=off in remote-viewer;
- maximizing remote-viewer;
- doing some "Zoom out".
However I'm getting different crashes in different part of the code (image-cache, display-channel, red-pipe-item).
Trying with address sanitizer you get even different results.
Looks like some code assumption causing an invalid internal state.
yeah, zooming out in fullscreen causes increase of resolution.
virt-viewer -a -f -z 50 --spice-preferred-compression=off
remote-viewer -f -z 50 --spice-preferred-compression=off
https://lists.freedesktop.org/archives/spice-devel/2017-January/034801.html and https://lists.freedesktop.org/archives/spice-devel/2017-January/034802.html fix the issue.