Skip to contentSkip to conversation

Cirrus VGA regression bug

Qemu-devel Alexandre CABROL PERALES 1 participant 2 messages Aug 10, 2009

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everybody i try to use Windows NT 4.0
with qemu.

I tested with qemu 0.10.6 and vm crash on screen resolution resize (switch from 640x480 16bits to 1280x1024 65536).

I made the same test with qemu 0.9.1 and it works well. find attached gdb qemu 0.10.6 trace about cirrus crash.

please can you fix it ?
- --
Alexandre CABROL PERALES
- --
Ingenieur Securite des Systemes d'Information

Mob. :    06.98.82.03.06
Mail :    [email protected]

Key fingerprint = 1E6B B8DF 5001 A6A8 E057 9D31 7B3B EAB1 4AE4 8953
- --
ARTAL Technologies

Rue Pierre-Gilles de Gennes
Ens."La Rue", Bat. 9, BP 38138
31681 Labege cedex

Tel. :    05.61.00.39.30
Fax :     05.61.00.20.43

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkqAfrUACgkQezvqsUrkiVPqEgCdEMw5UblMtE9sGF+f1gvL348R LzMAn1ZwliP4M2ZzrgfRiDywq/2dR5Mr
=cMOb
-----END PGP SIGNATURE-----

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0x7f48c91566e0 (LWP 31712)]
0x000000000045b2d2 in cirrus_bitblt_start (s=0x237b240) at /opt/qemu-0.10.6/hw/cirrus_vga.c:733
733 sx = (src % ABS(s->cirrus_blt_srcpitch)) / depth;

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

i changed code with code from 0.9.1
from line 733 to 736:

    /* extra x, y */
    sx = (src % (width * depth)) / depth;
    sy = (src / (width * depth));
    dx = (dst % (width *depth)) / depth;
    dy = (dst / (width * depth));

qemu doesn't crash but i still have only winnt background screen (seems refresh on display doesn't work well).

Quoted 10 lines · Alexandre CABROL PERALES

Hi everybody i try to use Windows NT 4.0
with qemu.

I tested with qemu 0.10.6 and vm crash on screen resolution resize (switch from 640x480 16bits to 1280x1024 65536).

I made the same test with qemu 0.9.1 and it works well. find attached gdb qemu 0.10.6 trace about cirrus crash.

please can you fix it ?

- --
Alexandre CABROL PERALES
- --
Ingenieur Securite des Systemes d'Information

Mob. :    06.98.82.03.06
Mail :    [email protected]

Key fingerprint = 1E6B B8DF 5001 A6A8 E057 9D31 7B3B EAB1 4AE4 8953
- --
ARTAL Technologies

Rue Pierre-Gilles de Gennes
Ens."La Rue", Bat. 9, BP 38138
31681 Labege cedex

Tel. :    05.61.00.39.30
Fax :     05.61.00.20.43

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkqAh5oACgkQezvqsUrkiVPRhwCfVay6TnzO6eAirlbvRXC2tHH7 I1oAmgM3/MPMpxFKTzyTtAyWv+KWutzQ
=PbWZ
-----END PGP SIGNATURE-----