Closed
Bug 490776
Opened 17 years ago
Closed 16 years ago
Crash [@ js_SetBuiltinError]
Categories
(Core :: JavaScript Engine, defect, P2)
Core
JavaScript Engine
Tracking
()
VERIFIED
FIXED
mozilla1.9.2a1
People
(Reporter: jruderman, Assigned: gal)
Details
(4 keywords, Whiteboard: fixed-in-tracemonkey)
Crash Data
Attachments
(3 files, 2 obsolete files)
TM branch
| Assignee | ||
Comment 1•17 years ago
|
||
- If we already deep-bailed, don't try to set a builtin status.
- Don't leak the error cookie. status exit builtins should never use it.
Assignee: general → gal
Attachment #375233 -
Flags: review?(jorendorff)
| Assignee | ||
Comment 2•17 years ago
|
||
I think this is a rare and fairly safe NULL pointer crash and not exploitable.
Flags: wanted1.9.1?
Priority: -- → P2
| Assignee | ||
Comment 3•17 years ago
|
||
Attachment #375233 -
Attachment is obsolete: true
Attachment #375233 -
Flags: review?(jorendorff)
| Assignee | ||
Comment 4•17 years ago
|
||
(This patch is on hold, pending further discussion how to properly solve it.)
Comment 5•17 years ago
|
||
To crash:
./js -j b2.js
Comment 6•17 years ago
|
||
I'm quite sure this is a regression - autoBisecting now...
Shell testcase also crashes in Ubuntu 9.04.
Comment 7•17 years ago
|
||
The testcase first asserts at Assertion failure: cx->builtinStatus == 0, at ../jstracer.cpp here, where it then takes on a variety of other assert messages:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=1dd1af3aec3e&tochange=bded4e432e7a
Then changed from an assert to a crash in this regression window.
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=d9eafbebdd78&tochange=99143ce38e68
Due to the constant morphing of error indications, autoBisect is unable to pin down specific bugs, but nonetheless this bug is a regression.
Comment 8•17 years ago
|
||
blocking for now, but feel free to argue
Flags: blocking1.9.1? → blocking1.9.1+
| Assignee | ||
Comment 9•17 years ago
|
||
This is back to a crash. Has to be fixed. Investigating.
| Assignee | ||
Comment 10•16 years ago
|
||
There was some discussion between jorendorff and me regarding this bug, and for the life of me I can't remember what we agreed on. I will discuss this with Brendan and then post an update.
| Assignee | ||
Comment 11•16 years ago
|
||
Attachment #375244 -
Attachment is obsolete: true
Attachment #376823 -
Flags: review?(jorendorff)
Comment 12•16 years ago
|
||
Comment on attachment 376823 [details] [diff] [review]
patch
Conversation on this one ranged far and wide on IRC, so this minimal patch is a huge relief.
Attachment #376823 -
Flags: review?(jorendorff) → review+
| Assignee | ||
Comment 13•16 years ago
|
||
The attached patch maintains a stack of InterpState structs, which guarantees that cx->interpState is always correct.
| Assignee | ||
Comment 14•16 years ago
|
||
Whiteboard: fixed-in-tracemonkey
Comment 15•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 16•16 years ago
|
||
Keywords: fixed1.9.1
Comment 17•16 years ago
|
||
Verified fixed with xpshell test and the following debug builds:
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre)
Gecko/20090522 Minefield/3.6a1pre ID:20090522133810
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1pre)
Gecko/20090522 Shiretoko/3.5pre ID:20090522153422
Status: RESOLVED → VERIFIED
Keywords: fixed1.9.1 → verified1.9.1
Target Milestone: --- → mozilla1.9.2a1
Updated•14 years ago
|
Crash Signature: [@ js_SetBuiltinError]
Comment 18•13 years ago
|
||
Automatically extracted testcase for this bug was committed:
https://hg.mozilla.org/mozilla-central/rev/efaf8960a929
Flags: in-testsuite? → in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•