Bug 263902 - [content-visibility] Crash under Document::updateIntersectionObservations()
Summary: [content-visibility] Crash under Document::updateIntersectionObservations()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Rob Buis
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-10-30 10:20 PDT by Tim Nguyen (:ntim)
Modified: 2024-01-06 07:54 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Nguyen (:ntim) 2023-10-30 10:20:45 PDT
rdar://117691391
Comment 1 Tim Nguyen (:ntim) 2023-12-11 19:35:59 PST
      50 WTFCrashWithInfo(int, char const*, char const*, int)
 ==> 50 WebCore::Document::updateIntersectionObservations(WTF::Vector<WTF::WeakPtr<WebCore::IntersectionObserver, WTF::DefaultWeakPtrImpl>, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc> const&) <==
          50 WebCore::ContentVisibilityDocumentState::determineInitialVisibleContentVisibility() const
            50 WebCore::Document::updateResizeObservations(WebCore::Page&)
              50 WTF::Function<void (WebCore::Document&)>::operator()(WebCore::Document&) const
                50 WebCore::Page::forEachDocumentFromMainFrame(WebCore::LocalFrame const&, WTF::Function<void (WebCore::Document&)> const&)
                  50 WebCore::Page::forEachDocument(WTF::Function<void (WebCore::Document&)> const&) const
                    50 WebCore::Page::updateRendering()::$_23::operator()(WebCore::RenderingUpdateStep, WTF::Function<void (WebCore::Document&)> const&) const
                      50 WebCore::Page::updateRendering()
                        50 WebKit::WebPage::updateRendering()
                          50 WebKit::RemoteLayerTreeDrawingArea::updateRendering()
                            50 WebCore::ThreadTimers::sharedTimerFiredInternal()
                              50 WebCore::ThreadTimers::setSharedTimer(WebCore::SharedTimer*)::$_0::operator()() const
                                50 WTF::Detail::CallableWrapper<WebCore::ThreadTimers::setSharedTimer(WebCore::SharedTimer*)::$_0, void>::call()
                                  50 WTF::Function<void ()>::operator()() const
                                    50 WebCore::MainThreadSharedTimer::fired()
                                      50 WebCore::timerFired(__CFRunLoopTimer*, void*)
                                        50 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
                                          50 __CFRunLoopDoTimer
                                            50 __CFRunLoopDoTimers
                                              50 __CFRunLoopRun
                                                50 CFRunLoopRunSpecific
                                                  50 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
                                                    50 -[NSRunLoop(NSRunLoop) run]
                                                      50 _xpc_objc_main
                                                        50 _xpc_main
                                                          50 xpc_main
                                                            50 WebKit::XPCServiceMain(int, char const**)
                                                              50 start
Comment 2 Rob Buis 2024-01-05 07:29:37 PST
Pull request: https://github.com/WebKit/WebKit/pull/22433
Comment 3 EWS 2024-01-06 07:54:34 PST
Committed 272732@main (38e913315a09): <https://commits.webkit.org/272732@main>

Reviewed commits have been landed. Closing PR #22433 and removing active labels.