<?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>284812</bug_id>
          
          <creation_ts>2024-12-17 06:19:07 -0800</creation_ts>
          <short_desc>[GTK Debug] A few API tests times out with assertion error &quot;ASSERTION FAILED: !didReceiveInvalidMessage&quot;</short_desc>
          <delta_ts>2024-12-20 01:07:36 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>zsun</reporter>
          <assigned_to>zsun</assigned_to>
          <cc>csaavedra</cc>
    
    <cc>fujii</cc>
    
    <cc>kkinnunen</cc>
    
    <cc>zsun</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2082309</commentid>
    <comment_count>0</comment_count>
    <who name="">zsun</who>
    <bug_when>2024-12-17 06:19:07 -0800</bug_when>
    <thetext>ASSERTION FAILED: !didReceiveInvalidMessage
/app/webkit/Source/WebKit/Platform/IPC/Connection.cpp(1454) : void IPC::Connection::dispatchMessage(WTF::UniqueRef&lt;IPC::Decoder&gt;)

Affected tests -

/webkit/WebKitWebView/sync-request-on-max-conns 
/webkit/WebKitWebView/stop-loading
/webkit/WebKitWebProcessExtension/user-messages
/webkit/WebKitWebView/run-async-js-functions
/webkit/WebKitWebView/navigation-after-session-restore
/webkit/WebKitWebsiteData/storage
/webkit/WebKitWebView/stop-loading
/webkit/WebKitConsoleMessage/security-error
/webkit/WebKitFrame/uri
/webkit/WebKitFrame/javascript-values

example bots output: https://build.webkit.org/#/builders/63/builds/15096</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2082617</commentid>
    <comment_count>1</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2024-12-18 01:41:01 -0800</bug_when>
    <thetext>Idea of the assertion is that it makes no sense that one would receive an invalid message. This is a programming error. Typically it is caused by sending a message to a receiver that does not exist at the time of the receipt, which does not typically make sense. 
Code should be typically organized so that the sender is the one removing the target endpoint.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2082621</commentid>
    <comment_count>2</comment_count>
    <who name="">zsun</who>
    <bug_when>2024-12-18 02:07:59 -0800</bug_when>
    <thetext>This issue might be related -
https://bugs.webkit.org/show_bug.cgi?id=265994

The tricky part I found is that the sender is not aware that the receiver has been removed (via removeWorkQueueMessageReceiver). In the case we describe in bug 265994, any suggestions that we could inform the sender that the receiver does not exist any more? Thank you!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2082623</commentid>
    <comment_count>3</comment_count>
    <who name="">zsun</who>
    <bug_when>2024-12-18 02:16:00 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/38129</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2082657</commentid>
    <comment_count>4</comment_count>
    <who name="">zsun</who>
    <bug_when>2024-12-18 06:28:59 -0800</bug_when>
    <thetext>Also happens to -

/webkit/WebKitWebContext/languages
/webkit/WebKitPolicyClient/new-window-policy</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2083257</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-12-20 01:07:36 -0800</bug_when>
    <thetext>Test gardening commit 288155@main (146fa28a329d): &lt;https://commits.webkit.org/288155@main&gt;

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

    </bug>

</bugzilla>