WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
300335
Fix race condition in testVMManagerStopTheWorld().
https://bugs.webkit.org/show_bug.cgi?id=300335
Summary
Fix race condition in testVMManagerStopTheWorld().
Mark Lam
Reported
2025-10-07 11:47:57 PDT
The global totalNumberOfVMs is being incremented from worker threads as they start. As such, there's a race where their read-modify-write operation can trash each other's mods. The fix is simply to make totalNumberOfVMs atomic.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-10-07 11:48:18 PDT
<
rdar://problem/162135022
>
Mark Lam
Comment 2
2025-10-07 12:07:30 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/51958
EWS
Comment 3
2025-10-07 13:11:24 PDT
Committed
301159@main
(24181825972e): <
https://commits.webkit.org/301159@main
> Reviewed commits have been landed. Closing PR #51958 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug