Bug 266373

Summary: [JSC] Assertion in JSC::Yarr::Interpreter<unsigned char>::InputStream::uncheckInput called from backtrackPatternCasedCharacter
Product: WebKit Reporter: Michael Saboff <msaboff>
Component: JavaScriptCoreAssignee: Michael Saboff <msaboff>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Michael Saboff
Reported 2023-12-13 14:41:02 PST
"Xbc".match(/(?<=(ab*?))c/i); Fails with a RELEASE_ASSERT at yarr/YarrInterpreter.cpp(403): 1 0x10a726ed8 WTFCrash 2 0x10ae3cdb4 JSC::IntlNumberFormat::initializeNumberFormat(JSC::JSGlobalObject*, JSC::JSValue, JSC::JSValue) 3 0x10cda7ebc JSC::Yarr::Interpreter<unsigned char>::InputStream::uncheckInput(unsigned int) 4 0x10cdaa524 JSC::Yarr::Interpreter<unsigned char>::backtrackPatternCasedCharacter(JSC::Yarr::ByteTerm&, JSC::Yarr::Interpreter<unsigned char>::DisjunctionContext*) 5 0x10cda5aec JSC::Yarr::Interpreter<unsigned char>::matchDisjunction(JSC::Yarr::ByteDisjunction*, JSC::Yarr::Interpreter<unsigned char>::DisjunctionContext*, bool) 6 0x10cd90114 JSC::Yarr::Interpreter<unsigned char>::interpret() 7 0x10cd8cd28 JSC::Yarr::interpret(JSC::Yarr::BytecodePattern*, WTF::StringView, unsigned int, unsigned int*) 8 0x10bbf51fc int JSC::RegExp::matchInline<WTF::Vector<int, 32ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>, (JSC::Yarr::MatchFrom)0>(JSC::JSGlobalObject*, JSC::VM&, WTF::String const&, unsigned int, WTF::Vector<int, 32ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&) 9 0x10bbb028c JSC::createRegExpMatchesArray(JSC::VM&, JSC::JSGlobalObject*, JSC::JSString*, WTF::String const&, JSC::RegExp*, unsigned int, JSC::MatchResult&) ...
Attachments
Michael Saboff
Comment 1 2023-12-13 14:43:16 PST
Michael Saboff
Comment 2 2023-12-13 14:48:06 PST
EWS
Comment 3 2023-12-14 07:53:49 PST
Committed 272039@main (f59e18069da6): <https://commits.webkit.org/272039@main> Reviewed commits have been landed. Closing PR #21765 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.