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

Albert Astals Cid bugzilla_noreply at kde.org
Sat Jun 22 10:58:55 BST 2019


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

Albert Astals Cid <aacid at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aacid at kde.org

--- Comment #3 from Albert Astals Cid <aacid at kde.org> ---
(In reply to Tobias Deiminger from comment #2)
> 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?

That is bad, we have support for OCGState links. Let me try to see what
happened.

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


More information about the Okular-devel mailing list