https://bugs.winehq.org/show_bug.cgi?id=41233
Bug ID: 41233 Summary: Hearthstone Deck tracker issues with fonts and crash Product: Wine Version: 1.9.17 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: keijser@gmail.com Distribution: ---
Created attachment 55520 --> https://bugs.winehq.org/attachment.cgi?id=55520 crash1 - backtrace in wine
Trying to run hearthstone deck tracker with 1.9.17. It's a .NET application I have installed dotnet45, corefonts and vcrun2015 using winetricks. The application starts the main window is flickering a bit but is still usable.
The overlay initial works, after a while text fails to render and eventually the application crashes. I've seen a couple of different ones but they are always related to fonts in some way.
https://github.com/HearthSim/Hearthstone-Deck-Tracker
attaching the bigger wine trackback the final bit of the .NET level trace is below
Exception\nStack:\n at MS.Win32.PresentationCore.UnsafeNativeMethods+MilCoreApi.MilGlyphRun_GetGlyphOutline(IntPtr, UInt16, Boolean, Dou"... fixme:advapi:DeregisterEventSource (0xcafe4242) stub
Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at MS.Win32.PresentationCore.UnsafeNativeMethods.MilCoreApi.MilGlyphRun_GetGlyphOutline(IntPtr pFontFace, UInt16 glyphIndex, Boolean sideways, Double renderingEmSize, Byte*& pPathGeometryD ata, UInt32& pSize, FillRule& pFillRule) at System.Windows.Media.GlyphTypeface.ComputeGlyphOutline(UInt16 glyphIndex, Boolean sideways, Double renderingEmSize) at System.Windows.Media.GlyphRun.BuildGeometry() at System.Windows.Media.FormattedText.CombineGeometryRecursive(Drawing drawing, GeometryGroup& accumulatedGeometry) at System.Windows.Media.FormattedText.CombineGeometryRecursive(Drawing drawing, GeometryGroup& accumulatedGeometry) at System.Windows.Media.FormattedText.CombineGeometryRecursive(Drawing drawing, GeometryGroup& accumulatedGeometry) at System.Windows.Media.FormattedText.BuildGeometry(Point origin) at Hearthstone_Deck_Tracker.OutlinedTextBlock.OnRender(DrawingContext drawingContext) ... SNIP ...