[Webkit-unassigned] [Bug 230206] WebKit2 crashes when initializing due to not-threadsafe call to _NSGetEnviron()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 13 04:50:49 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=230206

--- Comment #2 from white <jinhao.zhang at icloud.com> ---
(In reply to Kimmo Kinnunen from comment #1)
> I think modifying environment is inherently single-threaded operation.
> Is there a place in WebKit which modifies the environment in such a way that
> causes WebKit to crash in this location during initialisation?

AFAIK there isn't. 

This crashing is due to some third party code naively called putenv() in non-main threads and caused racing condition issues while WebKit2 was initializing itself in main thread.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210913/7f769983/attachment.htm>


More information about the webkit-unassigned mailing list