https://bugs.winehq.org/show_bug.cgi?id=49012
Bug ID: 49012 Summary: Application build with .NET CoreRT crashes due to FLS callbacks not being called Product: Wine Version: 5.7 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernelbase Assignee: wine-bugs@winehq.org Reporter: pgofman@codeweavers.com Distribution: ---
Created attachment 66990 --> https://bugs.winehq.org/attachment.cgi?id=66990 Patchset
.NET CoreRT performs thread tear down in a FLS callback which is currently not called in Wine. If the tear down callback is not performed on thread termination, the application later crashes on accessing the data from already freed static TLS data storage area.
The attached patchset is fixing the issue.