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 ...
https://bugs.winehq.org/show_bug.cgi?id=41233
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bunglehead@gmail.com
--- Comment #1 from Matteo Bruni matteo.mystral@gmail.com --- It seems to crash in freetype, called by dwrite. Adding Nikolay in CC in case he's interested.
https://bugs.winehq.org/show_bug.cgi?id=41233
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Hi, David. Could you attach +dwrite,+dwrite_file,+tid log? Do I need to have the game installed to reproduce this or this application is enough?
https://bugs.winehq.org/show_bug.cgi?id=41233
--- Comment #3 from David Keijser keijser@gmail.com --- Created attachment 55549 --> https://bugs.winehq.org/attachment.cgi?id=55549 tail of wine with winedebug=+dwrite,+dwrite_file,+tid
running with the debug flags I ended up with 50MB file so I had to cut it down to attach it, this is only the tail of the fail.
https://bugs.winehq.org/show_bug.cgi?id=41233
--- Comment #4 from David Keijser keijser@gmail.com --- Technically the app works by examining the log file of the game so I guess it would be possible to simulate the game but I have not tried that. To reproduce it looks like what I have to do is enter a game and let one or two game rounds pass I also noticed it seems tied to when the turn changes in the game which always trigger the application to redraw.