<?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>273048</bug_id>
          
          <creation_ts>2024-04-21 13:35:04 -0700</creation_ts>
          <short_desc>REGRESSION(277770@main): [Mac WK1, GTK, WPE, Win] ASSERTION FAILED: v &lt;= 0 under MacroAssemblerX86Common::sub32</short_desc>
          <delta_ts>2024-04-23 14:03:40 -0700</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>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=272901</see_also>
          <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="Fujii Hironori">fujii</reporter>
          <assigned_to name="David Degazio">d_degazio</assigned_to>
          <cc>d_degazio</cc>
    
    <cc>j_stfleur</cc>
    
    <cc>qbtly201</cc>
    
    <cc>vitaly</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2030108</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-04-21 13:35:04 -0700</bug_when>
    <thetext>Mac WK1, GTK, WPE and Win Debug are crashing due to an assertion failure

Buildbot: builder Apple-Ventura-Debug-WK1-Tests build 5364 : 277774@main
https://build.webkit.org/#/builders/703/builds/5364

https://build.webkit.org/results/Apple-Ventura-Debug-WK1-Tests/277774@main%20(5364)/accessibility/accessibility-node-reparent-crash-log.txt

ASSERTION FAILED: v &lt;= 0
/Volumes/Data/worker/Apple-Ventura-Debug-Build/build/WebKitBuild/Debug/usr/local/include/wtf/MathExtras.h(787) : typename std::enable_if_t&lt;std::is_integral_v&lt;T&gt; &amp;&amp; std::is_signed_v&lt;T&gt;, std::make_unsigned_t&lt;T&gt;&gt; WTF::negate(T) [T = int]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2030109</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-04-21 13:35:17 -0700</bug_when>
    <thetext>https://build.webkit.org/results/GTK-Linux-64-bit-Debug-Tests/277774@main%20(13031)/accessibility/accessibility-node-memory-management-stderr.txt

ASSERTION FAILED: v &lt;= 0
/app/webkit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/MathExtras.h(787) : constexpr std::enable_if_t&lt;(is_integral_v&lt;T&gt; &amp;&amp; is_signed_v&lt;T&gt;), typename std::make_unsigned&lt;_Tp&gt;::type&gt; WTF::negate(T) [with T = int; std::enable_if_t&lt;(is_integral_v&lt;T&gt; &amp;&amp; is_signed_v&lt;T&gt;), typename std::make_unsigned&lt;_Tp&gt;::type&gt; = unsigned int; typename std::make_unsigned&lt;_Tp&gt;::type = unsigned int]
1   0x7f3a1f387422 WTFCrash
2   0x7f3a1cf08b0a WTF::isIntegralOrPointerType()
3   0x7f3a1e29322e std::enable_if&lt;(is_integral_v&lt;int&gt;)&amp;&amp;(is_signed_v&lt;int&gt;), std::make_unsigned&lt;int&gt;::type&gt;::type WTF::negate&lt;int&gt;(int)
4   0x7f3a1ed8c67e JSC::MacroAssemblerX86Common::sub32(JSC::X86Registers::RegisterID, JSC::AbstractMacroAssembler&lt;JSC::X86Assembler&gt;::TrustedImm32, JSC::X86Registers::RegisterID)
5   0x7f3a1f221a36 JSC::MacroAssembler::sub32(JSC::X86Registers::RegisterID, JSC::AbstractMacroAssembler&lt;JSC::X86Assembler&gt;::Imm32, JSC::X86Registers::RegisterID)
6   0x7f3a1f239e97 JSC::Yarr::YarrGenerator&lt;JSC::Yarr::YarrJITDefaultRegisters&gt;::generate()
7   0x7f3a1f22ea97 JSC::Yarr::YarrGenerator&lt;JSC::Yarr::YarrJITDefaultRegisters&gt;::compile(JSC::Yarr::YarrCodeBlock&amp;)
8   0x7f3a1f22aed1 JSC::Yarr::jitCompile(JSC::Yarr::YarrPattern&amp;, WTF::StringView, JSC::Yarr::CharSize, std::optional&lt;WTF::StringView&gt;, JSC::VM*, JSC::Yarr::YarrCodeBlock&amp;, JSC::Yarr::JITCompileMode)
9   0x7f3a1ec07b2c JSC::RegExp::compile(JSC::VM*, JSC::Yarr::CharSize, std::optional&lt;WTF::StringView&gt;)
10  0x7f3a1dadaf59 JSC::RegExp::compileIfNecessary(JSC::VM&amp;, JSC::Yarr::CharSize, std::optional&lt;WTF::StringView&gt;)
11  0x7f3a1ec0e30f int JSC::RegExp::matchInline&lt;WTF::Vector&lt;int, 0ul, 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, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;)
12  0x7f3a1ec07cf5 JSC::RegExp::match(JSC::JSGlobalObject*, WTF::String const&amp;, unsigned int, WTF::Vector&lt;int, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;)
13  0x7f3a1ec17be0 JSC::RegExpGlobalData::performMatch(JSC::JSGlobalObject*, JSC::RegExp*, JSC::JSString*, WTF::String const&amp;, int, int**)
14  0x7f3a1ec5c6d9 replaceUsingRegExpSearch
15  0x7f3a1ec5e175 replaceUsingRegExpSearch
16  0x7f3a1ec5ef7d stringProtoFuncReplaceUsingRegExp
17  0x7f39c9208038 ???
WebKitWebProcess terminated (pid 2422) for reason: crash</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2030110</commentid>
    <comment_count>2</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-04-21 13:35:27 -0700</bug_when>
    <thetext>https://build.webkit.org/results/WinCairo-64-bit-Debug-Tests/277774@main%20(22418)/animations/3d/transform-origin-vs-functions-crash-log.txt

ASSERTION FAILED: v &lt;= 0
C:\BW\WinCairo-64-bit-Debug-Build\build\WebKitBuild\Debug\WTF\Headers\wtf/MathExtras.h(787) : negate
1   00007FF8F53D1CA9 WTFCrash
2   00007FF8E4E4D22D WTFCrashWithInfo
3   00007FF8E5CC53BB WTF::negate&lt;int&gt;
4   00007FF8E6BE83A8 JSC::MacroAssemblerX86Common::sub32
5   00007FF8E6BDE08A JSC::MacroAssembler::sub32
6   00007FF8E6BD2E2D JSC::Yarr::YarrGenerator&lt;JSC::Yarr::YarrJITDefaultRegisters&gt;::generate
7   00007FF8E6BACC84 JSC::Yarr::YarrGenerator&lt;JSC::Yarr::YarrJITDefaultRegisters&gt;::compile
8   00007FF8E6BA90EF JSC::Yarr::jitCompile
9   00007FF8E66FCD53 JSC::RegExp::compile
10  00007FF8E577CB70 JSC::RegExp::compileIfNecessary
11  00007FF8E67057BA JSC::RegExp::matchInline&lt;WTF::Vector&lt;int,0,WTF::CrashOnOverflow,16,WTF::FastMalloc&gt;,0&gt;
12  00007FF8E66FCFEE JSC::RegExp::match
13  00007FF8E671E224 JSC::RegExpGlobalData::performMatch
14  00007FF8E6718D4D JSC::genericSplit&lt;`lambda at C:\BW\WinCairo-64-bit-Debug-Build\build\Source\JavaScriptCore\runtime\RegExpPrototype.cpp:575:9&apos;,`lambda at C:\BW\WinCairo-64-bit-Debug-Build\build\Source\JavaScriptCore\runtime\RegExpPrototype.cpp:580:9&apos;&gt;
15  00007FF8E67182A1 JSC::regExpProtoFuncSplitFast
16  000002130000119E (null)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2030125</commentid>
    <comment_count>3</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-04-21 19:24:10 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/27569</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2030277</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-04-22 11:17:44 -0700</bug_when>
    <thetext>&lt;rdar://problem/126872453&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2030332</commentid>
    <comment_count>5</comment_count>
    <who name="David Degazio">d_degazio</who>
    <bug_when>2024-04-22 13:44:09 -0700</bug_when>
    <thetext>Stealing this, let&apos;s just make WTF::negate work for signed numbers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2030349</commentid>
    <comment_count>6</comment_count>
    <who name="David Degazio">d_degazio</who>
    <bug_when>2024-04-22 14:09:04 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/27598</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2030366</commentid>
    <comment_count>7</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-04-22 14:56:06 -0700</bug_when>
    <thetext>*** Bug 273066 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2030555</commentid>
    <comment_count>8</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2024-04-23 08:57:04 -0700</bug_when>
    <thetext>*** Bug 273120 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2030598</commentid>
    <comment_count>9</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-04-23 11:51:03 -0700</bug_when>
    <thetext>Committed 277883@main (884c93a89477): &lt;https://commits.webkit.org/277883@main&gt;

Reviewed commits have been landed. Closing PR #27598 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2030675</commentid>
    <comment_count>10</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2024-04-23 14:03:40 -0700</bug_when>
    <thetext>*** Bug 273081 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>