http://bugs.winehq.org/show_bug.cgi?id=15437
Summary: Company of Heroes Opposing Fronts: Installer fails Product: Wine Version: 1.1.5 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: xvachon@gmail.com
Created an attachment (id=16303) --> (http://bugs.winehq.org/attachment.cgi?id=16303) log
Installation of the game is not possible. Exception EAccessViolation error in module GameInst.exe happens. According to test data the game had to be installed from a Windows installation in order to be played. A log is attached.
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #1 from Lei Zhang thestig@google.com 2008-09-29 16:11:33 --- Same problem with the demo? http://www.gamershell.com/download_22134.shtml
Do you have pulseaudio, does turning it off help?
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #2 from Xavier Vachon xvachon@gmail.com 2008-09-29 16:22:27 --- (In reply to comment #1)
Same problem with the demo? http://www.gamershell.com/download_22134.shtml
Do you have pulseaudio, does turning it off help?
Pulseaudio is always off. This is why in the log it says "connection refused".
I am not sure why I should use the demo setup when I am already trying with the whole game.
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #3 from Lei Zhang thestig@google.com 2008-09-29 16:32:45 --- If the demo has the same problem, Wine developers can examine the bug using the demo version without buying the game.
http://bugs.winehq.org/show_bug.cgi?id=15437
Xavier Vachon xvachon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #16303|0 |1 is obsolete| |
--- Comment #4 from Xavier Vachon xvachon@gmail.com 2008-11-03 19:37:46 --- Created an attachment (id=17074) --> (http://bugs.winehq.org/attachment.cgi?id=17074) Updated log
I am still having this issue with Intrepid Ibex / Wine 1.1.7. The output is slightly different, I have uploaded it and marked the former as obsolete. I have a "killall pulseaudio" command in my startup menu, hence pulseaudio does not seem to be the issue here. I have not tested with the demo yet, but I will soon and post the results.
http://bugs.winehq.org/show_bug.cgi?id=15437
Xavier Vachon xvachon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #17074|0 |1 is obsolete| |
--- Comment #5 from Xavier Vachon xvachon@gmail.com 2008-12-24 13:00:26 --- Created an attachment (id=18180) --> (http://bugs.winehq.org/attachment.cgi?id=18180) Log +seh
Still an issue as of wine 1.1.10. I have attached an updated log with +seh in it. Once I get renewed bandwitdh from my ISP I will download the demo and test it. In the meanwhile, does this log provide more information on what the issue is?
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #6 from Xavier Vachon xvachon@gmail.com 2009-01-04 12:38:48 --- There is already a report about the installer failing : http://bugs.winehq.org/show_bug.cgi?id=9361 . It was originally with the beta installer. Should one of these be marked as a dupe?
http://bugs.winehq.org/show_bug.cgi?id=15437
F. Delente fdelente@mail.cpod.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdelente@mail.cpod.fr
--- Comment #7 from F. Delente fdelente@mail.cpod.fr 2009-02-06 05:22:15 --- Same problem here, the installer dies in GameInst.exe with an exception.
A windows dialog box appears with this text:
Exception EAccessViolation in module GameInst.exe at 00000000. Acces violation at address 00000000 in module 'GameInst.exe'. Write of adress 00000000.
but sometimes it has this text instead:
Exception EExternalException in module GameInst.exe at 0000284F. External Exception C0000025.
I added as attachment the messages that wine gives upon dying.
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #8 from F. Delente fdelente@mail.cpod.fr 2009-02-06 05:24:07 --- Created an attachment (id=19278) --> (http://bugs.winehq.org/attachment.cgi?id=19278) Output of Setup.exe for Company of Heroes: Opposing Fronts
http://bugs.winehq.org/show_bug.cgi?id=15437
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #9 from Dan Kegel dank@kegel.com 2009-02-06 07:17:18 --- Please try the demo and let us know if it reproduces the problem.
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #10 from Xavier Vachon xvachon@gmail.com 2009-04-10 23:18:12 --- To my opinion this bug and http://bugs.winehq.org/show_bug.cgi?id=9361 are about the same issue. Should we mark the other one as dupe and keep this one however because it is about the actual installer and not a beta version?
http://bugs.winehq.org/show_bug.cgi?id=15437
DK subscryer@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |subscryer@gmail.com
--- Comment #11 from DK subscryer@gmail.com 2009-06-05 17:02:09 --- GameInst.exe crashes for me, both with COH:GOTY and COH:OF. I attach two separate logs. Tell me if I have to turn on some options to give you better feedback.
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #12 from DK subscryer@gmail.com 2009-06-05 17:09:25 --- Created an attachment (id=21583) --> (http://bugs.winehq.org/attachment.cgi?id=21583) COH:OF launch.exe output
I deleted .wine before trying to install
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #13 from DK subscryer@gmail.com 2009-06-05 17:10:03 --- Created an attachment (id=21584) --> (http://bugs.winehq.org/attachment.cgi?id=21584) COH:GOTY launch.exe output
I deleted .wine before trying to install
http://bugs.winehq.org/show_bug.cgi?id=15437
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #14 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2009-06-06 03:02:07 --- (In reply to comment #11)
GameInst.exe crashes for me, both with COH:GOTY and COH:OF. I attach two separate logs. Tell me if I have to turn on some options to give you better feedback.
err:ole:CoGetClassObject class {00000507-0000-0010-8000-00aa006d2ea4} not registered err:ole:create_server class {00000507-0000-0010-8000-00aa006d2ea4} not registered err:ole:CoGetClassObject no class object {00000507-0000-0010-8000-00aa006d2ea4} could be created for context 0x5 wine: Unhandled exception 0x0eedfade at address 0x0000:0x7ee01eab (thread 002a), starting debugger...
The game needs mdac to be installed. Likely invalid bug report.
DK: do "winetricks mdac28" and the run tyhe installer again and report back please
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #15 from DK subscryer@gmail.com 2009-06-06 11:18:51 --- Thanks for the tip. The output is now completely different, I attach the new GOTY log.
http://bugs.winehq.org/show_bug.cgi?id=15437
DK subscryer@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #21583|0 |1 is obsolete| | Attachment #21584|0 |1 is obsolete| |
--- Comment #16 from DK subscryer@gmail.com 2009-06-06 11:26:05 --- Created an attachment (id=21608) --> (http://bugs.winehq.org/attachment.cgi?id=21608) COH:GOTY launch.exe output with mdac28 installed
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #17 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2009-06-06 12:41:41 --- (In reply to comment #16)
Created an attachment (id=21608)
--> (http://bugs.winehq.org/attachment.cgi?id=21608) [details]
COH:GOTY launch.exe output with mdac28 installed
hmm, so still crashing. Just a wild guess, maybe 'winetricks jet40' could be needed.
If that doesn't help, run the installer with:
WINEDEBUG=+relay,+tid,+seh wine GameInst.exe &>/tmp/log.txt
and attach the (bzipped2) file /tmp/log.txt to this bug. thx
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #18 from Xavier Vachon xvachon@gmail.com 2009-06-06 13:57:44 --- Created an attachment (id=21609) --> (http://bugs.winehq.org/attachment.cgi?id=21609) Log +relay +tid+seh setup with mdac28 and jet40 installed
As requested. Setup for Opposing Fronts still fails with mdac28 and jet40 installed.
http://bugs.winehq.org/show_bug.cgi?id=15437
DK subscryer@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #21608|0 |1 is obsolete| |
--- Comment #19 from DK subscryer@gmail.com 2009-06-06 15:13:34 --- Created an attachment (id=21613) --> (http://bugs.winehq.org/attachment.cgi?id=21613) COH OF - WINEDEBUG=+relay,+tid,+seh wine GameInst.exe
As requested, I also installed vcrun2008 and vcrun2008sp1 as suggested here: http://appdb.winehq.org/objectManager.php?sClass=version&iId=12028
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #20 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2009-06-06 15:44:55 --- (In reply to comment #19)
Created an attachment (id=21613)
--> (http://bugs.winehq.org/attachment.cgi?id=21613) [details]
COH OF - WINEDEBUG=+relay,+tid,+seh wine GameInst.exe
As requested, I also installed vcrun2008 and vcrun2008sp1 as suggested here: http://appdb.winehq.org/objectManager.php?sClass=version&iId=12028
Hi, I had a look at the debuglog, but I can't see any obvious error before the carsh occurs. Maybe someone else has a clue what's causing the crash, but i haven't :(
http://bugs.winehq.org/show_bug.cgi?id=15437
DK subscryer@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #21 from DK subscryer@gmail.com 2009-06-06 16:15:53 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #22 from DK subscryer@gmail.com 2009-06-06 16:21:07 --- If there's anything I can do to improve the chances this problem gets solved just ask, I'm not proficient in c/c++ but I'm confident I can follow sufficiently detailed instructions. I assume the messages displayed in the dialogs while the program crashes will add nothing to the debug output. All tests done with wine 1.1.22, I'm installing 1.1.23 in a while.
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #23 from Dan Kegel dank@kegel.com 2009-06-06 16:36:00 --- Can somebody please test the free demo and tell us whether it has the same problem? We've asked several times but nobody's done it, unless I missed something.
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #24 from DK subscryer@gmail.com 2009-06-06 17:44:08 --- Just tested. The demo installation terminates flawlessly, the game however crashes apparently because of unregistered dlls.
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #25 from mandelbr0t brian@darkcalgary.com 2009-06-07 02:43:13 --- Created an attachment (id=21618) --> (http://bugs.winehq.org/attachment.cgi?id=21618) WINE debug log for COH:OF demo installer
From a clean .wine with jet40 mdac28 vcrun2005 vcrun2005sp1, tested demo
installer for COH:OF. Errors occur in the following order:
* EAccessViolation * Error loading DLL * Runtime Error 216
Bzipped log attached. Ubuntu 9.04(x64) beta (up-to-date) wine-1.1.22
http://bugs.winehq.org/show_bug.cgi?id=15437
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #26 from Anastasius Focht focht@gmx.net 2009-06-07 04:49:38 --- Hello,
the demo - a whopping 1.9 GiB download (http://www.4players.de/4players.php/download_info/PC-CDROM/Download/46636.ht...) - exhibits the same problem.
It seems a hook dll is most likely the culprit.
This hook dll is dynamically extracted from the installer PE resources and loaded into memory:
--- snip --- ... 0009:Call KERNEL32.FindResourceA(00400000,006658e8 "hookdll",0000000a) ret=0042414c 0009:Ret KERNEL32.FindResourceA() retval=00a0bbf0 ret=0042414c 0009:Call KERNEL32.LoadResource(00400000,00a0bbf0) ret=00424166 0009:Ret KERNEL32.LoadResource() retval=009a7a7c ret=00424166 0009:Call KERNEL32.SizeofResource(00400000,00a0bbf0) ret=00424180 0009:Ret KERNEL32.SizeofResource() retval=00032a00 ret=00424180 0009:Call KERNEL32.LockResource(009a7a7c) ret=0042418a 0009:Ret KERNEL32.LockResource() retval=009a7a7c ret=0042418a 0009:Call KERNEL32.CreateFileA(00c54cf0 "C:\windows\temp\~gs1367.tmp",c0000000,00000000,00000000,00000002,00000080,00000000) ret=0040afb6 0009:Ret KERNEL32.CreateFileA() retval=00000088 ret=0040afb6 0009:Call KERNEL32.WriteFile(00000088,009a7a7c,00032a00,0032f9e8,00000000) ret=0040b005 0009:Ret KERNEL32.WriteFile() retval=00000001 ret=0040b005 0009:Call KERNEL32.CloseHandle(00000088) ret=0040b056 0009:Ret KERNEL32.CloseHandle() retval=00000001 ret=0040b056 0009:Call KERNEL32.FreeResource(009a7a7c) ret=004241b8 0009:Ret KERNEL32.FreeResource() retval=00000000 ret=004241b8 0009:Call KERNEL32.LoadLibraryA(00c54cf0 "C:\windows\temp\~gs1367.tmp") ret=00663c5a 0009:Call PE DLL (proc=0x3bc914,module=0x390000 L"~gs1367.tmp",reason=PROCESS_ATTACH,res=(nil)) --- snip ---
The origin of the hook dll can be traced by looking at the strings in PE image. It's a Delphi library called "madCodeHook", available from: http://www.madshi.net/madCodeHookDescription.htm The vendor of the game purchased and used it for whatever reason...
This hook dll uses several strategies to ensure proper hooking. The hooker walks the PE structure, specifically exports table and IAT of mapped PE images. The bad thing: it also maps the on-disk images (Wine: placeholders!) of several system dlls into memory. Example: Wine's placeholder "kernel32.dll":
--- snip --- ... 0009:Call KERNEL32.GetModuleHandleW(03030b20 L"kernel32.dll") ret=003b2a72 0009:Ret KERNEL32.GetModuleHandleW() retval=7edc0000 ret=003b2a72 ... 0009:Call KERNEL32.CreateFileW(00179ac8 L"C:\windows\system32\KERNEL32.dll",80000000,00000001,00000000,00000003,00000000,00000000) ret=003afa8a 0009:Ret KERNEL32.CreateFileW() retval=000000b4 ret=003afa8a 0009:Call KERNEL32.LocalFree(00179ac8) ret=003afac5 0009:Ret KERNEL32.LocalFree() retval=00000000 ret=003afac5 0009:Call KERNEL32.GetVersion() ret=003afacf 0009:Ret KERNEL32.GetVersion() retval=0a280105 ret=003afacf 0009:Call KERNEL32.CreateFileMappingW(000000b4,00000000,00000002,00000000,00000000,00000000) ret=003afae6 0009:Ret KERNEL32.CreateFileMappingW() retval=000000b8 ret=003afae6 0009:Call KERNEL32.MapViewOfFile(000000b8,00000004,00000000,00000000,00000000) ret=003afb0e 0009:Ret KERNEL32.MapViewOfFile() retval=03130000 ret=003afb0e 0009:Call KERNEL32.CloseHandle(000000b8) ret=003afb16 0009:Ret KERNEL32.CloseHandle() retval=00000001 ret=003afb16 0009:Call KERNEL32.CloseHandle(000000b4) ret=003afb1c 0009:Ret KERNEL32.CloseHandle() retval=00000001 ret=003afb1c ... --- snip ---
The hooker verifies/correlates the in-memory PE images of system dlls Wine loader mapped (with IAT already patched) with the raw image from disk - Wine's placeholder - mapped into memory as BLOB.
This obviously won't work by design hence the crash.
An interesting tidbit "madCodeHook on Wine": http://forum.madshi.net/viewtopic.php?t=4744
Maybe the developer of the hooker needs some education about some Wine No-No's ;-)
Regarding the game installer: if you find a version not bundled with this hooker you're fine - otherwise this is WONTFIX. Though you might use "copy-over-from-Windows" approach but this isn't supported.
And last: bug 9361 is about the same exact issue. Mark that bug as dupe of this one because I gave the analysis here.
Regards
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #27 from DK subscryer@gmail.com 2009-06-07 05:01:52 --- Thanks! I'll focus on copying the game from windows along with its registry keys. BTW: my positive report about the demo was related to the only demo I knew of: the original one. I apologize for the sloppy work :P
http://bugs.winehq.org/show_bug.cgi?id=15437
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |l_bratch@yahoo.co.uk
--- Comment #28 from Dmitry Timoshkov dmitry@codeweavers.com 2009-06-07 05:21:00 --- *** Bug 9361 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #29 from Stefan Leichter Stefan.Leichter@camLine.com 2009-06-07 06:54:49 --- Did someone already try to remove the fake DLL(s) from the system32 directory? It helps sometimes see: http://bugs.winehq.org/show_bug.cgi?id=11754#c15
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #30 from Xavier Vachon xvachon@gmail.com 2009-08-22 10:23:44 --- Still an issue as of wine 1.1.28. Is there a different workaround else than installing the game in Windows and copying it over to Wine?
http://bugs.winehq.org/show_bug.cgi?id=15437
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |peterson.235@gmail.com
--- Comment #31 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2009-11-03 17:26:01 --- *** Bug 19056 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=15437
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |delabeaux@gmail.com
--- Comment #32 from Vitaliy Margolen vitaliy@kievinfo.com 2009-11-03 21:05:48 --- *** Bug 20525 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=15437
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |arethusa26@gmail.com
--- Comment #33 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2009-11-06 02:28:32 --- *** Bug 16218 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=15437
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Company of Heroes Opposing |Multiple programs using |Fronts: Installer fails |madCodeHook crash
http://bugs.winehq.org/show_bug.cgi?id=15437
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nnn4000@o2.pl
--- Comment #34 from Vitaliy Margolen vitaliy@kievinfo.com 2009-12-05 21:36:20 --- *** Bug 19958 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #35 from Andrew Nguyen arethusa26@gmail.com 2010-05-16 10:36:56 --- *** Bug 22716 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #36 from Xavier Vachon xvachon@gmail.com 2010-09-20 16:00:17 CDT --- Still an issue in 1.3.3.
http://bugs.winehq.org/show_bug.cgi?id=15437#c26 says that this can't be fixed. Can someone else confirm?
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #37 from Dan Kegel dank@kegel.com 2010-09-24 15:38:32 CDT --- The author of MadCodeHook is willing to add support to Wine into his library if we tell him what needs doing.
http://bugs.winehq.org/show_bug.cgi?id=15437
Håkan hakanols@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hakanols@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #38 from Dan Kegel dank@kegel.com 2010-12-09 09:01:40 CST --- I emailed him just now pointing him to this bug.
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #39 from Dan Kegel dank@kegel.com 2011-03-26 10:39:55 CDT --- The author says the latest version of his package now works with wine, but it's up to individual developers to update, so it might be a while before the fix is widespread.
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #40 from Xavier Vachon xvachon@gmail.com 2011-03-26 10:57:49 CDT --- (In reply to comment #39)
The author says the latest version of his package now works with wine, but it's up to individual developers to update, so it might be a while before the fix is widespread.
If we want to test the update with individual games, how would that work? Is his software a package which could be installed with winetricks before running the setup program of the games we want to test (for this instance, CoH)?
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #41 from Dan Kegel dank@kegel.com 2011-03-26 11:10:36 CDT --- Nope. It has to be bundled with the app.
It would be good if some wine dev took the time to download the new version of madhook and tested it with wine to see if the fix really works, and/or if there are other problems lurking. Waiting for a game to expose the problem would add another year or so of delay.
http://bugs.winehq.org/show_bug.cgi?id=15437
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cinszani@tlen.pl
--- Comment #42 from Anastasius Focht focht@gmx.net 2011-06-18 03:03:37 CDT --- *** Bug 20355 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=15437
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, obfuscation URL| |http://www.4players.de/4pla | |yers.php/download_info/PC-C | |DROM/Download/46636.html Platform|x86-64 |Other Summary|Multiple programs using |Multiple programs using |madCodeHook crash |madCodeHook crash | |(in-memory PE image of Wine | |builtins vs. ELF image on | |disk)
--- Comment #43 from Anastasius Focht focht@gmx.net 2011-06-18 03:13:08 CDT --- Hello,
refining some fields. If you find a smaller download to demonstrate the bug, feel free to add.
Regards
http://bugs.winehq.org/show_bug.cgi?id=15437
AJSB ajsb@vfemail.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ajsb@vfemail.net
--- Comment #44 from AJSB ajsb@vfemail.net 2012-05-08 18:54:57 CDT --- *** Bug 30625 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #45 from AJSB ajsb@vfemail.net 2012-05-08 18:59:35 CDT --- Still a problem with wine 1.5.3 ...
Isn't there a chance that somehow the author gives permission to Wine have the DLL build-in and wine then kinda "intercept" any attempt from a game to load it in memory and "dynamically" replace the version that game is trying to load and execute with the one build-in in wine ?!?
Just an idea....
If it could be possible to make it work, it would solve the issue for more than a game in a row...
http://bugs.winehq.org/show_bug.cgi?id=15437
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
--- Comment #46 from Anastasius Focht focht@gmx.net 2013-05-03 15:33:44 CDT --- *** Bug 20326 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=15437
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |imwellcushtymelike@gmail.co | |m
--- Comment #47 from Anastasius Focht focht@gmx.net --- *** Bug 35532 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=15437
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|Other |x86
--- Comment #48 from Anastasius Focht focht@gmx.net --- Hello folks,
another victim: 'Epic Battle Fantasy 4' from Steam (some indie game).
A user reported a crash in WineHQ user forums: https://forum.winehq.org/viewtopic.php?f=8&t=22303 so I bought it for 10 bucks to check it out for the poor guy :)
http://store.steampowered.com/app/265610/
Well, in the end it was 10 bucks for 10 minutes of analysis fun.
You can decide for yourself to support the spirit of 'indie' game development but not having a functional game with Wine ...
No prerequisites required in Steam prefix.
Winedbg backtrace:
--- snip --- ... Unhandled exception: page fault on read access to 0x0a4103c3 in 32-bit code (0x009718d6). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:009718d6 ESP:0033fb1c EBP:09e8b2d8 EFLAGS:00010206( R- -- I - -P- ) EAX:0a41006f EBX:7b810000 ECX:00000001 EDX:000000d5 ESI:7b810040 EDI:09de0000 ... Backtrace: =>0 0x009718d6 in ebf4 (+0x5718d6) (0x09e8b2d8) 1 0x00640020 in ebf4 (+0x24001f) (0x00650072) 2 0x0f685e39 (0xffe4a1ba) 0x009718d6: movl 0x0(%eax,%edx,4),%ebp Modules: Module Address Debug info Name (100 modules) PE 400000- 20cc000 Export ebf4 ELF 7b800000-7ba60000 Deferred kernel32<elf> -PE 7b810000-7ba60000 \ kernel32 ELF 7bc00000-7bcee000 Deferred ntdll<elf> -PE 7bc10000-7bcee000 \ ntdll ... Threads: process tid prio (all id:s are in hex) ... 00000053 (D) C:\Program Files\Steam\SteamApps\common\Epic Battle Fantasy 4\EBF4.exe 00000054 0 <== --- snip ---
Relevant part of trace log:
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Steam
$ WINEDEBUG=+tid,+seh,+relay wine ./steam.exe -no-dwrite -applaunch 265610 ... 0054:Call KERNEL32.GetModuleHandleW(09ce0028 L"kernel32.dll") ret=0097dd28 0054:Ret KERNEL32.GetModuleHandleW() retval=7b810000 ret=0097dd28 ... 0054:Call KERNEL32.lstrcmpA(7b8be89a "CreateFileW",09ce0050 "CreateFileW") ret=00971821 0054:Ret KERNEL32.lstrcmpA() retval=00000000 ret=00971821 ... 0054:Call KERNEL32.GetModuleFileNameW(7b810000,0014c330,00000104) ret=009716e0 0054:Ret KERNEL32.GetModuleFileNameW() retval=00000020 ret=009716e0 0054:Call KERNEL32.CreateFileW(0014c330 L"C:\windows\system32\KERNEL32.dll",80000000,00000001,00000000,00000003,00000000,00000000) ret=009716f5 0054:Ret KERNEL32.CreateFileW() retval=00000094 ret=009716f5 0054:Call KERNEL32.LocalFree(0014c330) ret=00971730 0054:Ret KERNEL32.LocalFree() retval=00000000 ret=00971730 0054:Call KERNEL32.GetVersion() ret=0097173a 0054:Ret KERNEL32.GetVersion() retval=0a280105 ret=0097173a 0054:Call KERNEL32.CreateFileMappingW(00000094,00000000,00000002,00000000,00000000,00000000) ret=00971751 0054:Ret KERNEL32.CreateFileMappingW() retval=00000098 ret=00971751 0054:Call KERNEL32.MapViewOfFile(00000098,00000004,00000000,00000000,00000000) ret=00971779 0054:Ret KERNEL32.MapViewOfFile() retval=09de0000 ret=00971779 0054:Call KERNEL32.CloseHandle(00000098) ret=00971781 0054:Ret KERNEL32.CloseHandle() retval=00000001 ret=00971781 0054:Call KERNEL32.CloseHandle(00000094) ret=00971787 0054:Ret KERNEL32.CloseHandle() retval=00000001 ret=00971787 0054:trace:seh:raise_exception code=c0000005 flags=0 addr=0x9718d6 ip=009718d6 tid=0054 0054:trace:seh:raise_exception info[0]=00000000 0054:trace:seh:raise_exception info[1]=0a4103c3 0054:trace:seh:raise_exception eax=0a41006f ebx=7b810000 ecx=00000001 edx=000000d5 esi=7b810040 edi=09de0000 0054:trace:seh:raise_exception ebp=09e8b2d8 esp=0033fb1c cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010206 --- snip ---
You have to debug the thing to see what's going on.
The resolver tries to locate some exports from a location that ought to be the export table in the explicitly mapped placeholder 'kernel32.dll' using information gathered from the in-memory kernel32 PE image header.
This of course won't work - you can't simply add the export table RVA value to the virtual load base of the placeholder (Wine loader created PE mappings vs. explicit mapping of physical placeholder).
Regards
http://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #49 from Anastasius Focht focht@gmx.net --- Hello folks,
another app suffering from this: 'ippon.org draw' (Judo tournament software)
Download: http://www.ippon.org/draw/download/ijf_scoreboard2014.zip
I diagnosed this from a #winehq user provided log file.
Moving 'kernel32.dll' and 'user32.dll' fake dlls out of place lets the app start. Needs 'winetricks -q mdac28' prerequisite though.
Regards
http://bugs.winehq.org/show_bug.cgi?id=15437
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hormold@gmail.com
--- Comment #50 from Anastasius Focht focht@gmx.net --- *** Bug 20568 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=15437
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
--- Comment #51 from Anastasius Focht focht@gmx.net --- *** Bug 36157 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #52 from Anastasius Focht focht@gmx.net --- *** Bug 16092 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=15437
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=15437
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #53 from super_man@post.com --- The same wine 1.9.7-git and wine-staging 1.9.7
https://bugs.winehq.org/show_bug.cgi?id=15437
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |40735
https://bugs.winehq.org/show_bug.cgi?id=15437
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #54 from Anastasius Focht focht@gmx.net --- *** Bug 39093 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=15437
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #55 from Béla Gyebrószki gyebro69@gmail.com --- At least those apps/games that I could test are starting properly in Wine 5.10...5.13. Bermuda (visual novel, Steam) Epic Battle Fantasy 4 Sky router recovery tool (only tried the installer) No time to Explain (legacy version, Steam)
AFAICS, this commit fixed the crash in those apps: https://source.winehq.org/git/wine.git/commit/3c9cf9b65f14baa8e439c82cbff3be...
https://bugs.winehq.org/show_bug.cgi?id=15437
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #56 from Zebediah Figura z.figura12@gmail.com --- (In reply to Béla Gyebrószki from comment #55)
At least those apps/games that I could test are starting properly in Wine 5.10...5.13. Bermuda (visual novel, Steam) Epic Battle Fantasy 4 Sky router recovery tool (only tried the installer) No time to Explain (legacy version, Steam)
AFAICS, this commit fixed the crash in those apps: https://source.winehq.org/git/wine.git/commit/ 3c9cf9b65f14baa8e439c82cbff3be937f1f8534
That's suspicious; that commit shouldn't cause a change in behaviour.
There's also a couple applications here that want user32 and kernel32 to be PE. It's a bit unfortunate that this is such a metabug, but maybe we should wait until all DLLs are PE before closing this? Or at least those two?
https://bugs.winehq.org/show_bug.cgi?id=15437
Anya animegirl@stronzi.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |animegirl@stronzi.org
https://bugs.winehq.org/show_bug.cgi?id=15437
--- Comment #57 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Zebediah Figura from comment #56)
There's also a couple applications here that want user32 and kernel32 to be PE. It's a bit unfortunate that this is such a metabug, but maybe we should wait until all DLLs are PE before closing this? Or at least those two?
Both are converted now.
https://bugs.winehq.org/show_bug.cgi?id=15437
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Component|-unknown |build-env Fixed by SHA1| |0c631ebb2354334eaf309bc0765 | |d3283654cf902 Status|NEW |RESOLVED
--- Comment #58 from Zebediah Figura z.figura12@gmail.com --- Yeah, I think it seems reasonable to me to close this.
Please open new bugs for remaining issues with any of the affected programs.
https://bugs.winehq.org/show_bug.cgi?id=15437
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #59 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.19.
https://bugs.winehq.org/show_bug.cgi?id=15437
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.4players.de/4pla |https://web.archive.org/web |yers.php/download_info/PC-C |/20210319085755/https://dl. |DROM/Download/46636.html |4players.de/f1/pc/company_o | |f_heroes/en_cohof_demo_setu | |p.exe