| Summary: | ASSERTION FAILED: needsPreparationForDisplay() when opening certain PDFs in PDF.js viewer | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Nguyen (:ntim) <ntim> | ||||
| Component: | Canvas | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED WORKSFORME | ||||||
| Severity: | Normal | CC: | dino, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 235969 | ||||||
| Attachments: |
|
||||||
Can no longer reproduce |
Created attachment 452553 [details] Sample crashing PDF 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