http://bugs.winehq.org/show_bug.cgi?id=16681
Summary: Adobe Photoshop CS4 fails to start, complains "Some of the application components are missing..." Product: Wine Version: 1.1.11 Platform: Other URL: http://adobe.com OS/Version: other Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
With today's git, Adobe Photoshop CS4 installs nicely. However, it doesn't start up. To reproduce, assuming you've already downloaded and unpacked ADBEPHSPCS4_LS4.7z/ADBEPHSPCS4_LS4.exe:
$ rm -rf .wine $ wine iexplore http://winehq.org (to preload gecko) $ wine "Adobe CS4"/setup.exe (or whereever you unpacked it to) $ cd ~/".wine/drive_c/Program Files/Adobe/Adobe Photoshop CS4" $ wine photoshop
This results in the dialog "Some of the application components are missing from the Application directory, Please reinstall the application."
Looking at the relay, it seems to do this after loading amtservices.dll, waiting quite a while, and timing out. (Loading native gdiplus doesn't help, not that I thought it would...)
http://bugs.winehq.org/show_bug.cgi?id=16681
--- Comment #1 from Dan Kegel dank@kegel.com 2008-12-30 21:14:30 --- FWIW, supposedly once you're logged in to adobe's site, you may be able to bypass the download manager by using these direct URLs in the same browser: http://trials.adobe.com/Applications/MastCol/CS4/Win/ADBESTAMCS4_LS4.exe http://trials.adobe.com/Applications/MastCol/CS4/Win/ADBESTAMCS4_LS4.7z Dunno if it works.
http://bugs.winehq.org/show_bug.cgi?id=16681
--- Comment #2 from cem cemelmaci@hotmail.com 2009-01-31 12:46:34 --- Created an attachment (id=19129) --> (http://bugs.winehq.org/attachment.cgi?id=19129) ps_cs4.log
http://bugs.winehq.org/show_bug.cgi?id=16681
cem cemelmaci@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #19129|ps_cs4 |ps_cs4.txt filename| |
--- Comment #3 from cem cemelmaci@hotmail.com 2009-01-31 12:49:16 --- (From update of attachment 19129) wine version wine-1.1.14 git
http://bugs.winehq.org/show_bug.cgi?id=16681
Robin L r0bin.456456@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |r0bin.456456@gmail.com
--- Comment #4 from Robin L r0bin.456456@gmail.com 2009-02-21 07:15:19 --- I can confirm this bug with Wine version 1.1.15.
http://bugs.winehq.org/show_bug.cgi?id=16681
Warren Dumortier nwarrenfl@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nwarrenfl@gmail.com
--- Comment #5 from Warren Dumortier nwarrenfl@gmail.com 2009-02-21 10:46:53 --- If i understand correctly, it crashes because ExInitializeResourceLite is not implemented. After patching ntoskrnl.exe with a stub implemenation, it crashes due to another error:
wine: Unimplemented function ntoskrnl.exe.MmQuerySystemSize called at address 0x7ee198b0 (thread 0014), starting debugger...
It seems some things will have to be stubbed to make it work... If someone can confirm this and maybe make a stub implemenation of those functions, it would be a nice begin.
http://bugs.winehq.org/show_bug.cgi?id=16681
--- Comment #6 from Robin L r0bin.456456@gmail.com 2009-02-25 08:34:26 --- I wonder why other people don't seem to have this bug. Did they install it on Windows and then run the executable from the installation directory? Or are they using a portable version? Did anyone manage to install and run Photoshop without Windows?
http://bugs.winehq.org/show_bug.cgi?id=16681
--- Comment #7 from Warren Dumortier nwarrenfl@gmail.com 2009-02-25 13:39:59 --- Do you think it is caused by the unimplemented function?
wine: Unimplemented function ntoskrnl.exe.MmQuerySystemSize called at address 0x7ee198b0 (thread 0014), starting debugger...
Can someone make a patch to stub that so people could test it out and see if this is the real problem, and see if there will be other problems?
Thanks.
http://bugs.winehq.org/show_bug.cgi?id=16681
--- Comment #8 from Robin L r0bin.456456@gmail.com 2009-02-25 15:38:51 --- There could be something wrong with the installer in Wine too... Maybe it didn't install an important file. That's why we need to know if people already succesfully installed PS without Windows.
http://bugs.winehq.org/show_bug.cgi?id=16681
--- Comment #9 from Warren Dumortier nwarrenfl@gmail.com 2009-02-26 02:56:55 --- Created an attachment (id=19669) --> (http://bugs.winehq.org/attachment.cgi?id=19669) Debug log of Photoshop CS4 Portable version
http://bugs.winehq.org/show_bug.cgi?id=16681
--- Comment #10 from Warren Dumortier nwarrenfl@gmail.com 2009-02-26 02:57:35 --- Yes, is it possible it didn't install a file.
I gave Photoshop CS4 Portable a try, and it doesn't give that message, but it crashes with those errors:
wine: Unhandled page fault on read access to 0x00000008 at address 0x3f4d4e0 (thread 0009), starting debugger... Unhandled exception: page fault on read access to 0x00000008 in 32-bit code (0x03f4d4e0).
I've attached the full log. So there are both problems with the installer and the program itself! What i don't understand is that others report it as working...
http://bugs.winehq.org/show_bug.cgi?id=16681
--- Comment #11 from Robin L r0bin.456456@gmail.com 2009-02-26 04:00:24 --- (In reply to comment #10)
Yes, is it possible it didn't install a file.
I gave Photoshop CS4 Portable a try, and it doesn't give that message, but it crashes with those errors:
wine: Unhandled page fault on read access to 0x00000008 at address 0x3f4d4e0 (thread 0009), starting debugger... Unhandled exception: page fault on read access to 0x00000008 in 32-bit code (0x03f4d4e0).
I've attached the full log. So there are both problems with the installer and the program itself! What i don't understand is that others report it as working...
You must have a bad portable version. I have tested a portable version which fully works (except the known text tool bug etc.).
I will try to install Photoshop CS4 on Windows and then run the Photoshop executable in Wine. That'll show us if the installer is the problem.
http://bugs.winehq.org/show_bug.cgi?id=16681
--- Comment #12 from Dan Kegel dank@kegel.com 2009-02-26 08:05:48 --- Please also compare exactly what files (and maybe registry keys) are installed on Windows when you do this. InCtrl5 might be helpful there; it's a free download from http://www.pcmag.com/article2/0,4149,9882,00.asp The InCtrl5 text logs would be useful for building a yawt regression test for the trial, if somebody feels up to it.
http://bugs.winehq.org/show_bug.cgi?id=16681
--- Comment #13 from Robin L r0bin.456456@gmail.com 2009-03-01 03:21:15 --- (In reply to comment #12)
Please also compare exactly what files (and maybe registry keys) are installed on Windows when you do this. InCtrl5 might be helpful there; it's a free download from http://www.pcmag.com/article2/0,4149,9882,00.asp The InCtrl5 text logs would be useful for building a yawt regression test for the trial, if somebody feels up to it.
I installed Photoshop CS4 trial on Windows and in Wine (1.1.14). You can download the InCtrl5 logs here: Windows: http://www.mediafire.com/?xlnilzjz5ly Wine: http://www.mediafire.com/?benzqxdjxsf
Now I tried to run Photoshop from Wine, Windows and the portable version again, but all crash wile "initializin panels..." with this error:
Unhandled exception: unimplemented function gdiplus.dll.GdipMeasureDriverString called in 32-bit code (0x7b845923).
I think I forgot to do something after I deleted my .wine folder.
http://bugs.winehq.org/show_bug.cgi?id=16681
--- Comment #14 from Warren Dumortier nwarrenfl@gmail.com 2009-03-01 03:57:03 --- (In reply to comment #13)
(In reply to comment #12)
Please also compare exactly what files (and maybe registry keys) are installed on Windows when you do this. InCtrl5 might be helpful there; it's a free download from http://www.pcmag.com/article2/0,4149,9882,00.asp The InCtrl5 text logs would be useful for building a yawt regression test for the trial, if somebody feels up to it.
I installed Photoshop CS4 trial on Windows and in Wine (1.1.14). You can download the InCtrl5 logs here: Windows: http://www.mediafire.com/?xlnilzjz5ly Wine: http://www.mediafire.com/?benzqxdjxsf
Now I tried to run Photoshop from Wine, Windows and the portable version again, but all crash wile "initializin panels..." with this error:
Unhandled exception: unimplemented function gdiplus.dll.GdipMeasureDriverString called in 32-bit code (0x7b845923).
I think I forgot to do something after I deleted my .wine folder.
Could you provide the logs when running it with Wine? Does Photoshop give another error/message now?
You could try to stub GdipMeasureDriverString! :D
http://bugs.winehq.org/show_bug.cgi?id=16681
--- Comment #15 from Warren Dumortier nwarrenfl@gmail.com 2009-03-01 03:58:27 --- Sorry to post twice, but could you try to run it with native gdiplus? You can install it with winetricks.
http://bugs.winehq.org/show_bug.cgi?id=16681
--- Comment #16 from Robin L r0bin.456456@gmail.com 2009-03-01 05:16:38 --- Created an attachment (id=19726) --> (http://bugs.winehq.org/attachment.cgi?id=19726) Log of Photoshop CS4 (installed in Wine) - crashes right after license accepting
http://bugs.winehq.org/show_bug.cgi?id=16681
--- Comment #17 from Robin L r0bin.456456@gmail.com 2009-03-01 05:17:09 --- Created an attachment (id=19727) --> (http://bugs.winehq.org/attachment.cgi?id=19727) Log of Photoshop CS4 (installed in Windows) - crashes right after license accepting
http://bugs.winehq.org/show_bug.cgi?id=16681
--- Comment #18 from Robin L r0bin.456456@gmail.com 2009-03-01 05:18:56 --- I installed native gdiplus as Warren said, that was what I forgot. Now both installations (Wine and Windows) crash right after I accept the license. I don't even get to see the splash screen. Both logs have been added as an attachement.
http://bugs.winehq.org/show_bug.cgi?id=16681
Robin L r0bin.456456@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #19726|0 |1 is obsolete| | Attachment #19727|0 |1 is obsolete| |
--- Comment #19 from Robin L r0bin.456456@gmail.com 2009-03-04 14:18:35 --- Created an attachment (id=19788) --> (http://bugs.winehq.org/attachment.cgi?id=19788) Photoshop CS4 crash log in Wine 1.16
I've added a log with Wine version 1.16 to the attachments. Photoshop still crashes because of the unimplemented function ExInitializeResourceLite in "ntoskrnl.exe".The installer is not the problem, because running Photoshop CS4 installed by Windows gives the same error.
(PS: Ignore the two logs of crashes after license accepting, I did something wrong)
http://bugs.winehq.org/show_bug.cgi?id=16681
cem cemelmaci@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cemelmaci@hotmail.com
--- Comment #20 from cem cemelmaci@hotmail.com 2009-04-28 04:45:07 --- (In reply to comment #19)
Created an attachment (id=19788)
--> (http://bugs.winehq.org/attachment.cgi?id=19788) [details]
Photoshop CS4 crash log in Wine 1.16
I've added a log with Wine version 1.16 to the attachments. Photoshop still crashes because of the unimplemented function ExInitializeResourceLite in "ntoskrnl.exe".The installer is not the problem, because running Photoshop CS4 installed by Windows gives the same error.
(PS: Ignore the two logs of crashes after license accepting, I did something wrong)
http://msdn.microsoft.com/en-us/library/ms797091.aspx
Parameters Resource Pointer to the caller-supplied storage, which must be at least sizeof(ERESOURCE), for the resource variable being initialized. The storage must be 4-byte aligned on 32-bit platforms, and 8-byte aligned on 64-bit platforms.
Return Value
ExInitializeResourceLite returns STATUS_SUCCESS. Comments
The storage for ERESOURCE must not be allocated from paged pool.
The resource variable can be used for synchronization by a set of threads. Although the caller provides the storage for the resource variable, the ERESOURCE structure is opaque: that is, its members are reserved for system use.
Call ExDeleteResourceLite before freeing the memory for the resource.
Requirements
IRQL: <=DISPATCH_LEVEL
Headers: Declared in ntddk.h. Include ntddk.h.
http://bugs.winehq.org/show_bug.cgi?id=16681
--- Comment #21 from cem cemelmaci@hotmail.com 2009-04-28 05:11:03 --- This link may be helpful.
http://www.koders.com/c/fid69FBE14167477B095602ACD42C94BE154DE0B09C.aspx?s=E...
http://bugs.winehq.org/show_bug.cgi?id=16681
--- Comment #22 from cem cemelmaci@hotmail.com 2009-04-28 06:19:06 --- Created an attachment (id=20776) --> (http://bugs.winehq.org/attachment.cgi?id=20776) nativ ntoskrnl exe
i did try with nativ ntoskrnl.dll. yet there are no "Unimplemented function ntoskrnl.exe.ExInitializeResourceLite" problem. but it is still not working.
http://bugs.winehq.org/show_bug.cgi?id=16681
--- Comment #23 from Ken Sharp kennybobs@o2.co.uk 2009-05-28 17:29:23 --- "Unimplemented function ntoskrnl.exe.ExInitializeResourceLite" is Bug 18202. "Unimplemented function gdiplus.dll.GdipMeasureDriverString" is Bug 17433.
There are so many Photoshop CS4 bugs open that some of them are going round in circles....
http://bugs.winehq.org/show_bug.cgi?id=16681
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alex.rayu@gmail.com
--- Comment #24 from Ken Sharp kennybobs@o2.co.uk 2009-05-28 17:40:19 --- *** Bug 17062 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=16681
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #20776|application/octet-stream |text/plain mime type| | Attachment #20776|0 |1 is obsolete| |
--- Comment #25 from Ken Sharp kennybobs@o2.co.uk 2009-05-28 18:03:02 --- (From update of attachment 20776) Don't overwrite the ntoskrnl.
http://bugs.winehq.org/show_bug.cgi?id=16681
--- Comment #26 from Ken Sharp kennybobs@o2.co.uk 2009-05-28 19:06:02 --- What's happening with this now? It looks like the issues have been opened in their own bugs. Do we still need this bug? Does the original error still occur?
http://bugs.winehq.org/show_bug.cgi?id=16681
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED URL|http://adobe.com |http://trials.adobe.com/App | |lications/Photoshop/CS4/Win | |/ADBEPHSPCS4_LS1.7z Resolution| |FIXED
--- Comment #27 from Ken Sharp kennybobs@o2.co.uk 2009-06-13 14:59:57 --- Can not recreate original bug, other bugs have been opened.
Setting to fixed.
http://bugs.winehq.org/show_bug.cgi?id=16681
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #28 from Alexandre Julliard julliard@winehq.org 2009-06-19 11:03:41 --- Closing bugs fixed in 1.1.24.