<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>266373</bug_id>
          
          <creation_ts>2023-12-13 14:41:02 -0800</creation_ts>
          <short_desc>[JSC] Assertion in JSC::Yarr::Interpreter&lt;unsigned char&gt;::InputStream::uncheckInput called from backtrackPatternCasedCharacter</short_desc>
          <delta_ts>2023-12-14 07:53:51 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Saboff">msaboff</reporter>
          <assigned_to name="Michael Saboff">msaboff</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1999406</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2023-12-13 14:41:02 -0800</bug_when>
    <thetext>&quot;Xbc&quot;.match(/(?&lt;=(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&lt;unsigned char&gt;::InputStream::uncheckInput(unsigned int)
4   0x10cdaa524 JSC::Yarr::Interpreter&lt;unsigned char&gt;::backtrackPatternCasedCharacter(JSC::Yarr::ByteTerm&amp;, JSC::Yarr::Interpreter&lt;unsigned char&gt;::DisjunctionContext*)
5   0x10cda5aec JSC::Yarr::Interpreter&lt;unsigned char&gt;::matchDisjunction(JSC::Yarr::ByteDisjunction*, JSC::Yarr::Interpreter&lt;unsigned char&gt;::DisjunctionContext*, bool)
6   0x10cd90114 JSC::Yarr::Interpreter&lt;unsigned char&gt;::interpret()
7   0x10cd8cd28 JSC::Yarr::interpret(JSC::Yarr::BytecodePattern*, WTF::StringView, unsigned int, unsigned int*)
8   0x10bbf51fc int JSC::RegExp::matchInline&lt;WTF::Vector&lt;int, 32ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;, (JSC::Yarr::MatchFrom)0&gt;(JSC::JSGlobalObject*, JSC::VM&amp;, WTF::String const&amp;, unsigned int, WTF::Vector&lt;int, 32ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;)
9   0x10bbb028c JSC::createRegExpMatchesArray(JSC::VM&amp;, JSC::JSGlobalObject*, JSC::JSString*, WTF::String const&amp;, JSC::RegExp*, unsigned int, JSC::MatchResult&amp;)
...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1999407</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2023-12-13 14:43:16 -0800</bug_when>
    <thetext>&lt;rdar://119187095&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1999413</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2023-12-13 14:48:06 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/21765</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1999582</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-12-14 07:53:49 -0800</bug_when>
    <thetext>Committed 272039@main (f59e18069da6): &lt;https://commits.webkit.org/272039@main&gt;

Reviewed commits have been landed. Closing PR #21765 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>