[Bug 49116] Multiple installers using "mbahost.dll" crash due to method invocation on CCW class interface (Windows 10 1903 SDK (10.0.18362.0), SQL Server Management Studio, Raid Shadow Legends)

WineHQ Bugzilla wine-bugs at winehq.org
Tue Dec 1 07:06:10 CST 2020


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Fixed by SHA1|                            |6078375a298f4879ada0a91e844
                   |                            |51ca24f851800
             Status|REOPENED                    |RESOLVED
           Keywords|                            |Installer
                 CC|                            |focht at gmx.net

--- Comment #16 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

that specific crash was fixed in Wine-Mono 5.1.1, part of Wine 5.19 release.

https://source.winehq.org/git/wine.git/commitdiff/6078375a298f4879ada0a91e84451ca24f851800
("mscoree: Update Wine Mono to 5.1.1.")

upstream-upstream:

https://github.com/mono/mono/commit/a79bf1902d335552891353e8c7b22af33019b299 ("
[cominterop] Support ClassInterfaceType and auto-dual class interfaces")

upstream:

https://github.com/madewokherd/wine-mono/commit/2f394441d8ec0d673865be44cf4c17e16ba5ab9b
(mono submodule update)

One liner to print submodule changes compared to previous super-project tag:

--- snip ---
$ git remote -v
origin    git://github.com/madewokherd/wine-mono.git (fetch)

$ git log --graph --oneline -U0 --submodule wine-mono-5.1.0..wine-mono-5.1.1 |
grep -E '^[*| /\\]+([0-9a-f]{7} |Submodule |> |$)'

* 46e4f91 Release 5.1.1.
* 0f1e42d wpf: Beginnings of text formtting API implementation.
| Submodule wpf a13817e..67e25bb:
|   > PresentationCore: Implement GetBackspaceCaretCharacterHit.
|   > PresentationCore: Implement GetNext/PreviousCharacterHit.
|   > PresentationCore: Simplify GetTextBounds.
|   > PresentationCore: Simplify GetCharacterHitFromDistance.
|   > PresentationCore: Implement GetTextBounds.
|   > PresentationCore: Implement GetCharacterHitFromDistance.
|   > PresentationCore: Always use ideal scaling factor for
FormattedTextSymbols.
|   > PresentationCore: Implement FullTextLine.GetIndexedGlyphRuns.
|   > PresentationCore: Fix misuse of cache in GetTextRunSpans.
|   > PresentationCore: Fix misuse of cache in linebreak calculation.
|   > PresentationCore: Fix misuse of cached TextRun objects.
|   > PresentationCore: Add trailing whitespace calculation.
|   > PresentationCore: Initial support for text wrapping.
|   > PresentationCore: Split line measurement into a separate method.
|   > PresentationNative: Add EnableWindowWrapper.
|   > PresentationCore: Stub text formatting for TextHidden.
|   > PresentationCore: Use FormattedTextSymbols to measure text.
|   > PresentationCore: Move TextFormatterContext to MS.Internal.
|   > PresentationCore: Remove TextFormatterContext deps from Managed.
|   > DirectWriteForwarder: Fix NRE in TextAnalyzer.
|   > PresentationCore: Partially implement FullTextLine.Draw.
|   > PresentationNative: Add MapWindowPoints wrapper.
|   > PresentationCore: Stub FullTextLine.Start.
|   > PresentationCore: Stub GetTextLineBreak.
|   > PresentationCore: Implement FullTextLine.HasOverflowed.
|   > PresentationCore: Implement FullTextLine.Width.
|   > PresentationCore: Implement FullTextLine.Baseline.
|   > PresentationCore: Implement
FullTextLine.WidthIncludingTrailingWhitespace.
|   > PresentationCore: Implement FullTextLine.GetTextRunSpans.
|   > PresentationCore: Implement FullTextLine.NewlineLength.
|   > PresentationCore: Implement FullTextLine.Length.
|   > PresentationCore: Add support for managed FullTextLine.Height.
|   > PresentationCore: Fetch text runs in FullTextLine.
|   > PresentationCore: Initialize fields in FullTextLine constructor.
|   > PresentationCore: Copy FullTextState to Managed.TextFormatting.
|   > PresentationCore: Move LexicalChunk to common code.
|   > DirectWriteForwarder: Fix FontMetrics struct offsets.
|   > PresentationCore: Remove redundant VerifyTextFormattingArguments call.
|   > PresentationCore: Move IShapeableTextCollector to common code.
|   > PresentationCore: Move CultureMapper to common code.
|   > PresentationCore: Fix path for Common.TextFormatting.
|   > PresentationCore: Move ITextSymbols to common code.
|   > PresentationCore: Make TextShapeableSymbols common code.
|   > PresentationCore: Copy TextMetrics to Managed.TextFormatting.
|   > PresentationCore: Copy SimpleTextLine to Managed.TextFormatting.
|   > Copy more of the original TextFormatting implementation.
|   > PresentationCore: Verify FormatLine arguments.
|   > PresentationCore: Fix typo in NotImplementedException message.
|   > PresentationCore: Stub FormatLine.
|   > PresentationCore: Add a stub managed TextFormatter.
|   > xaml2cs: Always use InvariantCulture.
* f8de315 winforms: Cherry-picked bug fixes.
| Submodule winforms 4a81f2d..946b198:
|   > Correct regression introduced in #659 (#3934)
|   > NativeWindow: Ensure WndProc's lasts as long as they are used.
|   > fix: Hide icon when `ShowIcon = false` (#3055)
* 2f39444 mono update: Various bug fix cherry-picks.
  Submodule mono 4cc767b..1ad0d8c:
    > [System] Use corefx NetworkChange on Windows.
    > Send runtime output to printf handler.
    > [mini] Send debug output to print handler.
    > [trace] Send trace output to print handler.
    > [cominterop] Support ClassInterfaceType and auto-dual class interfaces
(#19768)
    > [mono] Implement AsAny marshalling for simple arrays (#19683)
--- snip ---

Thanks Zebediah, Esme

NOTE: The installer still doesn't work (hangs) but that's a different problem.

--- snip ---
$ WINE_MONO_TRACE=x wine ./winsdksetup.exe 
...
0154:fixme:mscoree:metahostpolicy_GetRequestedRuntime ignoring config flags
0154:fixme:mscoree:parse_startup useLegacyV2RuntimeActivationPolicy=L"true" not
implemented
0154:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.5"
not implemented
...
[0000016C:] EXCEPTION handling: System.IO.FileNotFoundException: Could not load
the file 'Microsoft.Bootstrapper.XmlSerializers'.
...
[0000016C:] EXCEPTION handling: System.IO.FileNotFoundException: Could not load
the file 'Microsoft.Bootstrapper.XmlSerializers'.
[0000016C:] EXCEPTION handling: System.IO.FileNotFoundException: Could not load
file or assembly
'C:\windows\mono\mono-2.0\lib\mono\gac\PresentationCore\4.0.0.0__31bf3856ad364e35\en-US\PresentationCore.resources.dll'
or one of its dependencies.
[0000016C:] EXCEPTION handling: System.IO.FileNotFoundException: Could not load
file or assembly
'C:\windows\mono\mono-2.0\lib\mono\gac\PresentationCore\4.0.0.0__31bf3856ad364e35\en\PresentationCore.resources.dll'
or one of its dependencies.
016c:fixme:ntdll:EtwEventRegister ({e13b77a8-14b6-11de-8069-001b212b5009},
04C40520, 00000000, 04A3F118) stub.
[0000016C:] EXCEPTION handling: System.IO.FileNotFoundException: Could not load
file or assembly
'C:\windows\Temp\{8B27CB78-030C-4344-B0EA-221DE20E2EEE}\.ba\en-US\Microsoft.Bootstrapper.Presentation.resources.dll'
or one of its dependencies.
[0000016C:] EXCEPTION handling: System.IO.FileNotFoundException: Could not load
file or assembly
'C:\windows\mono\mono-2.0\lib\mono\gac\PresentationFramework.classic\4.0.0.0__31bf3856ad364e35\en-US\PresentationFramework.Classic.resources.dll'
or one of its dependencies.
[0000016C:] EXCEPTION handling: System.IO.FileNotFoundException: Could not load
file or assembly
'C:\windows\mono\mono-2.0\lib\mono\gac\PresentationFramework.classic\4.0.0.0__31bf3856ad364e35\en\PresentationFramework.Classic.resources.dll'
or one of its dependencies.
016c:fixme:ntdll:EtwEventRegister ({e13b77a8-14b6-11de-8069-001b212b5009},
06F07060, 0740F018, 07414C08) stub.
[0000016C:] EXCEPTION handling: System.IO.FileNotFoundException: Could not load
file or assembly
'C:\windows\mono\mono-2.0\lib\mono\gac\WindowsBase\4.0.0.0__31bf3856ad364e35\en-US\WindowsBase.resources.dll'
or one of its dependencies.
[0000016C:] EXCEPTION handling: System.IO.FileNotFoundException: Could not load
file or assembly
'C:\windows\mono\mono-2.0\lib\mono\gac\WindowsBase\4.0.0.0__31bf3856ad364e35\en\WindowsBase.resources.dll'
or one of its dependencies.
[0000016C:] EXCEPTION handling: System.IO.FileNotFoundException: Could not load
file or assembly
'C:\windows\mono\mono-2.0\lib\mono\gac\PresentationFramework\4.0.0.0__31bf3856ad364e35\en-US\PresentationFramework.resources.dll'
or one of its dependencies.
[0000016C:] EXCEPTION handling: System.IO.FileNotFoundException: Could not load
file or assembly
'C:\windows\mono\mono-2.0\lib\mono\gac\PresentationFramework\4.0.0.0__31bf3856ad364e35\en\PresentationFramework.resources.dll'
or one of its dependencies.
[0000016C:] EXCEPTION handling: System.NotSupportedException: Cannot convert
the value in attribute 'Property' to object of type
'System.Windows.DependencyProperty'.
[0000016C:] EXCEPTION handling: System.IO.FileNotFoundException: Could not load
file or assembly
'C:\windows\mono\mono-2.0\lib\mono\gac\System.Xaml\4.0.0.0__b77a5c561934e089\en-US\System.Xaml.resources.dll'
or one of its dependencies.
[0000016C:] EXCEPTION handling: System.IO.FileNotFoundException: Could not load
file or assembly
'C:\windows\mono\mono-2.0\lib\mono\gac\System.Xaml\4.0.0.0__b77a5c561934e089\en\System.Xaml.resources.dll'
or one of its dependencies.
[0000016C:] EXCEPTION handling: System.Xaml.XamlObjectWriterException: Failed
to create a 'DependencyProperty' from the text 'ContentStringFormat'.
016c:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll",
(null), 04A3D418, 01469C10, 04A3D41C, 04A3D410
016c:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll",
(null), 04A3D418, 01469C10, 04A3D41C, 04A3D410
[00000154:] EXCEPTION handling: System.PlatformNotSupportedException: Operation
is not supported on this platform.
[00000154:] EXCEPTION handling: System.PlatformNotSupportedException: Operation
is not supported on this platform.
[00000154:] EXCEPTION handling: System.Runtime.InteropServices.COMException: 
016c:fixme:msg:ChangeWindowMessageFilter c052 00000001
016c:fixme:dwmapi:DwmAttachMilContent (0002006A) stub
0184:fixme:driver:GdiEntry13 stub
0184:fixme:dwrite:dwritefactory_CreateMonitorRenderingParams (0x1): monitor
setting ignored
...
[0000016C:] EXCEPTION handling: System.EntryPointNotFoundException:
LoGetEscString assembly:<unknown assembly> type:<unknown type> member:(null)
[0000016C:] EXCEPTION handling: System.TypeInitializationException: The type
initializer for 'MS.Internal.TextFormatting.TextStore' threw an exception.
[0000016C:] EXCEPTION handling: System.IO.FileNotFoundException: Could not load
file or assembly
'C:\windows\Temp\{8B27CB78-030C-4344-B0EA-221DE20E2EEE}\.ba\en-US\Microsoft.Bootstrapper.Presentation.resources.dll'
or one of its dependencies.
016c:fixme:dwrite:dwritetextanalyzer_AnalyzeNumberSubstitution (0x6313290 0 16
0x6313660): stub
016c:fixme:uiautomation:UiaGetReservedMixedAttributeValue (04A3CC88) stub!
016c:fixme:uiautomation:UiaGetReservedNotSupportedValue (04A3CC88) stub!
[0000016C:] EXCEPTION handling: System.NotImplementedException:
Managed.TextFormatting.FullTextLine.GetRunMetrics for
MS.Internal.Text.TextSpanModifier
[0000016C:] EXCEPTION handling: System.NotImplementedException:
Managed.TextFormatting.FullTextLine.GetRunMetrics for
MS.Internal.Text.TextSpanModifier
[0000016C:] EXCEPTION handling: System.Reflection.TargetInvocationException:
Exception has been thrown by the target of an invocation.
...
[0000016C:] EXCEPTION handling: System.NotImplementedException:
Managed.TextFormatting.FullTextLine.GetRunMetrics for
MS.Internal.Text.TextSpanModifier
[0000016C:] EXCEPTION handling: System.NotImplementedException:
Managed.TextFormatting.FullTextLine.GetRunMetrics for
MS.Internal.Text.TextSpanModifier
--- snip ---

$ sha1sum winsdksetup.exe 
7a977b61b0bb49a30d77a3b37ecb9c847d9e983d  winsdksetup.exe

$ du -sh winsdksetup.exe 
1.3M    winsdksetup.exe

$ wine --version
wine-5.19

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