http://bugs.winehq.org/show_bug.cgi?id=32329
Bug #: 32329 Summary: RegOpenKeyExW causes dll initializations to fail Product: Wine Version: 1.5.18 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: advapi32 AssignedTo: wine-bugs@winehq.org ReportedBy: tom.gankema@gmail.com Classification: Unclassified
I encountered this problem when trying to run a cracked version of Football Manager 2013, this game works under windows though. The errors I got look like:
err:module:attach_process_dlls "mpr.dll" failed to initialize, aborting
Tried to trace it down and it seems to be caused by the RegOpenKeyExW function, which is called somewhere in the initialization of the dll. When changing the call to RegOpenKeyExA the problem seems to be solved, but I am not knowledgeable to see what side effects this might have. The same problem occurs for other dll initializations for this game.
So it seems to be an ansi / unicode error which not exists under windows.
http://bugs.winehq.org/show_bug.cgi?id=32329
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com 2012-11-29 18:33:34 CST --- Can you reproduce the issue without a cracked game? Otherwise the bug will be closed wontfix/invalid.
http://bugs.winehq.org/show_bug.cgi?id=32329
--- Comment #2 from tom.gankema@gmail.com 2012-12-01 17:50:23 CST --- No, I'm afraid I can't. Maybe someone else can, but for now this may be closed I guess.
http://bugs.winehq.org/show_bug.cgi?id=32329
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com 2012-12-01 21:27:19 CST --- Resolving WONTFIX for now by the same argument from bug 32026. If someone can reproduce the issue with the original game feel free to reopen.
http://bugs.winehq.org/show_bug.cgi?id=32329
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Austin English austinenglish@gmail.com 2012-12-10 13:24:25 CST --- Closing.
http://bugs.winehq.org/show_bug.cgi?id=32329
--- Comment #5 from Denis dvtikhomirov@gmail.com 2012-12-25 15:24:49 CST --- Created attachment 42939 --> http://bugs.winehq.org/attachment.cgi?id=42939 Log of running "Of Orcs and Men" with +seh,+relay
http://bugs.winehq.org/show_bug.cgi?id=32329
--- Comment #6 from Denis dvtikhomirov@gmail.com 2012-12-25 15:25:28 CST --- It looks like this bug reproduces in "Of Orcs and Men" game. I have steam version and it fails with similar symptoms - a call of RegOpenKeyExW(), exception right after its return, then message about exception in PE entry point and attach_process_dlls abort.
You can find log (with +seh,+relay) in attachement. RegOpenKeyExW() with exception is in line 111714, exception in PE entry point - in line 112047, attach_process_dlls abort - in line 112168.