http://bugs.winehq.org/show_bug.cgi?id=27503
--- Comment #11 from Anastasius Focht focht@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