<?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>281137</bug_id>
          
          <creation_ts>2024-10-09 06:45:45 -0700</creation_ts>
          <short_desc>[WPE] API test ASSERTION FAILED: Completion handler should always be called !m_function</short_desc>
          <delta_ts>2024-12-06 01:15:50 -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>WPE WebKit</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></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>alex</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>csaavedra</cc>
    
    <cc>magomez</cc>
    
    <cc>philn</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2066502</commentid>
    <comment_count>0</comment_count>
    <who name="">zsun</who>
    <bug_when>2024-10-09 06:45:45 -0700</bug_when>
    <thetext>For tests in WPE/TestWebKitWebContext -

ASSERTION FAILED: Completion handler should always be called
!m_function
/app/webkit/WebKitBuild/WPE/Release/WTF/Headers/wtf/CompletionHandler.h(66) : WTF::CompletionHandler&lt;Out(In ...)&gt;::~CompletionHandler() [with Out = void; In = {}]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2066508</commentid>
    <comment_count>1</comment_count>
    <who name="">zsun</who>
    <bug_when>2024-10-09 07:13:46 -0700</bug_when>
    <thetext>webkit/WebKitWebContext/memory-pressure</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2068741</commentid>
    <comment_count>2</comment_count>
    <who name="">zsun</who>
    <bug_when>2024-10-17 05:59:37 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 265994 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2068756</commentid>
    <comment_count>3</comment_count>
    <who name="">zsun</who>
    <bug_when>2024-10-17 06:35:18 -0700</bug_when>
    <thetext>Not sure if it&apos;s related to 265994. A similar issue for iOS has been filed at

https://bugs.webkit.org/show_bug.cgi?id=270541</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2069361</commentid>
    <comment_count>4</comment_count>
    <who name="Claudio Saavedra">csaavedra</who>
    <bug_when>2024-10-19 00:44:05 -0700</bug_when>
    <thetext>The full stacktrace, this seems to be graphics related:

ASSERTION FAILED: Completion handler should always be called
!m_function
/app/webkit/WebKitBuild/WPE/Release/WTF/Headers/wtf/CompletionHandler.h(66) : WTF::CompletionHandler&lt;Out(In ...)&gt;::~CompletionHandler() [with Out = void; In = {}]
1   0x7f1691780a6a WebKit::LayerTreeHost::~LayerTreeHost()
2   0x7f1691780c27 WebKit::DrawingAreaCoordinatedGraphics::~DrawingAreaCoordinatedGraphics()
3   0x7f1691780cb9 WebKit::DrawingAreaCoordinatedGraphics::~DrawingAreaCoordinatedGraphics()
4   0x7f1691745464 WebKit::WebPage::close()
5   0x7f1690c53c11 WebKit::WebPage::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
6   0x7f1691130c07 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
7   0x7f1691141b56 WebKit::AuxiliaryProcess::dispatchMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
8   0x7f1690b16261 WebKit::AuxiliaryProcess::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
9   0x7f169112b02d IPC::Connection::dispatchMessage(WTF::UniqueRef&lt;IPC::Decoder&gt;) [clone .part.0]
10  0x7f169112b747 IPC::Connection::dispatchOneIncomingMessage()
11  0x7f16935038df WTF::RunLoop::performWork()
12  0x7f16935d0929 WTF::RunLoop::RunLoop()::{lambda(void*)#1}::_FUN(void*)
13  0x7f16935d1d6f WTF::RunLoop::{lambda(_GSource*, int (*)(void*), void*)#1}::_FUN(_GSource*, int (*)(void*), void*)
14  0x7f168bcf0d36 g_main_context_dispatch
15  0x7f168bd4e2b8 g_main_context_iterate.isra.0
16  0x7f168bcf03ff g_main_loop_run
17  0x7f16935d1ea8 WTF::RunLoop::run()
18  0x7f16917a9ddf int WebKit::AuxiliaryProcessMain&lt;WebKit::WebProcessMainWPE&gt;(int, char**)
19  0x7f168b43b08a __libc_start_call_main
20  0x7f168b43b14b __libc_start_main
21  0x5602e524a7e5 _start</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2069377</commentid>
    <comment_count>5</comment_count>
    <who name="Claudio Saavedra">csaavedra</who>
    <bug_when>2024-10-19 01:26:38 -0700</bug_when>
    <thetext>Gardened in https://commits.webkit.org/285467@main</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2079120</commentid>
    <comment_count>6</comment_count>
    <who name="">zsun</who>
    <bug_when>2024-12-04 08:21:55 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/37434</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2079598</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-12-06 01:15:47 -0800</bug_when>
    <thetext>Committed 287435@main (75a7d9bb73c9): &lt;https://commits.webkit.org/287435@main&gt;

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

    </bug>

</bugzilla>