http://bugs.winehq.org/show_bug.cgi?id=28358
Summary: Application support for Watchtower Library broke. Product: Wine Version: 1.3.28 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: msvcp AssignedTo: wine-bugs@winehq.org ReportedBy: simon@tretter.net
Created an attachment (id=36350) --> (http://bugs.winehq.org/attachment.cgi?id=36350) Error message when trying to open WTlib
After upgrading wine from 1.3.27 to 1.3.28, the Watchtower Library 2010 fails to start.
http://bugs.winehq.org/show_bug.cgi?id=28358
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|Application support for |Watchtower Library needs |Watchtower Library broke. |msvcp90.dll.??0?$basic_stri | |ng@GU?$char_traits@G@std@@V | |?$allocator@G@2@@std@@QAE@X | |Z Ever Confirmed|0 |1
--- Comment #1 from Austin English austinenglish@gmail.com 2011-09-13 13:12:24 CDT --- Confirming, currently unimplemented.
http://bugs.winehq.org/show_bug.cgi?id=28358
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
http://bugs.winehq.org/show_bug.cgi?id=28358
Igor Tarasov tarasov.igor@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tarasov.igor@gmail.com
--- Comment #2 from Igor Tarasov tarasov.igor@gmail.com 2011-09-22 09:14:31 CDT --- Then why (and how) did it work in previous versions? This bug has appeared only in 1.3.27 or 1.3.28.
http://bugs.winehq.org/show_bug.cgi?id=28358
--- Comment #3 from Simon Tretter simon@tretter.net 2011-09-22 09:46:21 CDT --- (In reply to comment #2)
Then why (and how) did it work in previous versions? This bug has appeared only in 1.3.27 or 1.3.28.
I suppose it is new in 1.3.28. If it was there in 1.3.27, I did not notice it because the WTlib worked just fine.
http://bugs.winehq.org/show_bug.cgi?id=28358
--- Comment #4 from Igor Tarasov tarasov.igor@gmail.com 2011-09-22 10:13:29 CDT --- Ok, I've found something. First up, Watchtower Library carries MS VC runtime in it's installer, so that there is no need to use wine's builtin version.
Once I've got a clue that wine can't find these functions in Wine's builtin version of msvcr90.dll, I've tried using winecfg to override that dll, and make wine use it. And here, I suppose, I've met another error: dll overriding seems to be not working anylonger. Since once I set it to override msvcr90.dll and use windows' one only, I start getting this kind of errors:
err:module:import_dll Library MSVCR90.dll (which is needed by L"C:\Program Files\Watchtower\MEPS Platform 2.3\wtutil23u.dll") not found
Which is utterly wrong, since it IS there, in winsxs directory.
Next, I've tried removing c:/windows/system32/msvcr90.dll, with no success.
Next, I've read changelog, and found that there were manifests added for built-in libraries. And it started working.
So, the problem is in manifests for built-in libraries.
As it came out, whole issue gets fixed by removing of
c:/windows/winsxs/manifests/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4148_none_deadbeef.manifest
So, it seems that bug is somewhere there.
http://bugs.winehq.org/show_bug.cgi?id=28358
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2011-09-22 10:22:37 CDT --- (In reply to comment #4)
As it came out, whole issue gets fixed by removing of c:/windows/winsxs/manifests/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4148_none_deadbeef.manifest
So, it seems that bug is somewhere there.
That's not a bug, cf. bug 28225.
http://bugs.winehq.org/show_bug.cgi?id=28358
--- Comment #6 from Igor Tarasov tarasov.igor@gmail.com 2011-09-22 10:55:16 CDT --- Okay, I see your logic. And I could agree, but the problem is, that native library manifests are installed globally. Also, current wine's implementation of ms vc is far from complete. So, when wine "behaves like windows" and chooses builtin version instead of native, it chooses *incompatible* version. So, any program that relies on currently unimplemented parts of ms vc API will stop working.
You can call it not a bug only when you have complete implementation or mechanism of failing back to full implementation. Such as "builtin,native" option for wine dll override.
As good as I understand, the only way currently to make wine use native version is to remove builtin's manifest.
And yes, I've tried installing latest native MS VC version. Still no success.
So, wine, by default, deciedes that uncomplete implementation of that API is better than complete. I see, that bug is not in this logic, but the bug is in lack of API implementation. But anyway, at this point it IS a bug.
http://bugs.winehq.org/show_bug.cgi?id=28358
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2011-09-22 11:04:04 CDT --- If you have a global manifest for native it takes precedence. Make sure you are testing latest version.
http://bugs.winehq.org/show_bug.cgi?id=28358
--- Comment #8 from Igor Tarasov tarasov.igor@gmail.com 2011-09-22 14:24:13 CDT --- Okay, I had to update winetricks and purge its cache, so that it take build number 6161. Now that works also.
Okay. So, you're going to leave this problem until native VC runtime API is complete, right? How long would that take?
BTW, winetricks firstly installed vcrun build number 4148 that is the same as wine builtin one. winetricks also added dll override to registry, but that did not work, while versions were completely the same - wine still was using builtin version, thus ignoring the override setting.
http://bugs.winehq.org/show_bug.cgi?id=28358
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #9 from Austin English austinenglish@gmail.com 2011-09-27 14:20:23 CDT --- Dupe, same function.
*** This bug has been marked as a duplicate of bug 27029 ***
http://bugs.winehq.org/show_bug.cgi?id=28358
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Ken Sharp kennybobs@o2.co.uk 2011-10-01 12:25:21 CDT --- Closing duplicate