<?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>225978</bug_id>
          
          <creation_ts>2021-05-19 12:05:08 -0700</creation_ts>
          <short_desc>ASSERTION FAILED: !HashTranslator::equal(KeyTraits::emptyValue(), key) on TestWTF.WTF_SmallSet tests</short_desc>
          <delta_ts>2021-05-20 10:35:07 -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>Web Template Framework</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>226027</dup_id>
          
          <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="Amir Mark Jr">amir_mark</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>rmorisset</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1761645</commentid>
    <comment_count>0</comment_count>
    <who name="Amir Mark Jr">amir_mark</who>
    <bug_when>2021-05-19 12:05:08 -0700</bug_when>
    <thetext>TestWTF.WTF_SmallSet.FourUint16
TestWTF.WTF_SmallSet.FourUint32
TestWTF.WTF_SmallSet.FourUint64
TestWTF.WTF_SmallSet.FourUint8
TestWTF.WTF_SmallSet.HundredUint16
TestWTF.WTF_SmallSet.HundredUint32
TestWTF.WTF_SmallSet.HundredUint64
TestWTF.WTF_SmallSet.HundredUint8
TestWTF.WTF_SmallSet.ThreeUint16
TestWTF.WTF_SmallSet.ThreeUint32
TestWTF.WTF_SmallSet.ThreeUint64
TestWTF.WTF_SmallSet.ThreeUint8

These tests are consistently crashing on BigSur Debug, BigSur E Debug, and Catalina Debug since being introduced.


History:

https://results.webkit.org/?suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;suite=api-tests&amp;test=TestWTF.WTF_SmallSet.FourUint16&amp;test=TestWTF.WTF_SmallSet.FourUint32&amp;test=TestWTF.WTF_SmallSet.FourUint64&amp;test=TestWTF.WTF_SmallSet.FourUint8&amp;test=TestWTF.WTF_SmallSet.HundredUint16&amp;test=TestWTF.WTF_SmallSet.HundredUint32&amp;test=TestWTF.WTF_SmallSet.HundredUint64&amp;test=TestWTF.WTF_SmallSet.HundredUint8&amp;test=TestWTF.WTF_SmallSet.ThreeUint16&amp;test=TestWTF.WTF_SmallSet.ThreeUint32&amp;test=TestWTF.WTF_SmallSet.ThreeUint64&amp;test=TestWTF.WTF_SmallSet.ThreeUint8


Crash Log:

All lines are similar except line 8 which just changes the name of the test crashing.

ASSERTION FAILED: !HashTranslator::equal(KeyTraits::emptyValue(), key)
        /Volumes/Data/worker/bigsur-debug/build/WebKitBuild/Debug/usr/local/include/wtf/HashTable.h(647) : void WTF::HashTable&lt;unsigned short, unsigned short, WTF::IdentityExtractor, WTF::DefaultHash&lt;unsigned short&gt;, WTF::HashTraits&lt;unsigned short&gt;, WTF::HashTraits&lt;unsigned short&gt; &gt;::checkKey(const T &amp;) [Key = unsigned short, Value = unsigned short, Extractor = WTF::IdentityExtractor, HashFunctions = WTF::DefaultHash&lt;unsigned short&gt;, Traits = WTF::HashTraits&lt;unsigned short&gt;, KeyTraits = WTF::HashTraits&lt;unsigned short&gt;, HashTranslator = WTF::IdentityHashTranslator&lt;WTF::HashTraits&lt;unsigned short&gt;, WTF::DefaultHash&lt;unsigned short&gt; &gt;, T = unsigned short]
        1   0x10953d859 WTFCrash
        2   0x1089e160b WTFCrashWithInfo(int, char const*, char const*, int)
        3   0x108a5d14d void WTF::HashTable&lt;unsigned short, unsigned short, WTF::IdentityExtractor, WTF::DefaultHash&lt;unsigned short&gt;, WTF::HashTraits&lt;unsigned short&gt;, WTF::HashTraits&lt;unsigned short&gt; &gt;::checkKey&lt;WTF::IdentityHashTranslator&lt;WTF::HashTraits&lt;unsigned short&gt;, WTF::DefaultHash&lt;unsigned short&gt; &gt;, unsigned short&gt;(unsigned short const&amp;)
        4   0x108a5ce16 WTF::HashTableAddResult&lt;WTF::HashTableIterator&lt;WTF::HashTable&lt;unsigned short, unsigned short, WTF::IdentityExtractor, WTF::DefaultHash&lt;unsigned short&gt;, WTF::HashTraits&lt;unsigned short&gt;, WTF::HashTraits&lt;unsigned short&gt; &gt;, unsigned short, unsigned short, WTF::IdentityExtractor, WTF::DefaultHash&lt;unsigned short&gt;, WTF::HashTraits&lt;unsigned short&gt;, WTF::HashTraits&lt;unsigned short&gt; &gt; &gt; WTF::HashTable&lt;unsigned short, unsigned short, WTF::IdentityExtractor, WTF::DefaultHash&lt;unsigned short&gt;, WTF::HashTraits&lt;unsigned short&gt;, WTF::HashTraits&lt;unsigned short&gt; &gt;::add&lt;WTF::IdentityHashTranslator&lt;WTF::HashTraits&lt;unsigned short&gt;, WTF::DefaultHash&lt;unsigned short&gt; &gt;, unsigned short const&amp;, unsigned short&gt;(unsigned short const&amp;, unsigned short&amp;&amp;)
        5   0x108a5cd87 WTF::HashTable&lt;unsigned short, unsigned short, WTF::IdentityExtractor, WTF::DefaultHash&lt;unsigned short&gt;, WTF::HashTraits&lt;unsigned short&gt;, WTF::HashTraits&lt;unsigned short&gt; &gt;::add(unsigned short&amp;&amp;)
        6   0x108a5c4d6 WTF::HashSet&lt;unsigned short, WTF::DefaultHash&lt;unsigned short&gt;, WTF::HashTraits&lt;unsigned short&gt;, WTF::HashTableTraits&gt;::add(unsigned short&amp;&amp;)
        7   0x108a50b6e void TestWebKitAPI::testSmallSetOfUnsigned&lt;unsigned short&gt;(unsigned int)
        8   0x108a50116 TestWebKitAPI::WTF_SmallSet_ThreeUint16_Test::TestBody()
        9   0x1096f86a4 void testing::internal::HandleSehExceptionsInMethodIfSupported&lt;testing::Test, void&gt;(testing::Test*, void (testing::Test::*)(), char const*)
        10  0x1096ba31b void testing::internal::HandleExceptionsInMethodIfSupported&lt;testing::Test, void&gt;(testing::Test*, void (testing::Test::*)(), char const*)
        11  0x1096ba253 testing::Test::Run()
        12  0x1096bb434 testing::TestInfo::Run()
        13  0x1096bc575 testing::TestSuite::Run()
        14  0x1096cb74d testing::internal::UnitTestImpl::RunAllTests()
        15  0x1096fd844 bool testing::internal::HandleSehExceptionsInMethodIfSupported&lt;testing::internal::UnitTestImpl, bool&gt;(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
        16  0x1096cb0eb bool testing::internal::HandleExceptionsInMethodIfSupported&lt;testing::internal::UnitTestImpl, bool&gt;(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
        17  0x1096cafbd testing::UnitTest::Run()
        18  0x10940a5f1 RUN_ALL_TESTS()
        19  0x10940a582 TestWebKitAPI::TestsController::run(int, char**)
        20  0x1096ab663 main
        21  0x7fff20444f3d start</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1761647</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-05-19 12:06:04 -0700</bug_when>
    <thetext>&lt;rdar://problem/78217299&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1761698</commentid>
    <comment_count>2</comment_count>
    <who name="Amir Mark Jr">amir_mark</who>
    <bug_when>2021-05-19 14:10:15 -0700</bug_when>
    <thetext>Able to reproduced issue with command:

run-api-tests --root &lt;path to spade&gt; --debug --iterations 100 &lt;name of test&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1762029</commentid>
    <comment_count>3</comment_count>
    <who name="Robin Morisset">rmorisset</who>
    <bug_when>2021-05-20 10:35:07 -0700</bug_when>
    <thetext>I accidentally opened a duplicate issue. I make that one the primary because it already got the patch.

*** This bug has been marked as a duplicate of bug 226027 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>