Closed Bug 672854 Opened 14 years ago Closed 14 years ago

Crash [@ js::TokenStream::TokenBuf::getRawChar]

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla8

People

(Reporter: gkw, Assigned: Waldo)

References

Details

(Keywords: crash, regression, testcase, Whiteboard: [js-triage-done])

Crash Data

Attachments

(2 files)

Attached file stack
Function("for(w in\\") crashes js debug shell on MI changeset without any CLI arguments at js::TokenStream::TokenBuf::getRawChar .
Got sleepy - should be MI changeset 47d8748daa90 !
Whiteboard: js-triage-needed
I got the same crash signature with LangFuzz on mozilla-central revision c9cdc5df55f4.
Looks like a missing null-check of an expr() call -- probably from the recent rewrite of this code (did that land?).
Assignee: general → jwalden+bmo
Status: NEW → ASSIGNED
OS: Mac OS X → All
Hardware: x86 → All
Attached patch Patch and testsSplinter Review
I'm not sure how many of these tests the patch actually fixes, but based on bug 672888, I'm guessing it's more than a few. Can't hurt to test more. :-)
Attachment #547246 - Flags: review?(jorendorff)
Comment on attachment 547246 [details] [diff] [review] Patch and tests ★ Thank you.
Attachment #547246 - Flags: review?(jorendorff) → review+
Whiteboard: js-triage-needed → [js-triage-done]
Target Milestone: --- → mozilla8
autoBisect shows this is probably related to the following changeset: The first bad revision is: changeset: 73021:938c1a177114 user: Jason Orendorff date: Tue Jul 19 11:00:43 2011 -0500 summary: Bug 648175 - Remove JSOP_FOR*. Second second landing, to coin a phrase. r=dvander.
Blocks: 648175
To anyone looking at the commit message for this push: yes, I know. Bug 506949, save me from myself!
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: