Closed
Bug 1175535
Opened 10 years ago
Closed 10 years ago
Assertion failure: !IsInsideNursery(ptr_), at c:\mozilla\builds\nightly\mozilla\js\src\jit/MIR.h:2862
Categories
(Core :: JavaScript Engine: JIT, defect)
Tracking
()
RESOLVED
FIXED
mozilla41
| Tracking | Status | |
|---|---|---|
| firefox41 | --- | fixed |
People
(Reporter: cbook, Assigned: bhackett1024)
Details
(Keywords: assertion)
Attachments
(2 files)
|
149.49 KB,
text/plain
|
Details | |
|
50.99 KB,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
Found via bughunter and reproduced on a windows 7 debug with m-c tip
Steps to reproduce:
-> Load http://www.paulsmith.co.jp/shop/men/shoes/products/1408098400CASE____
--> Assertion failure: !IsInsideNursery(ptr_), at c:\mozilla\builds\nightly\mozilla\js\src\jit/MIR.h:2862
| Reporter | ||
Comment 1•10 years ago
|
||
brian is this something for you ? filed as s-s just in case
Flags: needinfo?(bhackett1024)
| Assignee | ||
Comment 2•10 years ago
|
||
This is a bogus assert. A nursery pointer found its way to AlwaysTenured, which asserts the pointer is not in the nursery, but the right state was set so that a minor GC would cancel this compilation so no bad behavior can result.
This patch changes AlwaysTenured to CompilerGCPointer and relaxes the assertions it does. It also cleans up these assertions a bit, here as well as in MConstant, and removes some IsInsideNursery tests in IonBuilder that should only have been necessary to satisfy the AlwaysTenured requirements.
Assignee: nobody → bhackett1024
Flags: needinfo?(bhackett1024)
Attachment #8624331 -
Flags: review?(jdemooij)
| Assignee | ||
Updated•10 years ago
|
Group: core-security
Comment 3•10 years ago
|
||
Comment on attachment 8624331 [details] [diff] [review]
patch
Review of attachment 8624331 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/src/jit/MIR.h
@@ +2862,3 @@
> : ptr_(ptr)
> {
> + MOZ_ASSERT_IF(ptr && IsInsideNursery(ptr), IonCompilationCanUseNurseryPointers());
Nit: can remove the "ptr &&" check because IsInsideNursery is null-safe.
Attachment #8624331 -
Flags: review?(jdemooij) → review+
| Reporter | ||
Comment 5•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in
before you can comment on or make changes to this bug.
Description
•