[Bug 18886] PhotomatixPro 3.1 crashes at the startup

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jun 10 15:47:54 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=18886


Louis Lenders <xerox_xerox2000 at yahoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xerox_xerox2000 at yahoo.co.uk




--- Comment #4 from Louis Lenders <xerox_xerox2000 at yahoo.co.uk>  2009-06-10 15:47:54 ---
(In reply to comment #2)
> Created an attachment (id=21725)
 --> (http://bugs.winehq.org/attachment.cgi?id=21725) [details]
> Console output attempting to launch the program

Mr. Focht figured it all out for us already, see the appdb for .net 2.0:
-----------------------------------------------------------------------
If you get a crash/backtrace like the following in console:

Unhandled Exception: System.AccessViolationException: Attempted to read or
write protected memory. This is often an indication that other memory is
corrupt.
at System.Drawing.SafeNativeMethods.Gdip.GdipCreateFontFromLogfontW(HandleRef
hdc, Object lf, IntPtr& font)
at System.Drawing.Font.FromLogFont(Object lf, IntPtr hdc)
at System.Drawing.Font.FromHfont(IntPtr hfont)
at System.Drawing.SystemFonts.get_DefaultFont()
at System.Windows.Forms.Control.get_Font()
....

You most likely have a corrupted or non-conformant truetype font in your
system. These are the most notorious ones:

­­/usr/share/fonts/truetype/arphic/ukai.ttf
/usr/share/fonts/truetype/ttf-oriya-fonts/Samyak-Oriya.ttf­
­ ­

Method 1: Removal of fonts

Either remove that font files manually (not just renaming) or use your Linux
package manager. On Ubuntu something like:

$ sudo apt-get remove ttf-oriya-fonts­
­ Method 2: Winetricks to updat­e fonts

Make sure you use a recent version of 'Winetricks' scriptto make sure you get
all font-fixes required for .NET.

After winetricks script update, execute the following command in console (if
you don't want to reinstall everything in new WINEPREFIX):

­$ sh winetricks fontfix

'winetricks fontfix' (or 'winetricks dotnet20' which includes 'fontfix' step)
will install working versions of truetype fonts known as broken (like the
notorious "ukai"). Don't worry, your original (broken) ones from your Linux
distribution will be left unchanged. The "good" fonts get installed into
Wine/Windows font directory which has higher font search path precedence - so
the good ones will be pulled in when found before defaulting to Linux
distribution ones.

If the application still crashes with the workarounds applied showing the above
backtrace file a bug with bugzilla. 
----------------------------------------------------------------------------

Try the above, and report back plz

-- 
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.


More information about the wine-bugs mailing list