Closed
Bug 523530
Opened 15 years ago
Closed 15 years ago
Crash [@ 0x001f5422] or [@ 0x002dd7e1]
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: gkw, Assigned: mrbkap)
References
Details
(Keywords: crash, regression, testcase, Whiteboard: [ccbr] fixed-in-tracemonkey)
Crash Data
Attachments
(3 files)
try { (function() {
[__defineSetter__("x", gc)]
})()
} catch(e) {}
try { (function() {
__defineGetter__("x", gc).x
})()
} catch(e) {}
try { (function() {
for (var a = 0; a < 8; ++a) {
if (a % 3 == 1) {
this.watch("x", eval)
}
}
})()
} catch(e) {}
try { (function() {
for (let b = 0; b < 4; ++b) print(x = 3 / 0)
})()
} catch(e) {}
crashes js opt shell without -j at 0x001f5422 and crashes dbg shell without -j at 0x002dd7e1 when passed in as a CLI argument. Setting security-sensitive due to scary addresses. autoBisect coming right up...
Comment 1•15 years ago
|
||
Strangely, gdb fails to unwind, but mac os x crash reporter has little trouble.
Reporter | ||
Comment 2•15 years ago
|
||
Reporter | ||
Comment 3•15 years ago
|
||
autoBisect shows this is probably related to bug 495325:
The first bad revision is:
changeset: 33133:de72243414cd
user: Blake Kaplan
date: Mon Aug 17 18:08:20 2009 -0700
summary: Bug 495325 - Follow ES about indirect eval being global eval. r=brendan/igor
Blocks: 495325
Whiteboard: [ccbr]
Assignee | ||
Comment 4•15 years ago
|
||
When we set aside the scope chain, it isn't marked any more. We need to do that manually. I wanted to use JSAutoTempValueRooter, but couldn't see an easy way to do so.
Updated•15 years ago
|
Attachment #407469 -
Flags: review?(brendan) → review+
Comment 5•15 years ago
|
||
Comment on attachment 407469 [details] [diff] [review]
Fix
So to use JSAutoTempValueRooters you'd need to get rid of the downward gotos, or else init the atvrs with null and then set their values?
/be
Assignee | ||
Comment 6•15 years ago
|
||
Whiteboard: [ccbr] → [ccbr] fixed-in-tracemonkey
Reporter | ||
Comment 7•15 years ago
|
||
This was pushed to mozilla-central some time ago:
http://hg.mozilla.org/mozilla-central/rev/2581d8d91679
Apparently in the checkin message a different number, bug 520511 was referenced.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Crash Signature: [@ 0x001f5422]
[@ 0x002dd7e1]
Updated•9 years ago
|
Group: core-security
You need to log in
before you can comment on or make changes to this bug.
Description
•