[Bug 50021] PS Remote Play 4.0 (.NET 4 WPF app) fails to launch with Wine-Mono: assertion in MS.Internal.Shaping.TypefaceMap.MapUnresolvedCharacters (requires Arial font)

WineHQ Bugzilla wine-bugs at winehq.org
Sun Mar 28 04:01:45 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=50021

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at 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 at gmx.net> ---
Hello folks,

confirming, still present.

Adding stable download link via Internet Archive:

https://web.archive.org/web/20210205030530/https://remoteplay.dl.playstation.net/remoteplay/module/win/RemotePlayInstaller.exe

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

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