[Bug 27503] Dungeon Keeper II crashes with Wine default Windows version 'Windows XP' (SafeDisc 1.x secdrv.sys doesn't support Windows version > Win2000)

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jul 4 02:24:57 CDT 2011


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

--- Comment #11 from Anastasius Focht <focht at gmx.net> 2011-07-04 02:24:55 CDT ---
Hello,

it seems there is something wrong with the unwrapping of encrypted game
executable ("C:\\Program Files\\Bullfrog\\Dungeon Keeper 2\\DKII.ICD").

The process is started suspended by design and the main thread context should
be modified by parent process to load a safedisc helper (dplayerx.dll) instead
of calling entry point.
This never happens in your case hence the process immediately crashes on entry
point when the main thread is resumed because the code there is junk by design
(encrypted).

I don't see any WriteProcessMemory() call into remote process nor the SafeDisc
dplayerx.dll getting mapped.
The reason could be that the parent fails to capture the thread context of
child main thread.

Can you do additional trace log additionally with +server:

-> make sure nothing is running before: wineserver -k
-> then: WINEDEBUG=+tid,+seh,+ntoskrnl,+service,+relay,+server wine ./DKII.exe
>>log.txt 2>&1

and attach to this bug ...

Regards

-- 
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