Bug 104846

Summary: ASSERTION FAILED: (&term - term.atom.parenthesesWidth)->inputPosition == term.inputPosition
Product: WebKit Reporter: David Anderson <danderson>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: barraclough, msaboff
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description David Anderson 2012-12-12 14:45:11 PST
Originally from https://bugzilla.mozilla.org/show_bug.cgi?id=808478:

The expression:
  "h".match(RegExp("()??t()*"))

Causes this YARR assertion failure. At first I thought it was our local modifications to YARR, but it happens with upstream JSC as well. It looks like term.inputPosition gets set to -1 somewhere in emitDisjunction, but I haven't found out why yet.
Comment 1 Alexey Proskuryakov 2012-12-13 18:34:30 PST
Confirmed with ToT.