https://bugs.winehq.org/show_bug.cgi?id=50021
Bug ID: 50021 Summary: PS Remote Play fails to launch with assertion in MS.Internal.Shaping.TypefaceMap.MapUnresolvedCharacter s Product: Wine Version: 5.19 Hardware: x86-64 URL: https://remoteplay.dl.playstation.net/remoteplay/modul e/win/RemotePlayInstaller.exe OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: dwrite Assignee: wine-bugs@winehq.org Reporter: z.figura12@gmail.com Depends on: 50016 Distribution: ---
Created attachment 68451 --> https://bugs.winehq.org/attachment.cgi?id=68451 +dwrite log
With wine-mono; I haven't tried native .NET. Note that the installer needs the fix from bug 50016 to run.
From the nature of the exception there's a decent chance it's a dwrite bug, so
I've attached a +dwrite log (51M uncompressed). There is also one dwrite FIXME, though it's not the last call before the exception:
0350:fixme:dwrite:dwritetextanalyzer_AnalyzeNumberSubstitution (0x75a9800 0 9 0x75aa700): stub
https://bugs.winehq.org/show_bug.cgi?id=50021
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Does it make any difference if you install Arial? Does not look like dwrite issue to me yet. WPF does not use text layout or fallback API, so automatic fallback is not relevant here.
https://bugs.winehq.org/show_bug.cgi?id=50021
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|dwrite |-unknown
--- Comment #2 from Zebediah Figura z.figura12@gmail.com --- Installing corefonts does change the behaviour; now I get a C++ error, with no usable backtrace.
https://bugs.winehq.org/show_bug.cgi?id=50021
--- Comment #3 from Zebediah Figura z.figura12@gmail.com --- WINE_MONO_TRACE=wrapper shows more than a few WPF calls before it crashes.
https://bugs.winehq.org/show_bug.cgi?id=50021 Bug 50021 depends on bug 50016, which changed state.
Bug 50016 Summary: PS Remote Play can't install: "To use PS Remote Play, update your PC's OS to the latest version, and then install the Media Feature Pack from Microsoft." https://bugs.winehq.org/show_bug.cgi?id=50016
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
https://bugs.winehq.org/show_bug.cgi?id=50021
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net URL|https://remoteplay.dl.plays |https://web.archive.org/web |tation.net/remoteplay/modul |/20210205030530/https://rem |e/win/RemotePlayInstaller.e |oteplay.dl.playstation.net/ |xe |remoteplay/module/win/Remot | |ePlayInstaller.exe Component|-unknown |fonts Summary|PS Remote Play fails to |PS Remote Play 4.0 (.NET 4 |launch with assertion in |WPF app) fails to launch |MS.Internal.Shaping.Typefac |with Wine-Mono: assertion |eMap.MapUnresolvedCharacter |in |s |MS.Internal.Shaping.Typefac | |eMap.MapUnresolvedCharacter | |s (requires Arial font)
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming, still present.
Adding stable download link via Internet Archive:
https://web.archive.org/web/20210205030530/https://remoteplay.dl.playstation...
Prerequisite:
* 'winecfg /v win10'
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/Sony/PS Remote Play
$ wine ./RemotePlay.exe ... 0024:fixme:dwrite:dwritetextanalyzer_AnalyzeNumberSubstitution (0x5482e28 0 9 0x58e6bd8): stub CLR: Managed code called FailFast, saying "
at System.Environment.get_StackTrace () [0x00000] in <3d7a9349295c42b6abb3487b4473a6b8>:0
at MS.Internal.Invariant.FailFast (System.String message, System.String detailMessage) [0x00000] in <bc6a8e4ae05c4436a373d86253e7438b>:0
at MS.Internal.Invariant.Assert (System.Boolean condition) [0x00000] in <bc6a8e4ae05c4436a373d86253e7438b>:0
at MS.Internal.Shaping.TypefaceMap.MapUnresolvedCharacters (System.Windows.Media.TextFormatting.CharacterBufferRange unicodeString, System.Globalization.CultureInfo culture, System.Globalization.CultureInfo digitCulture, MS.Internal.FontFace.PhysicalFontFamily firstValidFamily, System.Int32& firstValidLength, MS.Internal.SpanVector scaledTypefaceSpans, System.Int32 firstCharIndex, System.Int32& nextValid) [0x00000] in <f010
at MS.Internal.Shaping.TypefaceMap.MapByFontFamilyList (System.Windows.Media.TextFormatting.CharacterBufferRange unicodeString, System.Globalization.CultureInfo culture, System.Globalization.CultureInfo digitCulture, System.Windows.Media.FontFamily[] familyList, MS.Internal.FontFace.PhysicalFontFamily& firstValidFamily, System.Int32& firstValidLength, MS.Internal.FontFace.IDeviceFont deviceFont, System.Double scaleInEm, Sys
at MS.Internal.Shaping.TypefaceMap.MapItem (System.Windows.Media.TextFormatting.CharacterBufferRange unicodeString, System.Globalization.CultureInfo culture, MS.Internal.Span itemSpan, MS.Internal.Generic.SpanVector`1[System.Int32]& cachedScaledTypefaceIndexSpans, System.Int32 ichItem) [0x00000] in <f010aaee1f064773b3f02a16e4a3f48d>:0
at MS.Internal.Shaping.TypefaceMap.GetShapeableText (System.Windows.Media.TextFormatting.CharacterBufferReference characterBufferReference, System.Int32 stringLength, System.Windows.Media.TextFormatting.TextRunProperties textRunProperties, System.Globalization.CultureInfo digitCulture, System.Boolean isRightToLeftParagraph, System.Collections.Generic.IList`1[T] shapeableList, Common.TextFormatting.IShapeableTextCollector co
at MS.Internal.Shaping.GlyphingCache.GetShapeableText (System.Windows.Media.Typeface typeface, System.Windows.Media.TextFormatting.CharacterBufferReference characterBufferReference, System.Int32 stringLength, System.Windows.Media.TextFormatting.TextRunProperties textRunProperties, System.Globalization.CultureInfo digitCulture, System.Boolean isRightToLeftParagraph, System.Collections.Generic.IList`1[T] shapeableList, Common
at System.Windows.Media.TextFormatting.TextCharacters.Common.TextFormatting.ITextSymbols.GetTextShapeableSymbols (MS.Internal.Shaping.GlyphingCache glyphingCache, System.Windows.Media.TextFormatting.CharacterBufferReference characterBufferReference, System.Int32 length, System.Boolean rightToLeft, System.Boolean isRightToLeftParagraph, System.Globalization.CultureInfo digitCulture, System.Windows.Media.TextFormatting.TextMo
at Managed.TextFormatting.FormattedTextSymbols..ctor (MS.Internal.Shaping.GlyphingCache glyphingCache, System.Windows.Media.TextFormatting.TextRun textSymbols, System.Windows.Media.TextFormatting.CharacterBufferRange chars, System.Boolean rightToLeft, System.Double scalingFactor, System.Single pixelsPerDip, System.Windows.Media.TextFormattingMode textFormattingMode, System.Boolean isSideways) [0x00000] in <f010aaee1f064773b
...
at MS.Internal.Text.Line.Format (System.Int32 dcp, System.Double width, System.Windows.Media.TextFormatting.TextParagraphProperties lineProperties, System.Windows.Media.TextFormatting.TextLineBreak textLineBreak, System.Windows.Media.TextFormatting.TextRunCache textRunCache, System.Boolean showParagraphEllipsis) [0x00000] in <448e66291df6403d9c976e81bc01fa3f>:0 at System.Windows.Controls.TextBlock.MeasureOverride (System.Windows.Size constraint) [0x00000] in <448e66291df6403d9c976e81bc01fa3f>:0 at System.Windows.FrameworkElement.MeasureCore (System.Windows.Size availableSize) [0x00000] in <448e66291df6403d9c976e81bc01fa3f>:0 ... at System.Windows.Forms.Control.CreateGraphics () [0x00000] in <05da37b967c44bb2a28686c16b7d8316>:0 at RemoteplayUI.page.StartUp..ctor () [0x00000] in <dfab8880845b463b85b21cad97ca2a90>:0 at RemoteplayUI.RemotePlayWindows..ctor (System.Boolean isTest) [0x00000] in <dfab8880845b463b85b21cad97ca2a90>:0 at î .Main () [0x00000] in <dfab8880845b463b85b21cad97ca2a90>:0 " --- snip ---
With native MS .NET Framework 4.0 installed it crashes as well:
--- snip --- 0290:err:eventlog:ReportEventW L"Application: RemotePlay.exe\nFramework Version: v4.0.30319\nDescription: The application requested process termination through System.Environment.FailFast(string message).\nMessage: Unrecoverable system error.\nStack:\n at System.Environment.FailFast(System.String)\n at MS.Internal.In"... --- snip ---
'winetricks -q arial' works around for both.
Looks like a dupe of bug 32323 ("Netflix (Silverlight 4.x) and several .NET Framework 3.x/4.0 WPF apps require either Arial or Verdana to be installed").
$ sha1sum RemotePlayInstaller.exe 244f383b9e155539bb10920111370804998e9c55 RemotePlayInstaller.exe
$ du -sh RemotePlayInstaller.exe 3.6M RemotePlayInstaller.exe
$ wine --version wine-6.5
Regards