https://bugs.winehq.org/show_bug.cgi?id=38132
Bug ID: 38132 Summary: sb0t v.5 (.NET 4.0 app) crashes due to dwritetextanalyzer_AnalyzeNumberSubstitution stub in Win7 mode Product: Wine Version: 1.7.37 Hardware: x86-64 OS: Linux Status: NEW Severity: minor Priority: P2 Component: dwrite Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
a user in #winehq reported this.
Prerequisite: 'winetricks -q dotnet40 corefonts'
Actually not really a problem, the user changed the Windows version to 'Windows 7' for whatever reason and also had other native overrides present.
Runs fine with default 'Windows XP'.
--- snip --- ... fixme:dwrite:dwritetextanalyzer_AnalyzeNumberSubstitution (0x5b10a28 0 4 0x5b0fe88): stub fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00000402,(nil),0x0001,0x00000000,0x3399a8,(nil)): stub err:eventlog:ReportEventW L"Application: sb0t.exe\nFramework Version: v4.0.30319\nDescription: The process was terminated due to an unhandled exception.\nException Info: System.NotImplementedException\nStack:\n at MS.Internal.TextFormatting.TextMetrics+FullTextLine.FormatLine(MS.Internal.TextFormatting.FullTextState, Int32, I"... fixme:advapi:DeregisterEventSource (0xcafe4242) stub
Unhandled Exception: System.NotImplementedException: The method or operation is not implemented. ---> System.NotImplementedException: The method or operation is not implemented. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode, IntPtr errorInfo) at MS.Internal.Text.TextInterface.Native.Util.ConvertHresultToException(Int32 hr) at MS.Internal.Text.TextInterface.TextAnalyzer.Itemize(UInt16* text, UInt32 length, CultureInfo culture, Factory factory, Boolean isRightToLeftParagraph, CultureInfo numberCulture, Boolean ignoreUserOverride, UInt32 numberSubstitutionMethod, IClassification classificationUtility, CreateTextAnalysisSink pfnCreateTextAnalysisSink, GetScriptAnalysisList pfnGetScriptAnalysisList, GetNumberSubstitutionList pfnGetNumberSubstitutionList, CreateTextAnalysisSource pfnCreateTextAnalysisSource) at MS.Internal.Shaping.TypefaceMap.GetShapeableText(CharacterBufferReference characterBufferReference, Int32 stringLength, TextRunProperties textRunProperties, CultureInfo digitCulture, Boolean isRightToLeftParagraph, IList`1 shapeableList, IShapeableTextCollector collector, TextFormattingMode textFormattingMode) at MS.Internal.Shaping.GlyphingCache.GetShapeableText(Typeface typeface, CharacterBufferReference characterBufferReference, Int32 stringLength, TextRunProperties textRunProperties, CultureInfo digitCulture, Boolean isRightToLeftParagraph, IList`1 shapeableList, IShapeableTextCollector collector, TextFormattingMode textFormattingMode) at System.Windows.Media.TextFormatting.TextCharacters.MS.Internal.TextFormatting.ITextSymbols.GetTextShapeableSymbols(GlyphingCache glyphingCache, CharacterBufferReference characterBufferReference, Int32 length, Boolean rightToLeft, Boolean isRightToLeftParagraph, CultureInfo digitCulture, TextModifierScope textModifierScope, TextFormattingMode textFormattingMode, Boolean isSideways) --- snip ---
$ sha1sum sb0t527.zip 7935fd3ca96486dbcbe3a1b59a134fcb9ae57ce7 sb0t527.zip
$ du -sh sb0t527.zip 1.5M sb0t527.zip
$ wine --version wine-1.7.37
Regards
https://bugs.winehq.org/show_bug.cgi?id=38132
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download URL| |https://sb0t5.codeplex.com/
https://bugs.winehq.org/show_bug.cgi?id=38132
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
still present.
Source: https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/dwrite/analyzer.c#l77...
--- snip --- 775 static HRESULT WINAPI dwritetextanalyzer_AnalyzeNumberSubstitution(IDWriteTextAnalyzer2 *iface, 776 IDWriteTextAnalysisSource* source, UINT32 position, UINT32 length, IDWriteTextAnalysisSink* sink) 777 { 778 FIXME("(%p %u %u %p): stub\n", source, position, length, sink); 779 return E_NOTIMPL; 780 } --- snip ---
$ wine --version wine-1.7.40-29-gc1c108f
Regards
https://bugs.winehq.org/show_bug.cgi?id=38132
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|sb0t v.5 (.NET 4.0 app) |Multiple .NET 4.x WPF |crashes due to |applications need |dwritetextanalyzer_AnalyzeN |'IDWriteTextAnalyzer::Analy |umberSubstitution stub in |zeNumberSubstitution' |Win7 mode |method implementation in | |Win7 mode (sb0t v.5, | |Samsung Smart View 2.0) Severity|minor |normal
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello again,
refining summary to target all .NET 4.x WPF apps here.
Another .NET 4.5 app, reported from #winehq: 'Samsung Smart View 2.0'
http://www.samsung.com/uk/support/smartview2/
$ sha1sum SmartView2.msi 997a0ddb27d73bfd7403b4bfe309c8938ac2269a SmartView2.msi
$ du -sh SmartView2.msi 9.0M SmartView2.msi
$ wine --version wine-1.7.40-29-gc1c108f
Regards
https://bugs.winehq.org/show_bug.cgi?id=38132
Julius Schwartzenberg julius.schwartzenberg@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |julius.schwartzenberg@gmail | |.com
--- Comment #3 from Julius Schwartzenberg julius.schwartzenberg@gmail.com --- Nikolay's patch to let applications continue now was accepted. http://source.winehq.org/patches/data/110636
https://bugs.winehq.org/show_bug.cgi?id=38132
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |551f0a157f4a8a3776b6f291e4b | |c214b11de345a Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
resolving fixed by commit https://source.winehq.org/git/wine.git/commitdiff/551f0a157f4a8a3776b6f291e4...
Thanks Nikolay
Although the .NET apps run a bit further now, they still fail in Win7 mode with 'FailFast' which is the .NET way of 'Assert()'. It fails to lookup fallback font family ('Arial' being the last one tried).
Regards
https://bugs.winehq.org/show_bug.cgi?id=38132
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.41.
https://bugs.winehq.org/show_bug.cgi?id=38132
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://sb0t5.codeplex.com/ |https://web.archive.org/web | |/20211128113755/https://git | |hub.com/AresChat/sb0t/relea | |ses/download/v5.28/sb0t528. | |zip
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download links via Internet Archive.
sb0t v5.x:
https://web.archive.org/web/20150128210952/https://sb0t5.codeplex.com/
https://web.archive.org/web/20140910134101/http://sb0t5.codeplex.com/release...
Microsoft (finally) shut down codeplex.com archive in 2021 but fortunately there existed a community project which aimed to preserve the digital legacy:
https://wiki.archiveteam.org/index.php/CodePlex
https://archive.org/details/sylirana_ms_codeplex_zips
--- snip --- $ wget https://archive.org/download/sylirana_ms_codeplex_zips/zips.csv
$ grep -Hrni sb0t zips.csv zips.csv:75588:"sb0t","sb0t","sb0t.zip","3743513","mscodeplex-s-1.tar","" zips.csv:75589:"sb0t5","sb0t5","sb0t5.zip","1653175","mscodeplex-s-1.tar","" --- snip ---
which leads to:
https://archive.org/download/sylirana_ms_codeplex_zips/tars/mscodeplex-s-1.t...
https://archive.org/download/sylirana_ms_codeplex_zips/tars/mscodeplex-s-1.t...
Unfortunately it doesn't contain the release assets for v5.27
Only https://archive.org/download/sylirana_ms_codeplex_zips/tars/mscodeplex-s-1.t... contains release assets, but those are for sb0t 4.xx
The github project https://github.com/AresChat/sb0t it migrated to has v5.28 as oldest asset.
https://github.com/AresChat/sb0t/releases?page=2
I've created a snapshot here:
https://web.archive.org/web/20211128113755/https://github.com/AresChat/sb0t/...
$ sha1sum sb0t528.zip 79d4e2e3aca05152c7ba950589463b582cd2903e sb0t528.zip
$ du -sh sb0t528.zip 1.5M sb0t528.zip
====
Samsung SmartView 2:
https://web.archive.org/web/20150820071008/http://www.samsung.com/uk/support...
CDN link is gone but I found the installer here:
https://schwart6.home.xs4all.nl/smartview2/
https://web.archive.org/web/20210610111440/https://schwart6.home.xs4all.nl/s...
https://www.virustotal.com/gui/file/35743466ae84fe5f72846725147cbd1e28347440...
$ sha1sum SmartView2.msi 997a0ddb27d73bfd7403b4bfe309c8938ac2269a SmartView2.msi
$ du -sh SmartView2.msi 9.0M SmartView2.msi
Regards