<?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>315531</bug_id>
          
          <creation_ts>2026-05-25 17:08:55 -0700</creation_ts>
          <short_desc>-[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]</short_desc>
          <delta_ts>2026-05-26 05:17:09 -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>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>2213946</commentid>
    <comment_count>0</comment_count>
    <who name="Jean-Yves Avenard [:jya]">jean-yves.avenard</who>
    <bug_when>2026-05-25 17:08:55 -0700</bug_when>
    <thetext>```
Last Exception Backtrace:
0   CoreFoundation                	       0x183cbb4fc __exceptionPreprocess + 164
1   libobjc.A.dylib               	       0x18371c8d8 objc_exception_throw + 88
2   CoreFoundation                	       0x183bcde34 -[__NSPlaceholderArray initWithObjects:count:] + 644
3   CoreFoundation                	       0x183c2452c +[NSArray arrayWithObjects:count:] + 40
4   MediaRemote                   	       0x1a6e528cc MRMediaRemotePlaybackQueueDataSourceContentItemChangedWithRequestForPlayer + 72
5   MediaRemote                   	       0x1a6de4158 MRMediaRemoteSetNowPlayingInfoForPlayer + 4964
6   MediaRemote                   	       0x1a6de2dd0 MRMediaRemoteSetNowPlayingInfoForOriginWithMergePolicy + 84
7   MediaRemote                   	       0x1a6de43f0 MRMediaRemoteSetNowPlayingInfo + 56
8   WebCore                       	      0x70035b7694 WebCore::softLink_MediaRemote_MRMediaRemoteSetNowPlayingInfo(__CFDictionary const*) + 40
9   WebCore                       	      0x70035b75b8 WebCore::MediaSessionManagerCocoa::clearNowPlayingInfo() + 104
10  WebCore                       	      0x700781b490 WebCore::NowPlayingManager::clearNowPlayingInfoPrivate() + 24
11  WebCore                       	      0x700781b464 WebCore::NowPlayingManager::clearNowPlayingInfo() + 60
12  WebCore                       	      0x700781b3ac WebCore::NowPlayingManager::removeClient(WebCore::NowPlayingManagerClient&amp;) + 132
13  WebKit                        	       0x119e7aac4 WebKit::GPUConnectionToWebProcess::clearNowPlayingInfo() + 52
14  WebKit                        	       0x118c7bc5c auto void IPC::callMemberFunction&lt;WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (), std::__1::tuple&lt;&gt;&gt;(WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(), std::__1::tuple&lt;&gt;&amp;&amp;)::&apos;lambda&apos;(auto&amp;&amp;...)::operator()&lt;&gt;(auto&amp;&amp;...) const + 180
15  WebKit                        	       0x118c7bb9c std::__1::__invoke_result_impl&lt;void, auto...&gt;::type std::__1::__invoke[abi:sqn220100]&lt;void IPC::callMemberFunction&lt;WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (), std::__1::tuple&lt;&gt;&gt;(WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(), std::__1::tuple&lt;&gt;&amp;&amp;)::&apos;lambda&apos;(auto&amp;&amp;...)&gt;(auto&amp;&amp;...) + 28
16  WebKit                        	       0x118c7bb74 decltype(auto) std::__1::__apply_tuple_impl[abi:sqn220100]&lt;void IPC::callMemberFunction&lt;WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (), std::__1::tuple&lt;&gt;&gt;(WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(), std::__1::tuple&lt;&gt;&amp;&amp;)::&apos;lambda&apos;(auto&amp;&amp;...), std::__1::tuple&lt;&gt;&gt;(WebKit::GPUConnectionToWebProcess&amp;&amp;, WebKit::GPUConnectionToWebProcess&amp;&amp;, std::__1::integer_sequence&lt;unsigned long&gt;) + 32
17  WebKit                        	       0x118c7bb48 decltype(auto) std::__1::apply[abi:sqn220100]&lt;void IPC::callMemberFunction&lt;WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (), std::__1::tuple&lt;&gt;&gt;(WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(), std::__1::tuple&lt;&gt;&amp;&amp;)::&apos;lambda&apos;(auto&amp;&amp;...), std::__1::tuple&lt;&gt;&gt;(WebKit::GPUConnectionToWebProcess&amp;&amp;, WebKit::GPUConnectionToWebProcess&amp;&amp;) + 36
18  WebKit                        	       0x118c7bb18 void IPC::callMemberFunction&lt;WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (), std::__1::tuple&lt;&gt;&gt;(WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(), std::__1::tuple&lt;&gt;&amp;&amp;) + 76
19  WebKit                        	       0x118c3d918 void IPC::handleMessage&lt;Messages::GPUConnectionToWebProcess::ClearNowPlayingInfo, IPC::Connection, WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void ()&gt;(IPC::Connection&amp;, IPC::Decoder&amp;, WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)()) + 216
20  WebKit                        	       0x118c3cc40 WebKit::GPUConnectionToWebProcess::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;) + 1832
21  WebKit                        	       0x11c5d4c2c IPC::Connection::dispatchMessage(IPC::Decoder&amp;) + 824 (Connection.cpp:1422)
22  WebKit                        	       0x11c5d5164 IPC::Connection::dispatchMessage(WTF::UniqueRef&lt;IPC::Decoder&gt;) + 740 (Connection.cpp:1482)
23  WebKit                        	       0x11767f65c IPC::Connection::dispatchOneIncomingMessage() + 208 (Connection.cpp:1556)
24  WebKit                        	       0x11c63e0ec IPC::Connection::enqueueIncomingMessage(WTF::UniqueRef&lt;IPC::Decoder&gt;)::$_1::operator()() const + 32 (Connection.cpp:1384)
25  WebKit                        	       0x11c63e02c WTF::Detail::CallableWrapper&lt;IPC::Connection::enqueueIncomingMessage(WTF::UniqueRef&lt;IPC::Decoder&gt;)::$_1, void&gt;::call() + 32 (Function.h:59)
26  JavaScriptCore                	       0x12dfe170c WTF::Function&lt;void ()&gt;::operator()() const + 172
27  JavaScriptCore                	       0x12debdfac WTF::RunLoop::performWork() + 284
28  JavaScriptCore                	       0x12debde7c WTF::RunLoop::performWork(void*) + 40
29  CoreFoundation                	       0x183c4b4e8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
30  CoreFoundation                	       0x183c4b47c __CFRunLoopDoSource0 + 172
31  CoreFoundation                	       0x183c4b1e8 __CFRunLoopDoSources0 + 232
32  CoreFoundation                	       0x183c49de8 __CFRunLoopRun + 836
33  CoreFoundation                	       0x183d234a4 _CFRunLoopRunSpecificWithOptions + 532
34  Foundation                    	       0x1853d7198 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
35  Foundation                    	       0x185450364 -[NSRunLoop(NSRunLoop) run] + 64
36  libxpc.dylib                  	       0x183861560 _xpc_objc_main + 780
37  libxpc.dylib                  	       0x183875140 _xpc_main + 40
38  libxpc.dylib                  	       0x183860fa0 _xpc_copy_xpcservice_dictionary + 0
39  WebKit                        	       0x117645800 WebKit::XPCServiceMain(int, char const**) + 120
40  WebKit                        	       0x11764577c WKXPCServiceMain + 36 (WKMain.mm:36)
41  ...pple.WebKit.GPU.Development	       0x1009cc6b0 main + 40 (AuxiliaryProcessMain.
```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2213947</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-05-25 17:09:01 -0700</bug_when>
    <thetext>&lt;rdar://problem/177905655&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2214046</commentid>
    <comment_count>2</comment_count>
    <who name="Jean-Yves Avenard [:jya]">jean-yves.avenard</who>
    <bug_when>2026-05-26 00:31:39 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/65656</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2214089</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-05-26 05:17:07 -0700</bug_when>
    <thetext>Committed 313878@main (40925b596093): &lt;https://commits.webkit.org/313878@main&gt;

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

    </bug>

</bugzilla>