https://bugs.winehq.org/show_bug.cgi?id=37899
Bug ID: 37899 Summary: Adobe Photoshop 5.0: Type tool fails with stack overflow Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: madebr@gmail.com Distribution: ---
While trying out some abandonware on Wine, I found out the Type Tool (=Text tool) in Adobe Photoshop 5.0 does not work on current git.
To reproduce: 1) Start Adobe Photoshop 5.0 2) Create new document (CTRL+N & ENTER) 3) Click on the 'Type Tool' in the left toolbar (or press on the T key) 4) Click anywhere on the canvas to cause the crash to happen.
Console output: $ wine ~/.wine/drive_c/Program\ Files/Adobe/Photoshop\ 5.0/Photoshp.exe fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046} fixme:psdrv:PSDRV_ExtEscape GETSETPRINTORIENT not implemented (data (nil))! fixme:psdrv:PSDRV_ExtEscape GETSETPRINTORIENT not implemented (data (nil))! err:seh:setup_exception_record stack overflow 816 bytes in thread 0039 eip f73e93cb esp 00231000 stack 0x230000-0x231000-0x330000
I believe this is a regression. Reverting [299f2b354eeb8909535cb966e22b46d3d7c0463f] user32: Make sure AdjustWindowRect and WM_NCCALCSIZE yield the same result for WS_EX_DLGMODALFRAME windows fixes the problem.
Adobe Photosop 5.0 can be downloaded from https://winworldpc.com/product/adobe-photoshop/5x I used the 56.05MB version)
$ wine --version wine-1.7.34-20-g6bad163 $du Adobe\ Photoshop\ 5.0.7z 54748 Adobe Photoshop 5.0.7z $ sha1sum Adobe\ Photoshop\ 5.0.7z db5bfe010fbde70e2a2d86237331979cf9c4dc10 Adobe Photoshop 5.0.7z