<?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>270541</bug_id>
          
          <creation_ts>2024-03-05 14:24:17 -0800</creation_ts>
          <short_desc>REGRESSION (274626@main) [ iOS Debug ] 13x ASSERTION FAILED: Completion handler should always be called !m_function (API tests) are constant crashes</short_desc>
          <delta_ts>2024-03-05 14:51:20 -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>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jay Stfleur">j_stfleur</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <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>2018893</commentid>
    <comment_count>0</comment_count>
    <who name="Jay Stfleur">j_stfleur</who>
    <bug_when>2024-03-05 14:24:17 -0800</bug_when>
    <thetext>Description:

TestWebKitAPI.GPUProcess.CrashWhilePlayingVideo 
TestWebKitAPI.GPUProcess.ExitsUnderMemoryPressureVideoCase 
TestWebKitAPI.GetUserMedia.ClearRemoteVideoFrameObjectHeapPixelConformerUnderMemoryPressure 
TestWebKitAPI.SleepDisabler.ChangeSrc 
TestWebKitAPI.SleepDisabler.DisableAudioTrack 
TestWebKitAPI.SleepDisabler.Load 
TestWebKitAPI.SleepDisabler.Loop 
TestWebKitAPI.SleepDisabler.Mute 
TestWebKitAPI.SleepDisabler.Navigate 
TestWebKitAPI.SleepDisabler.Pause 
TestWebKitAPI.SleepDisabler.Unload 
TestWebKitAPI.SleepDisabler.Unmute 
TestWebKitAPI.WKWebViewSuspendAllMediaPlayback.AfterLoading 

are constant crashes on iOS Debug Config after 274626@main


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;suite=api-tests&amp;test=TestWebKitAPI.GPUProcess.CrashWhilePlayingVideo&amp;test=TestWebKitAPI.GPUProcess.ExitsUnderMemoryPressureVideoCase&amp;test=TestWebKitAPI.GetUserMedia.ClearRemoteVideoFrameObjectHeapPixelConformerUnderMemoryPressure&amp;test=TestWebKitAPI.SleepDisabler.ChangeSrc&amp;test=TestWebKitAPI.SleepDisabler.DisableAudioTrack&amp;test=TestWebKitAPI.SleepDisabler.Load&amp;test=TestWebKitAPI.SleepDisabler.Loop&amp;test=TestWebKitAPI.SleepDisabler.Mute&amp;test=TestWebKitAPI.SleepDisabler.Navigate&amp;test=TestWebKitAPI.SleepDisabler.Pause&amp;test=TestWebKitAPI.SleepDisabler.Unload&amp;test=TestWebKitAPI.SleepDisabler.Unmute&amp;test=TestWebKitAPI.WKWebViewSuspendAllMediaPlayback.AfterLoading&amp;platform=ios&amp;style=debug&amp;limit=50000&amp;model=iPhone%2012

Diff/Image Diff/Crash Log:

ASSERTION FAILED: Completion handler should always be called
        !m_function
        /Volumes/Data/worker/Apple-iOS-17-Simulator-Debug-Build/build/WebKitBuild/Debug-iphonesimulator/usr/local/include/wtf/CompletionHandler.h(65) : WTF::CompletionHandler&lt;void (bool, NSError *)&gt;::~CompletionHandler()
        1   0x116e967b8 WTFCrash
        2   0x2861e36d0 WTF::CompletionHandler&lt;void (bool, NSError*)&gt;::~CompletionHandler()
        3   0x2861e3094 WTF::CompletionHandler&lt;void (bool, NSError*)&gt;::~CompletionHandler()
        4   0x2861e3148 WTF::BlockPtr&lt;void (bool, NSError*)&gt; WTF::BlockPtr&lt;void (bool, NSError*)&gt;::fromCallable&lt;WTF::CompletionHandler&lt;void (bool, NSError*)&gt;&gt;(WTF::CompletionHandler&lt;void (bool, NSError*)&gt;)::&apos;lambda&apos;(void const*)::operator()(void const*) const
        5   0x2861e30c0 WTF::BlockPtr&lt;void (bool, NSError*)&gt; WTF::BlockPtr&lt;void (bool, NSError*)&gt;::fromCallable&lt;WTF::CompletionHandler&lt;void (bool, NSError*)&gt;&gt;(WTF::CompletionHandler&lt;void (bool, NSError*)&gt;)::&apos;lambda&apos;(void const*)::__invoke(void const*)
        6   0x1088ed118 _call_dispose_helpers_excp
        7   0x1088edf54 _Block_release
        8   0x2861e53f4 WTF::BlockPtr&lt;void (bool, NSError*)&gt;::~BlockPtr()
        9   0x2861e282c WTF::BlockPtr&lt;void (bool, NSError*)&gt;::~BlockPtr()
        10  0x2861e2788 WebCore::VideoPresentationInterfaceAVKit::presentFullscreen(bool, WTF::CompletionHandler&lt;void (bool, NSError*)&gt;&amp;&amp;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2018894</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-03-05 14:24:47 -0800</bug_when>
    <thetext>&lt;rdar://problem/124096708&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2018897</commentid>
    <comment_count>2</comment_count>
    <who name="Jay Stfleur">j_stfleur</who>
    <bug_when>2024-03-05 14:51:20 -0800</bug_when>
    <thetext>Repro step for test:
run-api-tests --root TestWebKitAPI.GPUProcess.CrashWhilePlayingVideo --ios-simulator --debug -v TestWebKitAPI.SleepDisabler.ChangeSrc</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>