<?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>288375</bug_id>
          
          <creation_ts>2025-02-24 09:26:40 -0800</creation_ts>
          <short_desc>ASSERTION FAILED: isMainThread() in EffectiveRateChangedListener::stop()</short_desc>
          <delta_ts>2025-02-24 23:55:17 -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>Media</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="Jean-Yves Avenard [:jya]">jean-yves.avenard</reporter>
          <assigned_to name="Jean-Yves Avenard [:jya]">jean-yves.avenard</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2097396</commentid>
    <comment_count>0</comment_count>
    <who name="Jean-Yves Avenard [:jya]">jean-yves.avenard</who>
    <bug_when>2025-02-24 09:26:40 -0800</bug_when>
    <thetext>https://ews-build.s3-us-west-2.amazonaws.com/macOS-Sequoia-Debug-WK2-Tests-EWS/aa8024db-13636/media/media-vp8-webm-with-poster-crash-log.txt

```
ASSERTION FAILED: isMainThread()
/Volumes/Data/worker/macOS-Sequoia-Debug-Build-EWS/build/WebKitBuild/Debug/usr/local/include/wtf/MainThread.h(81) : void WTF::assertIsMainThread()
1   0x300651ae8 WTF::assertIsMainThread()
2   0x302658c48 WebCore::EffectiveRateChangedListener::stop()
3   0x302658bb8 WebCore::EffectiveRateChangedListener::~EffectiveRateChangedListener()
4   0x302658cdc WebCore::EffectiveRateChangedListener::~EffectiveRateChangedListener()
5   0x3006fc4a4 void WTF::ThreadSafeWeakPtrControlBlock::strongDeref&lt;WebCore::EffectiveRateChangedListener, (WTF::DestructionThread)0&gt;() const::&apos;lambda&apos;()::operator()() const
6   0x3006fc32c void WTF::ThreadSafeWeakPtrControlBlock::strongDeref&lt;WebCore::EffectiveRateChangedListener, (WTF::DestructionThread)0&gt;() const
7   0x3006fc0f0 WTF::ThreadSafeRefCountedAndCanMakeThreadSafeWeakPtr&lt;WebCore::EffectiveRateChangedListener, (WTF::DestructionThread)0&gt;::deref() const
8   0x3006fbfa4 WTF::DefaultRefDerefTraits&lt;WebCore::EffectiveRateChangedListener&gt;::derefIfNotNull(WebCore::EffectiveRateChangedListener*)
9   0x30265fc10 WTF::RefPtr&lt;WebCore::EffectiveRateChangedListener, WTF::RawPtrTraits&lt;WebCore::EffectiveRateChangedListener&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::EffectiveRateChangedListener&gt;&gt;::~RefPtr()
10  0x30265fad0 WTF::RefPtr&lt;WebCore::EffectiveRateChangedListener, WTF::RawPtrTraits&lt;WebCore::EffectiveRateChangedListener&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::EffectiveRateChangedListener&gt;&gt;::~RefPtr()
11  0x302658b0c WebCore::timebaseEffectiveRateChangedCallback(__CFNotificationCenter*, void*, __CFString const*, void const*, __CFDictionary const*)
12  0x18d7d53ac __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__
13  0x18d86620c ___CFXRegistrationPost_block_invoke
14  0x18d866154 _CFXRegistrationPost
15  0x18d7a3fac _CFXNotificationPost
16  0x18d7d544c CFNotificationCenterPostNotificationWithOptions
17  0x1988524a8 CMNotificationCenterPostNotification
18  0x1988663a4 figTimebaseReflectNotification
19  0x198857720 fncCallOriginalCallbackAndReleaseWeakListener
20  0x1988575d4 fncHandleWeakNotification
21  0x18d7d53ac __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__
22  0x18d86620c ___CFXRegistrationPost_block_invoke
23  0x18d866154 _CFXRegistrationPost
24  0x18d7a3fac _CFXNotificationPost
25  0x18d7d544c CFNotificationCenterPostNotificationWithOptions
26  0x1988524a8 CMNotificationCenterPostNotification
27  0x1988683a8 figTimebaseSetRateAndMaybeAnchorTime
28  0x198867f30 CMTimebaseSetRate
29  0x19dcd9418 FigSampleBufferRenderSynchronizerCreateWithOptions
30  0x19dcd8cb8 FigSampleBufferRenderSynchronizerCreateWithOptions
31  0x19dcd7e18 FigSampleBufferRenderSynchronizerCreateWithOptions
com.apple.WebKit.GPU.Development terminated (pid 64335) for reason: crash
LEAK: 1 WebPageProxy
```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2097397</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-02-24 09:26:52 -0800</bug_when>
    <thetext>&lt;rdar://problem/145483109&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2097400</commentid>
    <comment_count>2</comment_count>
    <who name="Jean-Yves Avenard [:jya]">jean-yves.avenard</who>
    <bug_when>2025-02-24 09:59:40 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/41205</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2097717</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-02-24 23:55:16 -0800</bug_when>
    <thetext>Committed 291013@main (59955e21f6c4): &lt;https://commits.webkit.org/291013@main&gt;

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

    </bug>

</bugzilla>