WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
236851
ASSERTION FAILED: needsPreparationForDisplay() when opening certain PDFs in PDF.js viewer
https://bugs.webkit.org/show_bug.cgi?id=236851
Summary
ASSERTION FAILED: needsPreparationForDisplay() when opening certain PDFs in P...
Tim Nguyen (:ntim)
Reported
2022-02-18 11:42:49 PST
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
Attachments
Sample crashing PDF
(519.38 KB, application/pdf)
2022-02-18 11:42 PST
,
Tim Nguyen (:ntim)
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-02-18 11:44:09 PST
<
rdar://problem/89158103
>
Tim Nguyen (:ntim)
Comment 2
2022-08-30 14:02:55 PDT
Can no longer reproduce
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug