<?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>245380</bug_id>
          
          <creation_ts>2022-09-19 13:41:26 -0700</creation_ts>
          <short_desc>Crash under WebNotificationManager::didUpdateNotificationDecision() on the bots</short_desc>
          <delta_ts>2022-09-19 16:12:23 -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>WebKit2</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="Chris Dumez">cdumez</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>kkinnunen</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1899596</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2022-09-19 13:41:26 -0700</bug_when>
    <thetext>Crash under WebNotificationManager::didUpdateNotificationDecision() on the bots:

Application Specific Information:
CRASHING TEST: /workers/service/registration-task-queue-scheduling-1.html

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.WebKit              	0x000000010bb7334c WTF::StringImpl::rawHash() const + 0 (StringImpl.h:347) [inlined]
1   com.apple.WebKit              	0x000000010bb7334c WTF::StringImpl::hasHash() const + 0 (StringImpl.h:350) [inlined]
2   com.apple.WebKit              	0x000000010bb7334c WTF::StringImpl::hash() const + 0 (StringImpl.h:353) [inlined]
3   com.apple.WebKit              	0x000000010bb7334c WTF::StringHash::hash(WTF::String const&amp;) + 3 (StringHash.h:101) [inlined]
4   com.apple.WebKit              	0x000000010bb7334c unsigned int WTF::HashMapTranslator&lt;WTF::HashMap&lt;WTF::String, bool, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashTraits&lt;WTF::String&gt;, WTF::HashTraits&lt;bool&gt;, WTF::HashTableTraits&gt;::KeyValuePairTraits, WTF::DefaultHash&lt;WTF::String&gt; &gt;::hash&lt;WTF::String&gt;(WTF::String const&amp;) + 3 (HashMap.h:227) [inlined]
5   com.apple.WebKit              	0x000000010bb7334c WTF::HashTableAddResult&lt;WTF::HashTableIterator&lt;WTF::HashTable&lt;WTF::String, WTF::KeyValuePair&lt;WTF::String, bool&gt;, WTF::KeyValuePairKeyExtractor&lt;WTF::KeyValuePair&lt;WTF::String, bool&gt; &gt;, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashMap&lt;WTF::String, bool, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashTraits&lt;WTF::String&gt;, WTF::HashTraits&lt;bool&gt;, WTF::HashTableTraits&gt;::KeyValuePairTraits, WTF::HashTraits&lt;WTF::String&gt; &gt;, WTF::String, WTF::KeyValuePair&lt;WTF::String, bool&gt;, WTF::KeyValuePairKeyExtractor&lt;WTF::KeyValuePair&lt;WTF::String, bool&gt; &gt;, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashMap&lt;WTF::String, bool, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashTraits&lt;WTF::String&gt;, WTF::HashTraits&lt;bool&gt;, WTF::HashTableTraits&gt;::KeyValuePairTraits, WTF::HashTraits&lt;WTF::String&gt; &gt; &gt; WTF::HashTable&lt;WTF::String, WTF::KeyValuePair&lt;WTF::String, bool&gt;, WTF::KeyValuePairKeyExtractor&lt;WTF::KeyValuePair&lt;WTF::String, bool&gt; &gt;, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashMap&lt;WTF::String, bool, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashTraits&lt;WTF::String&gt;, WTF::HashTraits&lt;bool&gt;, WTF::HashTableTraits&gt;::KeyValuePairTraits, WTF::HashTraits&lt;WTF::String&gt; &gt;::add&lt;WTF::HashMapTranslator&lt;WTF::HashMap&lt;WTF::String, bool, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashTraits&lt;WTF::String&gt;, WTF::HashTraits&lt;bool&gt;, WTF::HashTableTraits&gt;::KeyValuePairTraits, WTF::DefaultHash&lt;WTF::String&gt; &gt;, WTF::String const&amp;, bool&amp;&gt;(WTF::String const&amp;, bool&amp;) + 53 (HashTable.h:874) [inlined]
6   com.apple.WebKit              	0x000000010bb7334c WTF::HashTableAddResult&lt;WTF::HashTableIterator&lt;WTF::HashTable&lt;WTF::String, WTF::KeyValuePair&lt;WTF::String, bool&gt;, WTF::KeyValuePairKeyExtractor&lt;WTF::KeyValuePair&lt;WTF::String, bool&gt; &gt;, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashMap&lt;WTF::String, bool, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashTraits&lt;WTF::String&gt;, WTF::HashTraits&lt;bool&gt;, WTF::HashTableTraits&gt;::KeyValuePairTraits, WTF::HashTraits&lt;WTF::String&gt; &gt;, WTF::String, WTF::KeyValuePair&lt;WTF::String, bool&gt;, WTF::KeyValuePairKeyExtractor&lt;WTF::KeyValuePair&lt;WTF::String, bool&gt; &gt;, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashMap&lt;WTF::String, bool, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashTraits&lt;WTF::String&gt;, WTF::HashTraits&lt;bool&gt;, WTF::HashTableTraits&gt;::KeyValuePairTraits, WTF::HashTraits&lt;WTF::String&gt; &gt; &gt; WTF::HashMap&lt;WTF::String, bool, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashTraits&lt;WTF::String&gt;, WTF::HashTraits&lt;bool&gt;, WTF::HashTableTraits&gt;::inlineAdd&lt;WTF::String const&amp;, bool&amp;&gt;(WTF::String const&amp;, bool&amp;) + 53 (HashMap.h:392) [inlined]
7   com.apple.WebKit              	0x000000010bb7334c WTF::HashTableAddResult&lt;WTF::HashTableIterator&lt;WTF::HashTable&lt;WTF::String, WTF::KeyValuePair&lt;WTF::String, bool&gt;, WTF::KeyValuePairKeyExtractor&lt;WTF::KeyValuePair&lt;WTF::String, bool&gt; &gt;, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashMap&lt;WTF::String, bool, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashTraits&lt;WTF::String&gt;, WTF::HashTraits&lt;bool&gt;, WTF::HashTableTraits&gt;::KeyValuePairTraits, WTF::HashTraits&lt;WTF::String&gt; &gt;, WTF::String, WTF::KeyValuePair&lt;WTF::String, bool&gt;, WTF::KeyValuePairKeyExtractor&lt;WTF::KeyValuePair&lt;WTF::String, bool&gt; &gt;, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashMap&lt;WTF::String, bool, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashTraits&lt;WTF::String&gt;, WTF::HashTraits&lt;bool&gt;, WTF::HashTableTraits&gt;::KeyValuePairTraits, WTF::HashTraits&lt;WTF::String&gt; &gt; &gt; WTF::HashMap&lt;WTF::String, bool, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashTraits&lt;WTF::String&gt;, WTF::HashTraits&lt;bool&gt;, WTF::HashTableTraits&gt;::inlineSet&lt;WTF::String const&amp;, bool&amp;&gt;(WTF::String const&amp;, bool&amp;) + 84 (HashMap.h:380)
8   com.apple.WebKit              	0x000000010beb718f WTF::HashTableAddResult&lt;WTF::HashTableIterator&lt;WTF::HashTable&lt;WTF::String, WTF::KeyValuePair&lt;WTF::String, bool&gt;, WTF::KeyValuePairKeyExtractor&lt;WTF::KeyValuePair&lt;WTF::String, bool&gt; &gt;, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashMap&lt;WTF::String, bool, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashTraits&lt;WTF::String&gt;, WTF::HashTraits&lt;bool&gt;, WTF::HashTableTraits&gt;::KeyValuePairTraits, WTF::HashTraits&lt;WTF::String&gt; &gt;, WTF::String, WTF::KeyValuePair&lt;WTF::String, bool&gt;, WTF::KeyValuePairKeyExtractor&lt;WTF::KeyValuePair&lt;WTF::String, bool&gt; &gt;, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashMap&lt;WTF::String, bool, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashTraits&lt;WTF::String&gt;, WTF::HashTraits&lt;bool&gt;, WTF::HashTableTraits&gt;::KeyValuePairTraits, WTF::HashTraits&lt;WTF::String&gt; &gt; &gt; WTF::HashMap&lt;WTF::String, bool, WTF::DefaultHash&lt;WTF::String&gt;, WTF::HashTraits&lt;WTF::String&gt;, WTF::HashTraits&lt;bool&gt;, WTF::HashTableTraits&gt;::set&lt;bool&amp;&gt;(WTF::String const&amp;, bool&amp;) + 8 (HashMap.h:406) [inlined]
9   com.apple.WebKit              	0x000000010beb718f WebKit::WebNotificationManager::didUpdateNotificationDecision(WTF::String const&amp;, bool) + 33 (WebNotificationManager.cpp:85)
10  com.apple.WebKit              	0x000000010bf7ff17 void IPC::callMemberFunctionImpl&lt;WebKit::WebNotificationManager, void (WebKit::WebNotificationManager::*)(WTF::String const&amp;, bool), std::__1::tuple&lt;WTF::String, bool&gt;, 0ul, 1ul&gt;(WebKit::WebNotificationManager*, void (WebKit::WebNotificationManager::*)(WTF::String const&amp;, bool), std::__1::tuple&lt;WTF::String, bool&gt;&amp;&amp;, std::__1::integer_sequence&lt;unsigned long, 0ul, 1ul&gt;) + 15 (HandleMessage.h:131) [inlined]
11  com.apple.WebKit              	0x000000010bf7ff17 void IPC::callMemberFunction&lt;WebKit::WebNotificationManager, void (WebKit::WebNotificationManager::*)(WTF::String const&amp;, bool), std::__1::tuple&lt;WTF::String, bool&gt;, std::__1::integer_sequence&lt;unsigned long, 0ul, 1ul&gt; &gt;(std::__1::tuple&lt;WTF::String, bool&gt;&amp;&amp;, WebKit::WebNotificationManager*, void (WebKit::WebNotificationManager::*)(WTF::String const&amp;, bool)) + 15 (HandleMessage.h:137) [inlined]
12  com.apple.WebKit              	0x000000010bf7ff17 void IPC::handleMessage&lt;Messages::WebNotificationManager::DidUpdateNotificationDecision, WebKit::WebNotificationManager, void (WebKit::WebNotificationManager::*)(WTF::String const&amp;, bool)&gt;(IPC::Connection&amp;, IPC::Decoder&amp;, WebKit::WebNotificationManager*, void (WebKit::WebNotificationManager::*)(WTF::String const&amp;, bool)) + 37 (HandleMessage.h:259) [inlined]
13  com.apple.WebKit              	0x000000010bf7ff17 WebKit::WebNotificationManager::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;) + 371 (WebNotificationManagerMessageReceiver.cpp:51)
14  com.apple.WebKit              	0x000000010c0a02c2 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&amp;, IPC::Decoder&amp;) + 86 (MessageReceiverMap.cpp:124)
15  com.apple.WebKit              	0x000000010bd7e098 WebKit::WebProcess::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;) + 28 (WebProcess.cpp:915)
16  com.apple.WebKit              	0x000000010c09bfb9 IPC::Connection::dispatchMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;) + 221 (Connection.cpp:1147)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1899601</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2022-09-19 13:45:38 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/4500</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1899675</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-09-19 16:11:42 -0700</bug_when>
    <thetext>Committed 254651@main (2e9d745e00cd): &lt;https://commits.webkit.org/254651@main&gt;

Reviewed commits have been landed. Closing PR #4500 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1899677</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-09-19 16:12:23 -0700</bug_when>
    <thetext>&lt;rdar://problem/100145477&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>