[Bug 45546] Magic The Gathering Arena updater: Unity fork of Mono-runtime reports 'Fatal error in gc, GetThreadContext failed' (suspension of Mono-managed threads sometimes exceed 100ms)

WineHQ Bugzilla wine-bugs at winehq.org
Thu Apr 23 20:58:10 CDT 2020


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

Jacek Caban <jacek at codeweavers.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jacek at codeweavers.com

--- Comment #28 from Jacek Caban <jacek at codeweavers.com> ---
This should behave much better with current Wine. The last related commit is:
https://source.winehq.org/git/wine.git/commitdiff/c4dab9b76eb7397f6e5325ff4bdf792cf500e571

We use proper wait instead of polling when getting the context now. Other
related changes made handling SIGUSR1 signal much cheaper (in most cases,
threads do 1 instead of 3 server calls on suspend) and avoid signals in some
cases.

The timeout is still the same, but with much lower suspend overhead it will
hopefully be enough. Potential further improvement would be to avoid sending
SIGUSR1 to threads that are waiting for other reasons anyway.

There is not much we can do in cases where signals are blocked by external
code.

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