http://bugs.winehq.org/show_bug.cgi?id=34515
Bug #: 34515 Summary: Action! fails to start Product: Wine Version: 1.7.2 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: lukasz.wojnilowicz@gmail.com Classification: Unclassified
Created attachment 45944 --> http://bugs.winehq.org/attachment.cgi?id=45944 Terminal output on Wine 1.7.2
Steps to reproduce: 1) remove ~/.wine 2) set windows version to Vista 3) install Action! 4) wine Action.exe
Behaviour: Wine error.
Expected behaviour: No Wine error.
http://bugs.winehq.org/show_bug.cgi?id=34515
--- Comment #1 from NSLW lukasz.wojnilowicz@gmail.com 2013-09-14 01:33:13 CDT --- Created attachment 45945 --> http://bugs.winehq.org/attachment.cgi?id=45945 WINEDEBUG=+relay,+seh,+tid on Wine 1.7.2
http://bugs.winehq.org/show_bug.cgi?id=34515
NSLW lukasz.wojnilowicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://download.mirillis.co | |m/files/action_1_16_1_setup | |.exe
http://bugs.winehq.org/show_bug.cgi?id=34515
--- Comment #2 from Austin English austinenglish@gmail.com 2013-09-16 03:01:39 CDT --- Does native msvcrt help?
http://bugs.winehq.org/show_bug.cgi?id=34515
--- Comment #3 from NSLW lukasz.wojnilowicz@gmail.com 2013-09-21 00:21:13 CDT --- (In reply to comment #2)
Does native msvcrt help?
After winetricks vcrun6sp6
err:module:find_forwarded_export function not found for forward 'msvcrt.wcsncat_s' used by L"C:\windows\system32\msvcr90.dll". If you are using builtin L"msvcr90.dll", try using the native one instead. wine: Call from 0x7bc520b2 to unimplemented function msvcrt.dll._set_printf_count_output, aborting err:seh:raise_exception Exception frame is not in stack limits => unable to dispatch exception.
http://bugs.winehq.org/show_bug.cgi?id=34515
Goblinstomper@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Goblinstomper@gmail.com
--- Comment #4 from Goblinstomper@gmail.com 2013-11-03 04:03:28 CST --- I'm guessing find forward does work now, because with wine 1.7.5 and native msvcrt (at least I get the) result of: err:module:import_dll Library KERNELBASE.dll (which is needed by L"C:\Program Files\Mirillis\Action!\msvcrt.dll") not found and and a whole lot of err:module:import_dll Library API-MS-Win-Core-* where * is not literal but it is about 20 different dll files from API-MS-Win-Core it complains about.
http://bugs.winehq.org/show_bug.cgi?id=34515
--- Comment #5 from Goblinstomper@gmail.com 2013-11-03 04:28:23 CST --- actually, disregard that, wrong settings. However, using winetricks vcrun2008 to get a native msvcrt does not seems to change the outcome compared to built-in, backtrace is identical.
https://bugs.winehq.org/show_bug.cgi?id=34515
Teras teras@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |teras@luukku.com
--- Comment #6 from Teras teras@luukku.com --- Is this even possible to get working currently?
fixme:d3d10:D3D10CreateDevice NULL device not implemented, falling back to refrast
I have tried to disable dx10 related functions but still not going far.
Also the binary seems to 64bit. And also vista or newer windwos mode is needed.
Couldnt figure out how to get it see msvcr90 as instaled.
wine-1.7.37-143-g3b2cf06 (including 1 custom patch for cpu-z).
https://bugs.winehq.org/show_bug.cgi?id=34515
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #7 from super_man@post.com --- Backtrace: =>0 0x7e033725 MSVCRT_wcsncpy_s+0x65(wcDest="", numElement=0x20a, wcSrc=*** invalid address 0x20a ***, count=0x102) [/home/teras/Downloads/wine/dlls/msvcr90/../msvcrt/wcs.c:1712] in msvcr90 (0x0033d3cc) 0x7e033725 MSVCRT_wcsncpy_s+0x65 [/home/teras/Downloads/wine/dlls/msvcr90/../msvcrt/wcs.c:1712] in msvcr90: movzwl 0x0(%edx),%esi 1712 while (numElement && count && *wcSrc) Modules:
wine 1.7.51
https://bugs.winehq.org/show_bug.cgi?id=34515
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #8 from Bruno Jesus 00cpxxx@gmail.com --- Created attachment 52460 --> https://bugs.winehq.org/attachment.cgi?id=52460 Ignore invalid address
The attached patch makes the app start. During its startup it calls MSVCRT_wcsncpy_s many times with invalid source pointers like:
0x157af48, 522, (nil), 258 0x157b1b0, 522, 0x20a, 258 0x157b418, 522, 0x414, 258 0x157b680, 522, 0x61e, 258 0x157b8e8, 522, 0x828, 258 0x157bb50, 522, 0xa32, 258 0x157bdb8, 522, 0xc3c, 258 0x157c020, 522, 0xe46, 258 0x157c288, 522, 0x1050, 258 ... 0x159b4a0, 522, 0x1b666, 258 0x159b708, 522, 0x1b870, 258 0x159b970, 522, 0x1ba7a, 258 0x159bbd8, 522, 0x1bc84, 258 0x159be40, 522, 0x1be8e, 258 0x159c0a8, 522, 0x1c098, 258 0x159c310, 522, 0x1c2a2, 258 0x159c578, 522, 0x1c4ac, 258
It seems to be an ascending sequence. Needs further investigations.
https://bugs.winehq.org/show_bug.cgi?id=34515
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #9 from Bruno Jesus 00cpxxx@gmail.com --- Confirming in wine-git.
https://bugs.winehq.org/show_bug.cgi?id=34515
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #10 from Sebastian Lackner sebastian@fds-team.de --- The real issue most likely has nothing to do with msvcrt. Relay log from shortly before the crash:
--- snip --- 0027:Call ole32.CoCreateInstance(00591810,00000000,00000017,00591820,0033f3b4) ret=004aee90 0027:Call ntdll.RtlInitUnicodeString(0033f120,0033f172 L"CLSID\{BCDE0395-E52F-467C-8E3D-C4579291692E}") ret=7e44485e 0027:Ret ntdll.RtlInitUnicodeString() retval=0033f120 ret=7e44485e [...] 0027:err:ole:CoCreateInstance apartment not initialised 0027:Ret ole32.CoCreateInstance() retval=800401f0 ret=004aee90 [...] 0027:Call msvcr90.wcsncpy_s(0154cbc0,0000020a,0000020a,00000102) ret=004523ca 0027:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7e1f7313 ip=7e1f7313 tid=0027 --- snip ---
Adding a CoInitialize() call to make CoCreateInstance() succeed also lets the application proceed and it gets past the crash.
https://bugs.winehq.org/show_bug.cgi?id=34515
--- Comment #11 from super_man@post.com --- Still fails 1.9.8-git and staging 1.9.8
https://bugs.winehq.org/show_bug.cgi?id=34515
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #12 from winetest@luukku.com --- There is a crash with wine 2.0-git. With wine-staging you are able to see a splash screen and it clealy goes forward since at console is printed new messages that you couldnt see before, but staging hangs printing this message
err:ntdll:NtQueryInformationToken Unhandled Token Information class 26!
wine 2.0-git and wine-staging 2.0.
https://bugs.winehq.org/show_bug.cgi?id=34515
--- Comment #13 from winetest@luukku.com --- (In reply to winetest from comment #12)
There is a crash with wine 2.0-git. With wine-staging you are able to see a splash screen and it clealy goes forward since at console is printed new messages that you couldnt see before, but staging hangs printing this message
err:ntdll:NtQueryInformationToken Unhandled Token Information class 26!
wine 2.0-git and wine-staging 2.0.
The same wine 2.4 and staging 2.4
https://bugs.winehq.org/show_bug.cgi?id=34515
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #14 from joaopa jeremielapuree@yahoo.fr --- Bug still occurs with wine-5.0-rc1