[okular] [Bug 408849] okular crashes scrolling through certain pdf

Tobias Deiminger bugzilla_noreply at kde.org
Wed Jun 19 06:28:28 BST 2019


https://bugs.kde.org/show_bug.cgi?id=408849

--- Comment #2 from Tobias Deiminger <haxtibal at posteo.de> ---
The problem is that Okular has bogus handling for Poppler::Link::OCGState. If a
document contains such a link, we meet the case arm

        case Poppler::Link::OCGState:
            Q_UNREACHABLE();

This aborts Okular immediately in debug builds when scrolling to the page, or
leads to construction of an Okular::ObjectRect with m_object = 0x0 in release
builds, causing the crash to happen later (that's what happened in my trial
from comment 2).

We either have to handle the "not implemented yet" situation more gracefully.
Or create a suitable Okular::Action object to expose the feature if Okular is
already capable of handling OCGState links. Didn't check what's the current
state here, does anybody know?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list