Closed Bug 831055 Opened 12 years ago Closed 12 years ago

"Assertion failure: [infer failure] Missing type in object [0x241d1f0] lastIndex: float,"

Categories

(Core :: JavaScript Engine, defect)

x86_64
Windows 7
defect
Not set
critical

Tracking

()

RESOLVED FIXED
Tracking Status
firefox20 + fixed
firefox21 + fixed
firefox-esr17 --- unaffected
b2g18 --- unaffected

People

(Reporter: gkw, Unassigned)

References

Details

(4 keywords, Whiteboard: [jsbugmon:][adv-main20+] YARR bug on Win64)

Attachments

(1 file)

Attached file stack
r = RegExp("(?!})()?", "g"); r.test(); r.lastIndex; asserts js debug shell on m-c changeset 56ff556e74d9 with -a at Assertion failure: [infer failure] Missing type in object [0x241d1f0] lastIndex: float, Tested on 64-bit. s-s because this is an inference failure. autoBisect shows this is probably related to the following changeset: The first bad revision is: changeset: 116119:b7e2ba73b2ff user: Sean Stangl date: Wed Dec 12 18:11:28 2012 -0800 summary: Bug 808245, Part 6/6 - Add MatchOnly mode and lazify RegExpStatics. r=dvander
This is probably another instance of Bug 826581. Anything involving search(), test(), or replace() will have random behavior on Win64 until that bug is fixed.
That should read "Bug 826588".
Whiteboard: [jsbugmon:update] → [jsbugmon:]
JSBugMon: Cannot process bug: Unable to automatically reproduce, please track manually.
Marking as moderate because it is probably Win64 only.
Keywords: sec-moderate
Whiteboard: [jsbugmon:] → [jsbugmon:] YARR bug on Win64
Gary, this also should have been fixed by Makoto's recent patch in Bug 830676.
Flags: needinfo?(gary)
I verify that the assertion no longer occurs with the testcase. Setting in-testsuite? and assuming fixed by bug 830676.
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?(gary) → in-testsuite?
Resolution: --- → FIXED
Can we land 830676 on Aurora? This bug occurs on at least Firefox 20 based on when it was filed.
of course bug 830676 claims it's fixing a regression in Firefox 21 so it's not clear how it fixed this older bug. Maybe there's a part of it to back-port?
Sean, does the patch in bug 830676 need to be backported to Aurora? I marked this bug as affecting 20 but bug 830676 (which fixes this bug) is set as not affecting 20.
Flags: needinfo?(sstangl)
(In reply to Gary Kwong [:gkw] (intermittent Feb 8 - Feb 19) from comment #9) > Sean, does the patch in bug 830676 need to be backported to Aurora? > > I marked this bug as affecting 20 but bug 830676 (which fixes this bug) is > set as not affecting 20. Aurora is affected by Bug 830676. I'll set the bits.
Flags: needinfo?(sstangl)
Bug 830676 got uplifted and marked fixed on FF 20 - is there anything left here to do for FF 20?
(In reply to Lukas Blakk [:lsblakk] from comment #11) > Bug 830676 got uplifted and marked fixed on FF 20 - is there anything left > here to do for FF 20? Nope. I verified that it has been fixed for FF 20 (mozilla-beta now).
Whiteboard: [jsbugmon:] YARR bug on Win64 → [jsbugmon:][adv-main20+] YARR bug on Win64
Group: core-security
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: