Closed
Bug 350529
Opened 18 years ago
Closed 18 years ago
x--' causes "Assertion failure: ts->lookahead < NTOKENS_MASK" [@ js_UngetToken]
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: jruderman, Assigned: mrbkap)
Details
(Keywords: crash, testcase, verified1.8.1)
Crash Data
Attachments
(1 file)
1.63 KB,
patch
|
mrbkap
:
review+
mtschrep
:
approval1.8.1+
|
Details | Diff | Splinter Review |
Steps to reproduce: In a debug build, javascript:x--' Result: Assertion failure: ts->lookahead < NTOKENS_MASK jsscan.c:2080 [@ js_UngetToken] Expected: "Unterminated string literal" error.
Comment 1•18 years ago
|
||
Did the fix for bug 350415 regress this? /be
Comment 2•18 years ago
|
||
I can't reproduce this in any js shell, trunk, 1.8 branch, 1.8.0 branch. Jesse, Bob: can either of you? /be
Reporter | ||
Comment 3•18 years ago
|
||
Yes, I can reproduce in trunk js shell.
> ~/trunk/mozilla/js/src/Darwin_DBG.OBJ admin$ ./js
js> x--'
Assertion failure: ts->lookahead < NTOKENS_MASK, at jsscan.c:2080
Abort trap
Comment 4•18 years ago
|
||
Jesse, can you test this? It matches the change made for bug 350415. /be
Attachment #235878 -
Flags: review?(mrbkap)
Updated•18 years ago
|
Assignee: general → mrbkap
Comment 5•18 years ago
|
||
I should have seen this -- I did protest that the change for bug 350415 was gonna break something, playing Cassandra a bit. This needs to go in for 1.8 to fix the regression that the patch for bug 350415 landed there yesterday. /be
Flags: blocking1.8.1?
Reporter | ||
Comment 6•18 years ago
|
||
This patch fixes the bug for me.
Assignee | ||
Comment 7•18 years ago
|
||
Comment on attachment 235878 [details] [diff] [review] fix I thought about this, but managed to convince myself that this code already looked like this.
Attachment #235878 -
Flags: review?(mrbkap) → review+
Updated•18 years ago
|
Attachment #235878 -
Flags: approval1.8.1?
Comment 8•18 years ago
|
||
Fixed on trunk. /be
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•18 years ago
|
Flags: blocking1.8.1? → blocking1.8.1+
Comment 9•18 years ago
|
||
Comment on attachment 235878 [details] [diff] [review] fix a=schrep for drivers.
Attachment #235878 -
Flags: approval1.8.1? → approval1.8.1+
Comment 11•18 years ago
|
||
Checking in regress-350529.js; /cvsroot/mozilla/js/tests/js1_5/Regress/regress-350529.js,v <-- regress-350529.js initial revision: 1.1
Flags: in-testsuite+
Comment 12•18 years ago
|
||
verified fixed 1.8, 1.9 20060830 windows/mac*/linux also passes in 1.8.0.7
Status: RESOLVED → VERIFIED
Keywords: fixed1.8.1 → verified1.8.1
Updated•13 years ago
|
Crash Signature: [@ js_UngetToken]
You need to log in
before you can comment on or make changes to this bug.
Description
•