[Webkit-unassigned] [Bug 161893] New: ParkingLot is going to have a bad time with threads dying
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 12 22:12:56 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=161893
Bug ID: 161893
Summary: ParkingLot is going to have a bad time with threads
dying
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Template Framework
Assignee: webkit-unassigned at lists.webkit.org
Reporter: fpizlo at apple.com
If a thread dies right as it falls out of parkConditionally, then unparkOne() and friends might die because they will dereference a deallocated ThreadData.
The solution is to ref-count ThreadData's. When unparkOne() and friends want to hold onto a ThreadData past the queue lock, they can +1 the ref count.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160913/cc3e009a/attachment.html>
More information about the webkit-unassigned
mailing list