Bug 515655 - Crash on viewing certain page of PDF
Summary: Crash on viewing certain page of PDF
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (other bugs)
Version First Reported In: 25.12.1
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-06 21:28 UTC by Tristan Miller
Modified: 2026-02-06 21:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
PDF file that makes Okular crash. (1.24 MB, application/pdf)
2026-02-06 21:28 UTC, Tristan Miller
Details
Backtrace (79.38 KB, text/plain)
2026-02-06 21:29 UTC, Tristan Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Miller 2026-02-06 21:28:43 UTC
Created attachment 189300 [details]
PDF file that makes Okular crash.

SUMMARY

Okular crashes when viewing a certain page of a PDF I have.  I used pdftk to extract the page in question to a separate PDF file; having Okular view the file with this single-page PDF also makes it crash.

STEPS TO REPRODUCE
1. Open the attached foo.pdf.

OBSERVED RESULT

Okular crashes with the following error:

terminate called after throwing an instance of 'std::length_error'
  what():  vector::_M_default_append

EXPECTED RESULT

Okular should display the file without crashing.  (Other PDF viewers, such as Evince, are able to do so.)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.5.5 
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.2

ADDITIONAL INFORMATION

See attached backtrace.
Comment 1 Tristan Miller 2026-02-06 21:29:12 UTC
Created attachment 189301 [details]
Backtrace