Closed
Bug 861419
Opened 12 years ago
Closed 12 years ago
Crash [@ js::ion::IonCompartment::flusher] with bug 804676 fixes
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: gkw, Unassigned)
References
Details
(Keywords: crash, regression, testcase)
Attachments
(2 files)
10.94 KB,
text/plain
|
Details | |
1.28 KB,
patch
|
dvander
:
review+
|
Details | Diff | Splinter Review |
try {
arguments.toSource = (function() {
__proto__.y = x
})
y = this
print(x = 8)
a = arguments
for (v of this) {}
} catch (e) {}
function f() {
y.a
}
f()
f()
y = 1[7]
f()
crashes js debug and opt shell on ionmonkey (where bug 804676 fixes landed for testing) changeset 79f78c194329 with --ion-eager at js::ion::IonCompartment::flusher
![]() |
Reporter | |
Updated•12 years ago
|
Flags: needinfo?(bhackett1024)
![]() |
Reporter | |
Comment 2•12 years ago
|
||
(In reply to Brian Hackett (:bhackett) from comment #1)
> I can't reproduce this.
I can definitely reproduce with --enable-more-deterministic.
sh ./configure --target=x86_64-apple-darwin11.4.0 --enable-optimize --disable-debug --enable-profiling --enable-gczeal --enable-debug-symbols --enable-methodjit --enable-type-inference --disable-tests --enable-more-deterministic --with-ccache
Flags: needinfo?(bhackett1024)
Comment 3•12 years ago
|
||
OK, that worked. When reading global names we didn't propagate values for the property in from its prototype, so that the added freeze constraint was triggered later on during compilation and compiled code was not invalidated at the right point.
https://hg.mozilla.org/projects/ionmonkey/rev/a8d0317c24c1
Attachment #737246 -
Flags: review?(dvander)
Flags: needinfo?(bhackett1024)
Comment on attachment 737246 [details] [diff] [review]
patch
Review of attachment 737246 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/src/ion/IonBuilder.cpp
@@ +5635,5 @@
> // The property has been reconfigured as non-configurable, non-enumerable
> // or non-writable.
> return jsop_getname(name);
> }
> + if (!propertyTypes->hasPropagatedProperty())
Could you put a comment above explaining what this condition means?
Attachment #737246 -
Flags: review?(dvander) → review+
Comment 5•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 6•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a8d0317c24c1
https://hg.mozilla.org/mozilla-central/rev/c946f7a39397
Flags: in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•