RESOLVED FIXED 276495
REGRESSION:(280765@main) [ iOS ] [ Debug ] 48x Media (layout-tests) are constantly asserting
https://bugs.webkit.org/show_bug.cgi?id=276495
Summary REGRESSION:(280765@main) [ iOS ] [ Debug ] 48x Media (layout-tests) are const...
Dawn Morningstar
Reported 2024-07-11 11:15:55 PDT
fast/media/update-media-query-css-parser.html fast/mediacapturefromelement/CanvasCaptureMediaStream-capture-out-of-DOM-canvas-webgl.html fast/mediacapturefromelement/CanvasCaptureMediaStream-capture-out-of-DOM-canvas.html fast/mediastream/MediaStream-video-element-change-audio-route.html fast/mediastream/MediaStream-video-element-displays-buffer.html fast/mediastream/MediaStream-video-element-enter-background.html fast/mediastream/MediaStream-video-element-remove-track.html fast/mediastream/MediaStream-video-element-track-stop.html fast/mediastream/MediaStream-video-element-video-tracks-disabled.html fast/mediastream/MediaStream-video-element.html fast/mediastream/apply-constraints-advanced.html fast/mediastream/apply-constraints-video.html fast/mediastream/camera-powerEfficient-track.html fast/mediastream/camera-unknown-facing-mode.html fast/mediastream/captureStream/canvas2d-heavy-drawing.html fast/mediastream/captureStream/canvas2d.html fast/mediastream/captureStream/canvas3d.html fast/mediastream/change-tracks-media-stream-being-played.html fast/mediastream/cloned-video-stream-aspect-ratio.html fast/mediastream/get-user-media-device-id.html fast/mediastream/get-user-media-on-loadedmetadata.html fast/mediastream/getDisplayMedia-frame-rate.html fast/mediastream/getDisplayMedia-max-constraints4.html fast/mediastream/getUserMedia-frame-rate.html fast/mediastream/getUserMedia-rvfc.html fast/mediastream/getUserMedia-to-canvas-1.html fast/mediastream/getUserMedia-to-canvas-2.html fast/mediastream/getUserMedia-video-rescaling.html fast/mediastream/media-element-current-time.html fast/mediastream/media-stream-renders-first-frame.html fast/mediastream/mediaPlayer-visibility.html fast/mediastream/mediastreamtrack-audiovideo-mutepage.html fast/mediastream/mediastreamtrack-video-clone.html fast/mediastream/mediastreamtrack-video-resize-event.html fast/mediastream/microphone-change-while-capturing.html fast/mediastream/now-playing-and-mediastream.html fast/mediastream/play-newly-added-audio-track.html fast/mediastream/screencapture-disabled.html fast/mediastream/success.html fast/mediastream/video-mediastream-restricted-invisible-autoplay-not-allowed.html fast/mediastream/video-mediastream-restricted-invisible-autoplay-user-click.html fast/mediastream/video-rotation.html fast/mediastream/video-rotation2.html fast/mediastream/video-srcObject-fit-fill.html fast/mediastream/video-srcObject-set-twice.html http/wpt/mediarecorder/set-srcObject-MediaStream-Blob.html http/wpt/mediastream/mediastreamtrackprocessor-videoframe-timestamp.html http/wpt/mediastream/transfer-videotrackgenerator-track.html After 280765@main, a ton of media tests started to constantly assert on Debug, this is a major issue for infrastructure as it is causing test runs to not finish. HISTORY: https://results.webkit.org/?suite=layout-tests&test=fast%2Fmediastream%2FgetDisplayMedia-frame-rate.html Assert: No crash log found for com.apple.WebKit.GPU.Development:47738. stdout: stderr: ASSERTION FAILED: !m_hostable /Volumes/Data/worker/Apple-iOS-17-Simulator-Debug-Build/build/Source/WebKit/Platform/cocoa/LayerHostingContext.mm(198) : void WebKit::LayerHostingContext::setFencePort(mach_port_t) 1 0x145d82a94 WebKit::LayerHostingContext::setFencePort(unsigned int) 2 0x1435bd248 WebKit::RemoteSampleBufferDisplayLayer::updateBoundsAndPosition(CGRect, std::__1::optional<WTF::MachSendRight>&&) 3 0x1435bdf60 WebKit::RemoteSampleBufferDisplayLayerManager::updateSampleBufferDisplayLayerBoundsAndPosition(WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>&&) 4 0x14338ebd8 WebKit::GPUConnectionToWebProcess::updateSampleBufferDisplayLayerBoundsAndPosition(WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>&&) 5 0x14323d49c auto void IPC::callMemberFunction<WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>&&), std::__1::tuple<WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>>>(WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>&&), std::__1::tuple<WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>>&&)::'lambda'(auto&&...)::operator()<WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>>(auto&&...) const 6 0x14323d36c decltype(std::declval<WebKit::GPUConnectionToWebProcess>()(std::declval<WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>>(), std::declval<WebCore::FloatRect>(), std::declval<std::__1::optional<WTF::MachSendRight>>())) std::__1::__invoke[abi:sn170006]<void IPC::callMemberFunction<WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>&&), std::__1::tuple<WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>>>(WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>&&), std::__1::tuple<WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>>&&)::'lambda'(auto&&...), WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>>(WebKit::GPUConnectionToWebProcess&&, WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>&&, WebCore::FloatRect&&, std::__1::optional<WTF::MachSendRight>&&) 7 0x14323d330 decltype(auto) std::__1::__apply_tuple_impl[abi:sn170006]<void IPC::callMemberFunction<WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>&&), std::__1::tuple<WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>>>(WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>&&), std::__1::tuple<WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>>&&)::'lambda'(auto&&...), std::__1::tuple<WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>>, 0ul, 1ul, 2ul>(WebKit::GPUConnectionToWebProcess&&, WebKit::GPUConnectionToWebProcess&&, std::__1::__tuple_indices<0ul, 1ul, 2ul>) 8 0x14323d2d4 decltype(auto) std::__1::apply[abi:sn170006]<void IPC::callMemberFunction<WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>&&), std::__1::tuple<WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>>>(WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>&&), std::__1::tuple<WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>>&&)::'lambda'(auto&&...), std::__1::tuple<WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>>>(WebKit::GPUConnectionToWebProcess&&, WebKit::GPUConnectionToWebProcess&&) 9 0x14323c194 void IPC::callMemberFunction<WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>&&), std::__1::tuple<WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>>>(WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>&&), std::__1::tuple<WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>>&&) 10 0x14320edd4 void IPC::handleMessage<Messages::GPUConnectionToWebProcess::UpdateSampleBufferDisplayLayerBoundsAndPosition, WebKit::GPUConnectionToWebProcess, WebKit::GPUConnectionToWebProcess, void (WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>&&)>(IPC::Connection&, IPC::Decoder&, WebKit::GPUConnectionToWebProcess*, void (WebKit::GPUConnectionToWebProcess::*)(WTF::ObjectIdentifierGeneric<WebKit::SampleBufferDisplayLayerIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long long>, WebCore::FloatRect, std::__1::optional<WTF::MachSendRight>&&)) 11 0x14320da28 WebKit::GPUConnectionToWebProcess::didReceiveMessage(IPC::Connection&, IPC::Decoder&) 12 0x145d991b4 IPC::Connection::dispatchMessage(IPC::Decoder&) 13 0x145d995ec IPC::Connection::dispatchMessage(WTF::UniqueRef<IPC::Decoder>) 14 0x145d9993c IPC::Connection::dispatchOneIncomingMessage() 15 0x145dbac2c IPC::Connection::enqueueIncomingMessage(WTF::UniqueRef<IPC::Decoder>)::$_15::operator()() const 16 0x145dbab88 WTF::Detail::CallableWrapper<IPC::Connection::enqueueIncomingMessage(WTF::UniqueRef<IPC::Decoder>)::$_15, void>::call() 17 0x10f26abd0 WTF::Function<void ()>::operator()() const 18 0x10f314ac4 WTF::RunLoop::performWork() 19 0x10f3194fc WTF::RunLoop::performWork(void*) 20 0x108689e48 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ 21 0x108689d90 __CFRunLoopDoSource0 22 0x108689500 __CFRunLoopDoSources0 23 0x108683be8 __CFRunLoopRun 24 0x1086834d4 CFRunLoopRunSpecific 25 0x10a9bb40c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] 26 0x10a9bb5e0 -[NSRunLoop(NSRunLoop) run] 27 0x11a5f414c _xpc_objc_main 28 0x11a5f6544 _xpc_main 29 0x11a5f66f8 _xpc_create_bootstrap_pipe 30 0x10553f458 __swift_allocate_boxed_opaque_existential_1 31 0x10553f500 __swift_allocate_boxed_opaque_existential_1 com.apple.WebKit.GPU.Development terminated (pid 47738) for reason: crash LEAK: 2 WebPageProxy Test-run: https://build.webkit.org/#/builders/939/builds/2074
Attachments
Radar WebKit Bug Importer
Comment 1 2024-07-11 11:16:23 PDT
youenn fablet
Comment 2 2024-07-11 11:46:41 PDT
EWS
Comment 3 2024-07-12 01:09:29 PDT
Committed 280895@main (4a6ee0b6b1b9): <https://commits.webkit.org/280895@main> Reviewed commits have been landed. Closing PR #30706 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.