http://bugs.winehq.org/show_bug.cgi?id=34627
Bug #: 34627 Summary: 32 bit Visual C++ 2010 Express full installer complains "Runtime Error!" while installing SQL Product: Wine Version: 1.7.3 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: msvcm AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com Classification: Unclassified
After working around bug 32280 with 'winetricks dotnet40' and bug 12501 with 'winetricks mspatcha', Visual C++ 2010 Express installer fails with a "Runtime Error!" dialog referencing setup100.exe.
AF mentioned in bug 32280 there was a msvcm80 bug, perhaps this is it; sure enough, "winetricks vcrun2005" works around it.
While the dialog is up, ps shows
dank 23938 0.8 1.1 2679360 68040 ? Sl 20:26 0:03 Y:\43a4078dda964c2953a1c4f7\x86\setup100.exe /q /ACTION=Install /FEATURES=SQL /INSTANCENAME=SQLEXPRESS /SQLSVCACCOUNT=NT AUTHORITY\Network Service /SQLSVCStartupType=Automatic /AddCurrentUserAsSqlAdmin /ENABLERANU=1 /SKIPRULES=RebootRequiredCheck /hideconsole /TIMESTAMP=VSExpress_10.0 /ACTION=RUNRULES /RULES=GlobalRules /WORKFLOW=Install /TIMESTAMP=VSExpress_10.0 /LOGMARKER=_GlobalRules /MEDIASOURCE=Y:\43a4078dda964c2953a1c4f7\ /INSTALLMEDIAPATH=Y:\43a4078dda964c2953a1c4f7\x86\setup\ /MEDIALAYOUT=Core
and this error does not happen if you uncheck optional fields in the vc2010 express installer.
http://bugs.winehq.org/show_bug.cgi?id=34627
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer URL| |http://download.microsoft.c | |om/download/1/E/5/1E5F1C0A- | |0D5B-426A-A603-1798B951DDAE | |/VS2010Express1.iso CC| |focht@gmx.net
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming, still present.
Not sure if it's really about 'msvcm' as the error message claims incorrect loading of msvcrt.
--- snip --- $ WINEDEBUG=+tid,+seh,+relay wine /mnt/iso/VCExpress/setup.exe >>log.txt 2>&1 ... 001b:Call KERNEL32.LoadLibraryExW(053d5a98 L"C:\1061e79be384ceb905\x86\MSVCR80.dll",00000000,00000008) ret=791de69a 001b:Call PE DLL (proc=0x7e05b240,module=0x7e050000 L"msvcr80.dll",reason=WINE_PREATTACH,res=(nil)) 001b:Ret PE DLL (proc=0x7e05b240,module=0x7e050000 L"msvcr80.dll",reason=WINE_PREATTACH,res=(nil)) retval=0 001b:Call PE DLL (proc=0x7813232b,module=0x78130000 L"MSVCR80.dll",reason=PROCESS_ATTACH,res=(nil)) ... 001b:Call msvcm80.?DoDllLanguageSupportValidation@<CrtImplementationDetails>@@YAXXZ() ret=0e00ee9e 001b:fixme:msvcm:CrtImplementationDetails_DoDllLanguageSupportValidation stub 001b:Ret msvcm80.?DoDllLanguageSupportValidation@<CrtImplementationDetails>@@YAXXZ() retval=0000004e ret=0e00ee9e ... 001b:Call KERNEL32.LoadLibraryExW(053d5a98 L"C:\1061e79be384ceb905\x86\MSVCR80.dll",00000000,00000008) ret=791de69a 001b:Call PE DLL (proc=0x7e05b240,module=0x7e050000 L"msvcr80.dll",reason=WINE_PREATTACH,res=(nil)) 001b:Ret PE DLL (proc=0x7e05b240,module=0x7e050000 L"msvcr80.dll",reason=WINE_PREATTACH,res=(nil)) retval=0 001b:Call PE DLL (proc=0x7813232b,module=0x78130000 L"MSVCR80.dll",reason=PROCESS_ATTACH,res=(nil)) ... 001b:Call KERNEL32.GetProcAddress(7b810000,781949a8 "FindActCtxSectionStringW") ret=78131dbe 001b:Ret KERNEL32.GetProcAddress() retval=7b821cec ret=78131dbe 001b:Call KERNEL32.GetModuleHandleA(7819499c "MSCoree.dll") ret=78131dcd 001b:Ret KERNEL32.GetModuleHandleA() retval=79000000 ret=78131dcd 001b:Call KERNEL32.GetModuleHandleA(78194990 "PGORT80.dll") ret=78131dd6 001b:Ret KERNEL32.GetModuleHandleA() retval=00000000 ret=78131dd6 001b:Call KERNEL32.GetModuleFileNameW(78130000,00333d34,00001f40) ret=78131df6 001b:Ret KERNEL32.GetModuleFileNameW() retval=00000025 ret=78131df6 001b:Call KERNEL32.GetLongPathNameW(00333d34 L"C:\1061e79be384ceb905\x86\MSVCR80.dll",00337bb4,00001f40) ret=78131e1b 001b:Ret KERNEL32.GetLongPathNameW() retval=00000025 ret=78131e1b 001b:Call KERNEL32.GetSystemDirectoryW(0033ba34,00000104) ret=78131e6b 001b:Ret KERNEL32.GetSystemDirectoryW() retval=00000013 ret=78131e6b 001b:Call KERNEL32.FindActCtxSectionStringW(00000000,00000000,00000002,78194974 L"msvcr80.dll",00333abc) ret=78131ef9 001b:Ret KERNEL32.FindActCtxSectionStringW() retval=00000000 ret=78131ef9 ... 001b:Call user32.MessageBoxA(00000000,781c3808 "Runtime Error!\n\nProgram: C:\1061e79be384ceb905\x86\setup100.exe\n\nR6034\r\nAn application has made an attempt to load the C runtime library incorrectly.\nPlease contact the application's support team for more information.\r\n",78194898 "Microsoft Visual C++ Runtime Library",00012010) ret=78139882 --- snip ---
With 'winetricks vcrun2005' recipe you get the runtime installed into WinSxS.
The sub-installer provides it's own, local CRT:
--- snip --- $ ll x86/msv* -rw-rw-r--. 1 focht focht 486248 Jul 23 2009 x86/msvcm80.dll -rw-rw-r--. 1 focht focht 558080 Jul 23 2009 x86/msvcp80.dll -rw-rw-r--. 1 focht focht 635904 Jul 23 2009 x86/msvcr80.dll ... $ ll x86/microsoft.vc80.crt.manifest -rw-rw-r--. 1 focht focht 528 Jul 23 2009 x86/microsoft.vc80.crt.manifest --- snip ---
Regards
https://bugs.winehq.org/show_bug.cgi?id=34627
--- Comment #2 from Austin English austinenglish@gmail.com --- I don't get this in wine-1.7.29-57-gfbf2557. The installation still fails, but without the runtime error dialog.
I get the same error with vcrun2005, however. I used 'winetricks mspatcha dotnet40' beforehand, for both.
https://bugs.winehq.org/show_bug.cgi?id=34627
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #3 from winetest@luukku.com --- I searched for GetLongPathNameW and bugzilla found this bug.
It's mentioned at focht analyze. It would be interesting to see if https://source.winehq.org/patches/data/125577 fixed this bug too, but since the download is so big and in iso format I skip this one.
https://bugs.winehq.org/show_bug.cgi?id=34627
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #4 from Fabian Maurer dark.shadow4@web.de --- Is this still relevant in wine-3.1? Also, downloadlink is broken.
https://bugs.winehq.org/show_bug.cgi?id=34627
--- Comment #5 from Dan Kegel dank@kegel.com --- FWIW, I think it's still available at https://web.archive.org/web/20160401072533/http://download.microsoft.com/dow...
https://bugs.winehq.org/show_bug.cgi?id=34627
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED URL|http://download.microsoft.c |https://web.archive.org/web |om/download/1/E/5/1E5F1C0A- |/20160401072533/http://down |0D5B-426A-A603-1798B951DDAE |load.microsoft.com/download |/VS2010Express1.iso |/1/E/5/1E5F1C0A-0D5B-426A-A | |603-1798B951DDAE/VS2010Expr | |ess1.iso Status|NEW |RESOLVED
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
the MS SQL Server Express 2008 sub-installer still fails but that's a different issue (.NET assembly installation), unrelated to the C runtime library.
Resolving here.
Regards
https://bugs.winehq.org/show_bug.cgi?id=34627
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello folks,
I've created a follow-up bug 44475 for the remaining issue.
Regards
https://bugs.winehq.org/show_bug.cgi?id=34627
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.2.
https://bugs.winehq.org/show_bug.cgi?id=34627
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://web.archive.org/web |https://web.archive.org/web |/20160401072533/http://down |/20111016110147/http://down |load.microsoft.com/download |load.microsoft.com/download |/1/E/5/1E5F1C0A-0D5B-426A-A |/1/E/5/1E5F1C0A-0D5B-426A-A |603-1798B951DDAE/VS2010Expr |603-1798B951DDAE/VS2010Expr |ess1.iso |ess1.iso