http://bugs.winehq.org/show_bug.cgi?id=18379
Summary: Photoshop 3 does install but not run (out of memory error) Product: Wine Version: 1.1.19 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: Andreas.Schallenberg@Eurobild.com
Created an attachment (id=20953) --> (http://bugs.winehq.org/attachment.cgi?id=20953) Lzma-compressed WINE log file (Photoshop 3)
On Windows-Machines, Photoshop refuses to run when much physical RAM is installed. Problems typically start when it exceeds 512 MB.
The installation routine works but the real application (photosle.exe) shows an "out of memory" dialog and quits.
Running Photoshop 3 using WINE shows the same behavior (tested with 1GB RAM and WINE 1.1.19). The installer works fine and the app refuses to start up.
The first attachment to this report was created using the following command: WINEDEBUG=+relay wine photosle.exe &>wine.log
http://bugs.winehq.org/show_bug.cgi?id=18379
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2009-05-07 07:22:24 --- If it doen't work under Windows it won't work under Wine under the same conditions, Wine is not a magic wand.
http://bugs.winehq.org/show_bug.cgi?id=18379
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2009-05-07 07:22:46 --- Closing.
http://bugs.winehq.org/show_bug.cgi?id=18379
Rein Klazes wijn@online.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Status|CLOSED |UNCONFIRMED Resolution|INVALID |
--- Comment #3 from Rein Klazes wijn@online.nl 2009-05-07 11:33:15 --- For the record:
Andreas posted on the usenet newsgroup that on win2k the programs runs (at least for one system with 1280MB ram). He asked for a way to limit the amount of memory visible to old programs. Further AFAIK the memory on win9x versions is also limited, perhaps 512MB. To have a look I invited Andreas to upload the trace in bugzilla so we can have a look.
Since it runs at least under some version of windows and also because if not a bug then it is a request for enhancement: re-opening.
http://bugs.winehq.org/show_bug.cgi?id=18379
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kennybobs@o2.co.uk
http://bugs.winehq.org/show_bug.cgi?id=18379
--- Comment #4 from Andreas Schallenberg Andreas.Schallenberg@Eurobild.com 2009-05-07 13:58:02 --- Actually, I have two machines running with 1280MB of memory on which PS3 runs well. Both have Windows 2000, SP4 and the (AFAIK only existing) update rollup that was released after SP4. The machines are quite different otherwise (CPU, mainboard, HDDs, graphics etc.). So I am quite confident that this is a reproducible behavior. I did many tests with additional memory configurations and virtual memory settings, mainly using 768 MByte and 1 GByte physical RAM without success.
http://bugs.winehq.org/show_bug.cgi?id=18379
--- Comment #5 from Vitaliy Margolen vitaliy@kievinfo.com 2009-05-07 14:15:59 --- Then I'm assuming in Wine you set win version to win2k (for default profile, not just ps.exe)?
http://bugs.winehq.org/show_bug.cgi?id=18379
Rein Klazes wijn@online.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #6 from Rein Klazes wijn@online.nl 2009-05-08 01:19:36 --- The log confirms that photoshop get its data after a call to GlobalMemoryStatus()
I have installed PhotoShop3 and can confirm the bug. Hacking the function above to return 512, 1024, 1536, 1792 MB lets the program run.
Andreas what is the output on your 1GB system of
WINEDEBUG=+heap wine photosle.exe 2>&1 |grep GlobalMemory
http://bugs.winehq.org/show_bug.cgi?id=18379
--- Comment #7 from Dmitry Timoshkov dmitry@codeweavers.com 2009-05-08 01:53:32 --- (In reply to comment #6)
The log confirms that photoshop get its data after a call to GlobalMemoryStatus()
I have installed PhotoShop3 and can confirm the bug. Hacking the function above to return 512, 1024, 1536, 1792 MB lets the program run.
What field do you limit that makes the app run? Wine already limits values returned by GlobalMemoryStatus() to 2Gb for apps that don't expect that.
http://bugs.winehq.org/show_bug.cgi?id=18379
--- Comment #8 from Andreas Schallenberg Andreas.Schallenberg@Eurobild.com 2009-05-08 03:51:14 --- (In reply to comment #6)
... Hacking the function above to return 512, 1024, 1536, 1792 MB lets the program run.
Doesn't that mean that Photoshop should run natively under a Win2K OS, too?
Andreas what is the output on your 1GB system of
WINEDEBUG=+heap wine photosle.exe 2>&1 |grep GlobalMemory
The output is:
trace:heap:GlobalMemoryStatusEx <-- LPMEMORYSTATUSEX: dwLength 64, dwMemoryLoad 40, ullTotalPhys 3e583000, ullAvailPhys 24e6a000, ullTotalPageFile 6495a000, ullAvailPageFile 4b23f000, ullTotalVirtual 7ffdffff, ullAvailVirtual 7ffcffff trace:heap:GlobalMemoryStatus Length 32, MemoryLoad 40, TotalPhys 3e583000, AvailPhys 24e6a000, TotalPageFile 6495a000, AvailPageFile 4b23f000, TotalVirtual 7ffdffff, AvailVirtual 7ffcffff
http://bugs.winehq.org/show_bug.cgi?id=18379
--- Comment #9 from Andreas Schallenberg Andreas.Schallenberg@Eurobild.com 2009-05-08 04:04:29 --- (In reply to comment #5)
Then I'm assuming in Wine you set win version to win2k (for default profile, not just ps.exe)?
Just tried it. Unfortunately doing so does not change the behavior.
http://bugs.winehq.org/show_bug.cgi?id=18379
--- Comment #10 from Rein Klazes wijn@online.nl 2009-05-08 04:45:35 --- (In reply to comment #7)
I have installed PhotoShop3 and can confirm the bug. Hacking the function above to return 512, 1024, 1536, 1792 MB lets the program run.
What field do you limit that makes the app run? Wine already limits values returned by GlobalMemoryStatus() to 2Gb for apps that don't expect that.
I hard coded the dwTotalPhys field. With 2GB (or 2GB -1 if you want) it comes with the memory error. The app is interested (with windbg) in that field and the dwTotalPageFile field. I could not follow how the program (wrongly) calculated that it had a low memory problem.
http://bugs.winehq.org/show_bug.cgi?id=18379
--- Comment #11 from Dmitry Timoshkov dmitry@codeweavers.com 2009-05-09 00:51:30 --- Could anyone please test Photoshop 3 under real Windows with 2Gb or more memory installed and report the results??
http://bugs.winehq.org/show_bug.cgi?id=18379
--- Comment #12 from Andreas Schallenberg Andreas.Schallenberg@Eurobild.com 2009-06-01 02:51:00 --- (In reply to comment #11)
Could anyone please test Photoshop 3 under real Windows with 2Gb or more memory installed and report the results??
Tested it with 2GB phys. RAM, swap space size from 768 to 1536 MB. The application started up. Windows 2000.
http://bugs.winehq.org/show_bug.cgi?id=18379
--- Comment #13 from Austin English austinenglish@gmail.com 2010-03-11 17:21:18 --- This is your friendly reminder that there has been no bug activity for 8 months. Is this still an issue in current (1.1.40 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=18379
--- Comment #14 from Ken Sharp kennybobs@o2.co.uk 2010-03-11 21:45:51 --- (In reply to comment #11)
Could anyone please test Photoshop 3 under real Windows with 2Gb or more memory installed and report the results??
Tested under Windows XP with 2.5 GB, the app reports the same memory error. The same is true under the various "compatibility" settings, but they're usefulness is very limited anyway.
MS Application Verifier can simulate low memory, but I think it goes to the other extreme as PS3 simply suffers another error when this is enabled.
Hacking Wine to report less memory as reported above allowed PS3 to load for me under Linux (with 2GB RAM).
@@ -1359,7 +1359,7 @@ VOID WINAPI GlobalMemoryStatus( LPMEMORYSTATUS lpBuffer ) - lpBuffer->dwAvailPageFile = 2U*1024*1024*1024 - lpBuffer->dwAvailPhys - 1; + lpBuffer->dwAvailPageFile = 2U*1024*1024 - lpBuffer->dwAvailPhys - 1;
http://bugs.winehq.org/show_bug.cgi?id=18379
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID
--- Comment #15 from Dmitry Timoshkov dmitry@codeweavers.com 2010-03-12 00:27:21 --- (In reply to comment #14)
(In reply to comment #11)
Could anyone please test Photoshop 3 under real Windows with 2Gb or more memory installed and report the results??
Tested under Windows XP with 2.5 GB, the app reports the same memory error. The same is true under the various "compatibility" settings, but they're usefulness is very limited anyway.
Then this bug is invalid.
http://bugs.winehq.org/show_bug.cgi?id=18379
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Dmitry Timoshkov dmitry@codeweavers.com 2010-03-12 00:27:35 --- Closing invalid.
https://bugs.winehq.org/show_bug.cgi?id=18379
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=19494