https://bugs.winehq.org/show_bug.cgi?id=42859
Bug ID: 42859 Summary: .Net program doesn't use native visual c++ run-time despite override Product: Wine Version: 2.6 Hardware: x86 URL: http://download1324.mediafire.com/a9qj7l083vxg/ah10ud0 7vdvlco8/Athena%5C%27s+Armor+Set+Search+MHGen+v0.96b.z ip OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dark.shadow4@web.de Distribution: ---
Found using a program called "Athenas Armor Set Search MHGen v0.96b" (download link added). Installed it in a fresh wineprefix with "WINEARCH=win32 winetricks -q dotnet20 vcrun2008", but it crashes due to an unimplemented function:
wine: Call from 0x7b43d2dc to unimplemented function msvcm90.dll.?_Cin_func@std@@YAAAV?$basic_istream@DU?$char_traits@D@std@@@1@XZ, aborting wine: Call from 0x7b43d2dc to unimplemented function msvcm90.dll.?ThrowModuleLoadException@<CrtImplementationDetails>@@YAXP$AAVString@System@@P$AAVException@3@@Z, aborting
Now, if using winecfg and changing the DLL-override for msvcm90.dll from "native, then builtin" to "native (windows)" it works. But I expected it to work either way. Maybe due to the fact it's a .NET program, but really not sure.
https://bugs.winehq.org/show_bug.cgi?id=42859
--- Comment #1 from Dmitry Timoshkov dmitry@baikal.ru --- Most likely duplicate of https://bugs.winehq.org/show_bug.cgi?id=33604, or rather https://bugs.winehq.org/show_bug.cgi?id=28225.
Basically if Wine installs a fake manifest at c:\windows\winsxs for a dll the overrides "b,n" for that dll won't work unless one deletes the manifest or disables built-in version ("n").
https://bugs.winehq.org/show_bug.cgi?id=42859
--- Comment #2 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Dmitry Timoshkov from comment #1)
Basically if Wine installs a fake manifest at c:\windows\winsxs for a dll the overrides "b,n" for that dll won't work unless one deletes the manifest or disables built-in version ("n").
A typo above: should be "n,b" instead of "b,n".
https://bugs.winehq.org/show_bug.cgi?id=42859
--- Comment #3 from Fabian Maurer dark.shadow4@web.de --- Oh I see, thanks for the explanation. Would it be possible for winetricks to mark the DLL as only native, or is there a reason it isn't?
https://bugs.winehq.org/show_bug.cgi?id=42859
--- Comment #4 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Fabian Maurer from comment #3)
Oh I see, thanks for the explanation.
No problem.
Would it be possible for winetricks to mark the DLL as only native, or is there a reason it isn't?
Arguably that's a winetricks bug, so yes, that's one of the solutions. Another solution is to always remove the appropriate fake manifests, or just the whole c:\windows\winsxs crap.
https://bugs.winehq.org/show_bug.cgi?id=42859
--- Comment #5 from Austin English austinenglish@gmail.com --- (In reply to Dmitry Timoshkov from comment #4)
(In reply to Fabian Maurer from comment #3)
Oh I see, thanks for the explanation.
No problem.
Would it be possible for winetricks to mark the DLL as only native, or is there a reason it isn't?
Arguably that's a winetricks bug, so yes, that's one of the solutions.
I'd find that a lot more palatable than rm'ing file, which makes it harder for the user to revert without remaking the prefix.
I'll take a look soon.
https://bugs.winehq.org/show_bug.cgi?id=42859
--- Comment #6 from Austin English austinenglish@gmail.com --- https://github.com/Winetricks/winetricks/commit/e4c6cbeb237ab5eb3ab15c189e8d... https://github.com/Winetricks/winetricks/commit/d1bdcd79b9b061a16a1ae09eb6ec...
https://bugs.winehq.org/show_bug.cgi?id=42859
--- Comment #7 from Fabian Maurer dark.shadow4@web.de --- Not sure if I should report this here, but with winetricks 20170614 this issue is (again) present.
Probably due to https://github.com/Winetricks/winetricks/commit/d4056f55efe643a4bbed129d1eee...
https://bugs.winehq.org/show_bug.cgi?id=42859
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
--- Comment #8 from Austin English austinenglish@gmail.com --- (In reply to Fabian Maurer from comment #7)
Not sure if I should report this here, but with winetricks 20170614 this issue is (again) present.
Probably due to https://github.com/Winetricks/winetricks/commit/ d4056f55efe643a4bbed129d1eee893443583858
Yeah, as the commit says, it broke currently working applications.
https://bugs.winehq.org/show_bug.cgi?id=42859
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE
--- Comment #9 from Fabian Maurer dark.shadow4@web.de --- Marking dupe of bug 28225. Regarding the actual crash, we already have a report for that: bug 47304.
*** This bug has been marked as a duplicate of bug 28225 ***
https://bugs.winehq.org/show_bug.cgi?id=42859
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://download1324.mediafi |https://web.archive.org/web |re.com/a9qj7l083vxg/ah10ud0 |/20210810062941/http://down |7vdvlco8/Athena%5C%27s+Armo |load1653.mediafire.com/okv4 |r+Set+Search+MHGen+v0.96b.z |m1ctxhvg/ah10ud07vdvlco8/At |ip |hena%5C%27s+Armor+Set+Searc | |h+MHGen+v0.96b.zip Keywords| |download CC| |focht@gmx.net Summary|.Net program doesn't use |Athena's Armor Set Search |native visual c++ run-time |MHGen v0.96b (.NET 2.0 app) |despite override |doesn't use native | |'msvcm90.dll' unless | |built-in is disabled
https://bugs.winehq.org/show_bug.cgi?id=42859
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Duplicate.