[Bug 50149] New: Chromium/MS WebView2 depends on TEB->ReservedForOle 'apt_mask' value

WineHQ Bugzilla wine-bugs at winehq.org
Tue Nov 17 17:19:16 CST 2020


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

            Bug ID: 50149
           Summary: Chromium/MS WebView2 depends on TEB->ReservedForOle
                    'apt_mask' value
           Product: Wine
           Version: 5.21
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ole32
          Assignee: wine-bugs at winehq.org
          Reporter: bshanks at codeweavers.com
      Distribution: ---

Chromium reaches into the TEB->ReservedForOle struct to read the current COM
apartment type:

https://source.chromium.org/chromium/chromium/src/+/master:base/win/com_init_util.cc

Wine's 'struct tlsdata' in dlls/combase/combase_private.h has the 'apt_mask'
member in the right place, but it isn't set anywhere.
This causes MS WebView2 to fail on initialization, and might cause other
failures in Chromium.

(also, it looks like the entire SOleTlsData layout has been open-sourced as
part of .NET core:
https://github.com/dotnet/coreclr/blob/master/src/vm/oletls.h)

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