qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [BUG] Crash in cirrus_do_copy() with cirrus_blt_srcpitch ==


From: Stuart Brady
Subject: [Qemu-devel] [BUG] Crash in cirrus_do_copy() with cirrus_blt_srcpitch == 0
Date: Sat, 14 Mar 2009 14:01:40 +0000
User-agent: Mutt/1.5.13 (2006-08-11)

Hi,

Windows NT 4.0 SP1 crashes in cirrus_do_copy() when attempting to
apply display settings (i.e. depth/resolution) at the following point:

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0x7f6197c066e0 (LWP 31336)]
0x000000000045d1cf in cirrus_bitblt_start (s=0x2ac8240)
    at /home/sdb/src/qemu/qemu-svn/hw/cirrus_vga.c:733
733         sx = (src % ABS(s->cirrus_blt_srcpitch)) / depth;
(gdb) print s->cirrus_blt_srcpitch
$1 = 0
(gdb) print s->cirrus_blt_dstpitch
$2 = 1

I'm not sure whether NT is just being silly, here.  If it is, then I
suppose we would need to add a check for srcpitch != 0 and dstpitch != 0
to BLTUNSAFE()...

Any thoughts?

Cheers,
-- 
Stuart Brady




reply via email to

[Prev in Thread] Current Thread [Next in Thread]