[Bug 18633] New: gdiplus: page fault on read access if SAMYAK-ORIYA.TTF is installed
http://bugs.winehq.org/show_bug.cgi?id=18633 Summary: gdiplus: page fault on read access if SAMYAK-ORIYA.TTF is installed Product: Wine Version: 1.1.22 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdiplus AssignedTo: wine-bugs(a)winehq.org ReportedBy: thomas+wine(a)stromberg.org Created an attachment (id=21336) --> (http://bugs.winehq.org/attachment.cgi?id=21336) wine 1.2.2 output of 'WINEDEBUG=+relay wine lightroom.exe ' This affected me when running the downloadable Adobe Lightroom 2.3 demo, but searching Google for the error message shows that it affects many more applications. wine: Unhandled page fault on read access to 0x00000048 at address 0x4ec97cd7 (thread 0009), starting debugger... Unhandled exception: page fault on read access to 0x00000048 in 32-bit code (0x4ec97cd7). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:4ec97cd7 ESP:0032ef40 EBP:0032ef50 EFLAGS:00010246( R- -- I Z- -P- ) EAX:00110000 EBX:02c673d8 ECX:00000048 EDX:00000011 ESI:02c675a8 EDI:00000000 The error message (including addresses) is consistent between loads. If I remove /usr/share/fonts/truetype/ttf-oriya-fonts/Samyak-Oriya.ttf, Adobe Lightroom starts up. This TTF file is from the ttf-oriya-fonts (Version: 1:0.5.4ubuntu2) package installed in Linux Mint 6 / Ubuntu 8.10: SHA1: c494865439707e5d5a04446413a9336dfde1d80a MD5: f7bbba06e75d20ae12b977873f5f9aba A workaround to override this font with a newer version was added to winetricks r430, but you wouldn't know it unless you really dove into the issue: http://code.google.com/p/winezeug/source/detail?r=430 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18633 Vincent Povirk <madewokherd(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #1 from Vincent Povirk <madewokherd(a)gmail.com> 2009-05-26 14:56:31 --- PE 4ec50000-4edf3000 Export gdiplus This is native gdiplus. Invalid. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18633 Vincent Povirk <madewokherd(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Vincent Povirk <madewokherd(a)gmail.com> 2009-05-26 14:56:49 --- Closing. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18633 Thomas Stromberg <thomas+wine(a)stromberg.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|INVALID | --- Comment #3 from Thomas Stromberg <thomas+wine(a)stromberg.org> 2009-05-26 15:26:25 --- Are you sure? I am pretty sure I am using the wine gdi+ layer. I double checked by removing all of ~/.wine and then only running the Lightroom installer. The only gdi files are: $ find ~/.wine/drive_c -name "*gdi*" /home/tstromberg/.wine/drive_c/windows/system32/gdi32.dll $ strings /home/tstromberg/.wine/drive_c/windows/system32/gdi32.dll Wine placeholder DLL .text `.reloc B.rsrc Is there something I am missing? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18633 --- Comment #4 from Vincent Povirk <madewokherd(a)gmail.com> 2009-05-26 15:34:46 --- gdi32 is not gdiplus. I think that removing your wine prefix and starting over will reset it to builtin (unless the installer is messing with wine-specific settings, but that seems unlikely to me). To be absolutely certain you're using builtin gdiplus, you can set the environment variable WINEDLLOVERRIDES=gdiplus=b. It's possible that builtin still crashes, but if so it should crash for a different reason. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18633 --- Comment #5 from Thomas Stromberg <thomas+wine(a)stromberg.org> 2009-05-26 15:43:08 --- Your right, the crash does look different with that environment variable: wine: Call from 0x7b844583 to unimplemented function gdiplus.dll.GdipCreateHICONFromBitmap, aborting wine: Unimplemented function gdiplus.dll.GdipCreateHICONFromBitmap called at address 0x7b844583 (thread 0009), starting debugger... Unhandled exception: unimplemented function gdiplus.dll.GdipCreateHICONFromBitmap called in 32-bit code (0x7b844583). Also, the file search I did previously was a bad one. $ find /home/tstromberg/.wine/drive_c -iname "*gdi*" /home/tstromberg/.wine/drive_c/Program Files/Adobe/Adobe Photoshop Lightroom 2.3/GdiPlus.dll /home/tstromberg/.wine/drive_c/users/tstromberg/Local Settings/Application Data/GDIPFONTCACHEV1.DAT /home/tstromberg/.wine/drive_c/windows/system32/gdi32.dll So, it would seem that Lightroom ships with a version of GdiPlus.dll. This troubles me because anyone who wants to try to run Lightroom has to know about this environment variable to use the native GDI (and even then, it crashes). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18633 Ken Sharp <kennybobs(a)o2.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.adobe.com/cfusio | |n/tdrc/index.cfm?product=ph | |otoshop_lightroom -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18633 --- Comment #6 from Austin English <austinenglish(a)gmail.com> 2009-05-26 16:44:00 --- (In reply to comment #5)
Your right, the crash does look different with that environment variable:
wine: Call from 0x7b844583 to unimplemented function gdiplus.dll.GdipCreateHICONFromBitmap, aborting wine: Unimplemented function gdiplus.dll.GdipCreateHICONFromBitmap called at address 0x7b844583 (thread 0009), starting debugger... Unhandled exception: unimplemented function gdiplus.dll.GdipCreateHICONFromBitmap called in 32-bit code (0x7b844583).
That function is indeed not implemented.
So, it would seem that Lightroom ships with a version of GdiPlus.dll.
Which means it was a native gdiplus.dll
This troubles me because anyone who wants to try to run Lightroom has to know about this environment variable to use the native GDI (and even then, it crashes).
The bug isn't in wine, but Microsoft's gdiplus/samyak-oriya.ttf. File bugs with them for that crash. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18633 --- Comment #7 from Ken Sharp <kennybobs(a)o2.co.uk> 2009-05-26 17:55:41 --- The workaround is very simple, I'll add it to the appdb: delete the native gdiplus.dll So is this bug invalid? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18633 --- Comment #8 from Nikolay Sivov <bunglehead(a)gmail.com> 2009-05-26 18:03:01 --- (In reply to comment #7)
The workaround is very simple, I'll add it to the appdb: delete the native gdiplus.dll
So is this bug invalid?
Or a duplicate of something with missed GdipCreateHICONFromBitmap. It's better to test with a simple stub for this call. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18633 Ken Sharp <kennybobs(a)o2.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED URL|http://www.adobe.com/cfusio |http://trials.adobe.com/App |n/tdrc/index.cfm?product=ph |lications/LTRM/2/LTRM2_WWEF |otoshop_lightroom |G_win.exe Resolution| |INVALID --- Comment #9 from Ken Sharp <kennybobs(a)o2.co.uk> 2009-05-26 18:14:26 --- Invalid then, bug reported is with native gdiplus. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18633 Ken Sharp <kennybobs(a)o2.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #10 from Ken Sharp <kennybobs(a)o2.co.uk> 2009-05-26 18:14:44 --- Closing. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18633 --- Comment #11 from Ken Sharp <kennybobs(a)o2.co.uk> 2009-05-26 18:28:05 --- Opened Bug 18633. Thomas, can you confirm (in that bug) if the exception occurs on every run? Thanks. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18633 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|gdiplus |-unknown --- Comment #12 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2009-05-26 21:37:43 --- Report the bug to microsoft. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18633 --- Comment #13 from Ken Sharp <kennybobs(a)o2.co.uk> 2009-05-26 21:41:29 --- (In reply to comment #11)
Opened Bug 18633.
Bug 18641. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18633 --- Comment #14 from Vincent Povirk <madewokherd(a)gmail.com> 2009-05-27 13:44:50 --- Filed bug 18654 about wine defaulting to native gdiplus in this case. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org