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
308806
[WTF] Improve RefCountDebugger::applyRefDerefThreadingCheck() to catch more bugs
https://bugs.webkit.org/show_bug.cgi?id=308806
Summary
[WTF] Improve RefCountDebugger::applyRefDerefThreadingCheck() to catch more bugs
Chris Dumez
Reported
2026-02-27 00:26:09 PST
Improve RefCountDebugger::applyRefDerefThreadingCheck() to catch more bugs. In particular, we now make sure the refcount always gets incremented on the same thread / serial work queue by leveraging ThreadLikeAssertion. Previously, the code would only distinguish main thread vs non-main thread. I have also bumped the ASSERT to be an ASSERT_WITH_SECURITY_IMPLICATIONS.
Attachments
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2026-02-27 00:26:18 PST
<
rdar://169618659
>
Chris Dumez
Comment 2
2026-02-27 00:29:46 PST
Pull request:
https://github.com/WebKit/WebKit/pull/59563
EWS
Comment 3
2026-02-27 23:28:34 PST
Committed
308390@main
(0be79662c168): <
https://commits.webkit.org/308390@main
> Reviewed commits have been landed. Closing PR #59563 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