[Bug 32951] Warlords III demo crashes on exit

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Feb 14 13:52:28 CST 2013


http://bugs.winehq.org/show_bug.cgi?id=32951

--- Comment #4 from Rico <kgbricola at web.de> 2013-02-14 13:52:28 CST ---
Created attachment 43564
  --> http://bugs.winehq.org/attachment.cgi?id=43564
hack to prevent the crash

Somehow the game detaches the ddraw.dll and tries to use the interface.
Probably as long as some reference is left in the ddraw interface, we shouldn't
detach the dll? A test might bring in some light. Could you try the attached
patch?


/* DLL_PROCESS_DETACH */
0009:trace:ddraw:DllMain (0x7e700000,0,0x1)
0009:warn:ddraw:DllMain There are still existing DirectDraw interfaces. Wine
bug or buggy application?
0009:warn:ddraw:DllMain DDraw 0x12b6b0 has a refcount of 1
...
0009:trace:ddraw:ddraw7_SetCooperativeLevel iface 0x12b6b0, window (nil), flags
0x8.
0009:trace:ddraw:DDRAW_dump_cooperativelevel  - DDSCL_NORMAL 
0009:trace:ddraw:ddraw_attach_d3d_device ddraw 0x12b6b0.
0009:warn:ddraw:ddraw_attach_d3d_device No window for the Direct3DDevice,
created hidden window 0x30074.
0009:trace:ddraw:device_parent_create_swapchain device_parent 0x12b6d0, desc
0x32f884, swapchain 0x32f7b0.
0009:trace:ddraw:device_parent_create_swapchain_surface device_parent 0x12b6d0,
container_parent (nil), width 800, height 600, format_id 0xa, usage 0x1,
    multisample_type 0, multisample_quality 0, surface 0x13d410.
wine: Unhandled page fault on read access to 0x00000001 at address 0x7e73d199
(thread 0024), starting debugger...

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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