ddraw bug

Raphaël Junqueira fenix at club-internet.fr
Sat Jun 7 11:20:27 CDT 2003


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

Hi,
> I just tried running Laser Squad Nemesis and got a
> crash:
>
> Unhandled exception: page fault on read access to
> 0x00000004 in 32-bit code (0x40bb8ad3).
> In 32-bit mode.
> 0x40bb8ad3 (HAL_DirectDrawSurface_Construct+0xd3
> [hal.c:127] in ddraw.dll.so): cmpb
> $0x0,0x4(%eax)
> 127             if (!(dd_gbl->dwFlags &
> DDRAWI_MODECHANGED)) {
> Wine-dbg>
> wine_dbg_cmd: Ctrl-C
> Ctrl-C: stopping debuggee
> [hatky at n Laser Squad Nemesis]$ WineDbg terminated on
> pid 8
>
> I just guess it means the code need to check for null
> or something...

well, for what i know of that code 'dd_gbl' should never be null.
If it's NULL you may have a huge integrity problem in ddraw ;(

Have anyone the same behavior ?

> Thought that would be of interest (since there is a
> lot of display work for games lately),
> Hatky.

Regards,
Raphael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+4hDPp7NA3AmQTU4RAgomAJ4gE3RizPzNGWVJvRCM3NCVv2wAFgCfROhh
Vj85waS4/SE3PfVXGax1k8w=
=tIvW
-----END PGP SIGNATURE-----



More information about the wine-devel mailing list