[Webkit-unassigned] [Bug 236851] New: ASSERTION FAILED: needsPreparationForDisplay() when opening certain PDFs in PDF.js viewer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 18 11:42:49 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=236851

            Bug ID: 236851
           Summary: ASSERTION FAILED: needsPreparationForDisplay() when
                    opening certain PDFs in PDF.js viewer
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ntim at apple.com
                CC: dino at apple.com
            Blocks: 235969

Created attachment 452553

  --> https://bugs.webkit.org/attachment.cgi?id=452553&action=review

Sample PDFs

ASSERTION FAILED: needsPreparationForDisplay()
./html/HTMLCanvasElement.cpp(1033) : void WebCore::HTMLCanvasElement::prepareForDisplay()
1   0x1334fc320 WTFCrash
2   0x1477c9f74 WTFCrashWithInfo(int, char const*, char const*, int)
3   0x14a710804 WebCore::HTMLCanvasElement::prepareForDisplay()
4   0x14a277a88 WebCore::Document::prepareCanvasesForDisplayIfNeeded()
5   0x14b1307ac WebCore::Page::doAfterUpdateRendering()::$_50::operator()(WebCore::Document&) const
6   0x14b130728 WTF::Detail::CallableWrapper<WebCore::Page::doAfterUpdateRendering()::$_50, void, WebCore::Document&>::call(WebCore::Document&)
7   0x14a1cacc0 WTF::Function<void (WebCore::Document&)>::operator()(WebCore::Document&) const
8   0x14b0e03b4 WebCore::Page::forEachDocumentFromMainFrame(WebCore::Frame const&, WTF::Function<void (WebCore::Document&)> const&)
9   0x14b0d08b4 WebCore::Page::forEachDocument(WTF::Function<void (WebCore::Document&)> const&) const
10  0x14b0d80e8 WebCore::Page::doAfterUpdateRendering()
11  0x14b0d7a68 WebCore::Page::updateRendering()
12  0x1195250d0 WebKit::WebPage::updateRendering()
13  0x1187f720c WebKit::TiledCoreAnimationDrawingArea::updateRendering(WebKit::TiledCoreAnimationDrawingArea::UpdateRenderingType)
14  0x1187fc084 WebKit::TiledCoreAnimationDrawingArea::updateRenderingRunLoopCallback()
15  0x118818794 WebKit::TiledCoreAnimationDrawingArea::TiledCoreAnimationDrawingArea(WebKit::WebPage&, WebKit::WebPageCreationParameters const&)::$_0::operator()() const
16  0x118818710 WTF::Detail::CallableWrapper<WebKit::TiledCoreAnimationDrawingArea::TiledCoreAnimationDrawingArea(WebKit::WebPage&, WebKit::WebPageCreationParameters const&)::$_0, void>::call()
17  0x14ab44a3c WTF::Function<void ()>::operator()() const
18  0x14b3bc4ec WebCore::RunLoopObserver::runLoopObserverFired()
19  0x14b3bc454 WebCore::RunLoopObserver::runLoopObserverFired(__CFRunLoopObserver*, unsigned long, void*)
20  0x1ad796d00 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__
21  0x1ad796b50 __CFRunLoopDoObservers
22  0x1ad795634 CFRunLoopRunSpecific
23  0x1ae672040 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
24  0x1ae702394 -[NSRunLoop(NSRunLoop) run]
25  0x1ad40c8b4 _xpc_objc_main
26  0x1ad40c1d0 xpc_main
27  0x117aad858 WebKit::XPCServiceMain(int, char const**)
28  0x119950e28 WKXPCServiceMain
29  0x102703eac main
30  0x1028b508c


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=235969
[Bug 235969] Integrate PDF.js in Captive Portal mode
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220218/16a38704/attachment-0001.htm>


More information about the webkit-unassigned mailing list