Closed
Bug 930260
Opened 11 years ago
Closed 11 years ago
fix infinite recursion in signal handler on non-main-thread in debug builds
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla27
People
(Reporter: luke, Assigned: luke)
Details
Attachments
(1 file)
2.22 KB,
patch
|
bhackett1024
:
review+
|
Details | Diff | Splinter Review |
If you have a real seg-fault on a helper thread, then RuntimeForCurrentThread() will MOZ_ASSERT crash which will recursively call the signal handler and on and on. This patch adds a PerThreadData::runtimeIfOnOwnerThread() so that RuntimeForCurrentThread() can easily do the right thing.
Attachment #821327 -
Flags: review?(bhackett1024)
Updated•11 years ago
|
Attachment #821327 -
Flags: review?(bhackett1024) → review+
Assignee | ||
Comment 1•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/42f131becd2f
Comment 2•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/42f131becd2f
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in
before you can comment on or make changes to this bug.
Description
•