[Bug 14897] Jojo's Fashion Show 2: Las Cruces demo crashes when starting

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Nov 12 08:55:24 CST 2016


https://bugs.winehq.org/show_bug.cgi?id=14897

Kimmo Myllyvirta <kimmo.myllyvirta at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kimmo.myllyvirta at gmail.com

--- Comment #13 from Kimmo Myllyvirta <kimmo.myllyvirta at gmail.com> ---
Created attachment 56110
  --> https://bugs.winehq.org/attachment.cgi?id=56110
hack patch

The game passes completely uninitalized DDSURFACEDESC2 (dwSize = whatever was
in stack) to IDirectDrawSurface7::Lock.

trace:ddraw:ddraw_surface7_Lock iface 0x1369c98, rect (null), surface_desc
0x33e860, flags 0x21, h (nil).
warn:ddraw:ddraw_surface7_Lock Invalid structure size 3403136, returning
DDERR_INVALIDPARAMS
wine: Unhandled page fault on write access to 0x00000000 at address 0x5f7c33
(thread 0009), starting debugger...

With the attached patch the game starts up.
Is setting the dwSize actually required when calling IDirectDrawSurface7::Lock?

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list