wine1.3.28 broken msvcp90.dll

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
AsgrimTheMighty
Newbie
Newbie
Posts: 4
Joined: Fri Sep 23, 2011 4:07 am

wine1.3.28 broken msvcp90.dll

Post by AsgrimTheMighty »

I am using Ubuntu 10.04 LTS and the wine1.3 ppa. I upgraded this morning using the normal update manager, and I went to run Photoshop CS5 which has been working flawlessly for months, it broke. According to /var/log/apt/term.log I updated from wine1.3.26 to wine1.3.28.

I get this error:

Code: Select all

wine: Call from 0x7b83b332 to unimplemented function msvcp90.dll.??0?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@QAE@PBGI@Z, aborting
err:module:attach_process_dlls "AdobeOwl.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\home\\james\\.wine\\drive_c\\Program Files\\Adobe\\Adobe Photoshop CS5\\Photoshop.exe" failed, status 80000100
I have googled/searched forums a bit and tried a few solutions. I tried winetricks vcrun2008 and changing the msvcp90 to Builtin (same error when launching) and Native (got this new lots of errors:

Code: Select all

wine .wine/drive_c/Program\ Files/Adobe/Adobe\ Photoshop\ CS5/Photoshop.exe
err:module:import_dll Library MSVCP90.dll (which is needed by L"Z:\\home\\james\\.wine\\drive_c\\Program Files\\Adobe\\Adobe Photoshop CS5\\Photoshop.exe") not found
err:module:import_dll Library MSVCP90.dll (which is needed by L"Z:\\home\\james\\.wine\\drive_c\\Program Files\\Adobe\\Adobe Photoshop CS5\\tbb.dll") not found
err:module:import_dll Library tbb.dll (which is needed by L"Z:\\home\\james\\.wine\\drive_c\\Program Files\\Adobe\\Adobe Photoshop CS5\\aif_core.dll") not found
err:module:import_dll Library MSVCP90.dll (which is needed by L"Z:\\home\\james\\.wine\\drive_c\\Program Files\\Adobe\\Adobe Photoshop CS5\\aif_core.dll") not found
err:module:import_dll Library aif_core.dll (which is needed by L"Z:\\home\\james\\.wine\\drive_c\\Program Files\\Adobe\\Adobe Photoshop CS5\\Photoshop.exe") not found
err:module:import_dll Library MSVCP90.dll (which is needed by L"Z:\\home\\james\\.wine\\drive_c\\Program Files\\Adobe\\Adobe Photoshop CS5\\tbb.dll") not found
err:module:import_dll Library tbb.dll (which is needed by L"Z:\\home\\james\\.wine\\drive_c\\Program Files\\Adobe\\Adobe Photoshop CS5\\aif_core.dll") not found
err:module:import_dll Library MSVCP90.dll (which is needed by L"Z:\\home\\james\\.wine\\drive_c\\Program Files\\Adobe\\Adobe Photoshop CS5\\aif_core.dll") not found
err:module:import_dll Library aif_core.dll (which is needed by L"Z:\\home\\james\\.wine\\drive_c\\Program Files\\Adobe\\Adobe Photoshop CS5\\aif_ogl.dll") not found
--snip--
I've only pasted the top as there's loads and loads of errors and didn't want to spam the post.

I also tried downloading the dll from a website and copying over, but that appears to have no affect.

I do hope someone can help, as a web designer, Photoshop is critical to my job, and I love having it run perfectly in Wine! :)
AsgrimTheMighty
Newbie
Newbie
Posts: 4
Joined: Fri Sep 23, 2011 4:07 am

Post by AsgrimTheMighty »

My search obviously sucked! I found this thread (http://forum.winehq.org/viewtopic.php?t=13343) and the first response hinted me to what fixed my PS:

cd ~/.wine/drive_c/Program\ Files/Adobe/Adobe\ Photoshop\ CS5/
mv msvcp90.dll msvcp90.dll.bak
mv msvcr90.dll msvcr90.dll.bak

It now launches and works as before! I am not sure what may have been in the wine upgrade that broke it, but that is what worked for me. Hopefully it may help others with the same problem.
AsgrimTheMighty
Newbie
Newbie
Posts: 4
Joined: Fri Sep 23, 2011 4:07 am

Post by AsgrimTheMighty »

Bah! Back again and it's broken on upgrade from wine1.3.28 to wine1.3.29.

This is the first errors:

Code: Select all

err:module:find_forwarded_export function not found for forward 'msvcrt.??0exception@@QAE@ABQBDH@Z' used by L"C:\\windows\\system32\\msvcr90.dll". If you are using builtin L"msvcr90.dll", try using the native one instead.
err:module:find_forwarded_export function not found for forward 'msvcrt.memmove_s' used by L"C:\\windows\\system32\\msvcr90.dll". If you are using builtin L"msvcr90.dll", try using the native one instead.
err:module:find_forwarded_export function not found for forward 'msvcrt.??_V@YAXPAX@Z' used by L"C:\\windows\\system32\\msvcr90.dll". If you are using builtin L"msvcr90.dll", try using the native one instead.
err:module:find_forwarded_export function not found for forward 'msvcrt.__CxxFrameHandler3' used by L"C:\\windows\\system32\\msvcr90.dll". If you are using builtin L"msvcr90.dll", try using the native one instead.
err:module:find_forwarded_export function not found for forward 'msvcrt._gmtime64' used by L"C:\\windows\\system32\\msvcr90.dll". If you are using builtin L"msvcr90.dll", try using the native one instead.
** MANY MORE ERRORS... **
I did the obvious thing and tried switching msvcr90 to Native, which changed the errors to:

Code: Select all

err:module:import_dll Library MSVCR90.dll (which is needed by L"C:\\Program Files\\Adobe\\Adobe Photoshop CS5\\Photoshop.exe") not found
err:module:import_dll Library MSVCR90.dll (which is needed by L"C:\\Program Files\\Adobe\\Adobe Photoshop CS5\\tbb.dll") not found
err:module:import_dll Library tbb.dll (which is needed by L"C:\\Program Files\\Adobe\\Adobe Photoshop CS5\\aif_core.dll") not found
err:module:import_dll Library MSVCR90.dll (which is needed by L"C:\\Program Files\\Adobe\\Adobe Photoshop CS5\\aif_core.dll") not found
err:module:import_dll Library aif_core.dll (which is needed by L"C:\\Program Files\\Adobe\\Adobe Photoshop CS5\\Photoshop.exe") not found
err:module:import_dll Library MSVCR90.dll (which is needed by L"C:\\Program Files\\Adobe\\Adobe Photoshop CS5\\tbb.dll") not found
err:module:import_dll Library tbb.dll (which is needed by L"C:\\Program Files\\Adobe\\Adobe Photoshop CS5\\aif_core.dll") not found
err:module:import_dll Library MSVCR90.dll (which is needed by L"C:\\Program Files\\Adobe\\Adobe Photoshop CS5\\aif_core.dll") not found
err:module:import_dll Library aif_core.dll (which is needed by L"C:\\Program Files\\Adobe\\Adobe Photoshop CS5\\aif_ogl.dll") not found
err:module:import_dll Library MSVCR90.dll (which is needed by L"C:\\Program Files\\Adobe\\Adobe Photoshop CS5\\tbb.dll") not found
** MANY MORE ERRORS... **
I have moved the dll's back that I moved (see my previous post) and tried but get the same results. I have also tried the usual "winetricks msxml6 gdiplus gecko vcrun2005sp1 vcrun2008 msxml3 atmlib" which I've noticed may not work (and may indeed be the issue):

Code: Select all

$ winetricks msxml6 gdiplus gecko vcrun2005sp1 vcrun2008 msxml3 atmlib
Executing w_do_call msxml6
msxml6 already installed, skipping
Executing w_do_call gdiplus
gdiplus already installed, skipping
Executing w_do_call gecko
Executing load_gecko
------------------------------------------------------
Please install gecko in /usr/share/wine per http://wiki.winehq.org/Gecko.  http://winezeug.googlecode.com/svn/trunk/install-gecko.sh is an easy script to do that.  Then you should never need to do 'winetricks gecko' again.
------------------------------------------------------
Executing w_do_call vcrun2005
Executing load_vcrun2005
Executing mkdir -p /home/james/.cache/winetricks/vcrun2005
Using native,builtin override for following DLLs: msvcr80
Executing winetricks_early_wine regedit C:\windows\Temp\_vcrun2005\override-dll.reg
Executing wine vcredist_x86.EXE
fixme:advapi:DecryptFileA "C:\\users\\james\\Temp\\IXP000.TMP\\" 00000000
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:sxs:cache_QueryAssemblyInfo 0x672df8, 0x00000002, L"Microsoft.VC80.ATL,type=\"win32\",version=\"8.0.50727.6195\",publicKeyToken=\"1fc8b3b9a1e18e3b\",processorArchitecture=\"x86\"", 0x33f968
fixme:sxs:cache_QueryAssemblyInfo 0x672df8, 0x00000002, L"Microsoft.VC80.CRT,type=\"win32\",version=\"8.0.50727.6195\",publicKeyToken=\"1fc8b3b9a1e18e3b\",processorArchitecture=\"x86\"", 0x33f968
fixme:sxs:cache_QueryAssemblyInfo 0x672df8, 0x00000002, L"Microsoft.VC80.MFC,type=\"win32\",version=\"8.0.50727.6195\",publicKeyToken=\"1fc8b3b9a1e18e3b\",processorArchitecture=\"x86\"", 0x33f968
fixme:sxs:cache_QueryAssemblyInfo 0x672df8, 0x00000002, L"Microsoft.VC80.MFCLOC,type=\"win32\",version=\"8.0.50727.6195\",publicKeyToken=\"1fc8b3b9a1e18e3b\",processorArchitecture=\"x86\"", 0x33f968
fixme:sxs:cache_QueryAssemblyInfo 0x672df8, 0x00000002, L"Microsoft.VC80.OpenMP,type=\"win32\",version=\"8.0.50727.6195\",publicKeyToken=\"1fc8b3b9a1e18e3b\",processorArchitecture=\"x86\"", 0x33f968
fixme:sxs:cache_QueryAssemblyInfo 0x672df8, 0x00000002, L"policy.8.0.Microsoft.VC80.ATL,type=\"win32-policy\",version=\"8.0.50727.6195\",publicKeyToken=\"1fc8b3b9a1e18e3b\",processorArchitecture=\"x86\"", 0x33f968
fixme:sxs:cache_QueryAssemblyInfo 0x672df8, 0x00000002, L"policy.8.0.Microsoft.VC80.CRT,type=\"win32-policy\",version=\"8.0.50727.6195\",publicKeyToken=\"1fc8b3b9a1e18e3b\",processorArchitecture=\"x86\"", 0x33f968
fixme:sxs:cache_QueryAssemblyInfo 0x672df8, 0x00000002, L"policy.8.0.Microsoft.VC80.MFC,type=\"win32-policy\",version=\"8.0.50727.6195\",publicKeyToken=\"1fc8b3b9a1e18e3b\",processorArchitecture=\"x86\"", 0x33f968
fixme:sxs:cache_QueryAssemblyInfo 0x672df8, 0x00000002, L"policy.8.0.Microsoft.VC80.MFCLOC,type=\"win32-policy\",version=\"8.0.50727.6195\",publicKeyToken=\"1fc8b3b9a1e18e3b\",processorArchitecture=\"x86\"", 0x33f968
fixme:sxs:cache_QueryAssemblyInfo 0x672df8, 0x00000002, L"policy.8.0.Microsoft.VC80.OpenMP,type=\"win32-policy\",version=\"8.0.50727.6195\",publicKeyToken=\"1fc8b3b9a1e18e3b\",processorArchitecture=\"x86\"", 0x33f968
fixme:msi:ITERATE_RemoveExistingProducts remove L"0"
------------------------------------------------------
vcrun2005 install completed, but installed file /home/james/.wine/dosdevices/c:/windows/winsxs/x86_Microsoft.VC80.MFC_1fc8b3b9a1e18e3b_8.0.50727.6195_x-ww_150c9e8b/mfc80.dll not found
------------------------------------------------------
$ winetricks vcrun2008
Executing w_do_call vcrun2008
Executing load_vcrun2008
Executing mkdir -p /home/james/.cache/winetricks/vcrun2008
Using native,builtin override for following DLLs: msvcr90
Executing winetricks_early_wine regedit C:\windows\Temp\_vcrun2008\override-dll.reg
Executing wine vcredist_x86.exe
fixme:clusapi:GetNodeClusterState ((null),0x32ec24) stub!
fixme:advapi:DecryptFileA "c:\\ccd4b21f3eae3397f3b108b69b\\" 00000000
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:advapi:LsaOpenPolicy ((null),0x33f324,0x00000001,0x33f34c) stub
fixme:advapi:LsaClose (0xcafe) stub
------------------------------------------------------
vcrun2008 install completed, but installed file /home/james/.wine/dosdevices/c:/windows/winsxs/x86_Microsoft.VC90.MFC_1fc8b3b9a1e18e3b_9.0.30729.6161_x-ww_028bc148/mfc90.dll not found
------------------------------------------------------
$
I have not yet tried rolling back wine, just a bit annoyed the last 2 updates have broken my PS install which has been working fine for ages! Any help would be really appreciated.
User avatar
dimesio
Moderator
Moderator
Posts: 13211
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

AsgrimTheMighty wrote:Bah! Back again and it's broken on upgrade from wine1.3.28 to wine1.3.29.
Try renaming the vc90 manifest (the one with "dead.beef" in the name) in the wineprefix's windows/winsxs/manifests directory. Just append something to the end so it's easy to revert.
AsgrimTheMighty
Newbie
Newbie
Posts: 4
Joined: Fri Sep 23, 2011 4:07 am

Post by AsgrimTheMighty »

Hey - that worked! I do recall doing that previously when it broke. Would this deadbeef manifest made by Windows, winetricks or wine upgrade? Why would that be stopping it from running?
User avatar
dimesio
Moderator
Moderator
Posts: 13211
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

AsgrimTheMighty wrote:Hey - that worked! I do recall doing that previously when it broke. Would this deadbeef manifest made by Windows, winetricks or wine upgrade? Why would that be stopping it from running?
They are fake manifests put there by Wine. They prevent Wine from using versions of the runtimes installed locally by the apps themselves, which matches the behavior in Windows. Unfortunately, Wine's vc90 replacement is still incomplete, so a lot of apps that used to happily use the runtime installed by the app itself are now breaking. The easiest solution I have found is to rename the dead.beef manifest file, but Wine will recreate it every time you upgrade. You can avoid this by making the directory read-only.
Locked