Bug 509163 - Okular crashes when opening a PDF containing many multimedia elements.
Summary: Okular crashes when opening a PDF containing many multimedia elements.
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (other bugs)
Version First Reported In: 25.08.0
Platform: Manjaro Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-05 16:07 UTC by Benjamin
Modified: 2025-09-05 16:07 UTC (History)
0 users

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


Attachments
gdb backtrace (16.36 KB, text/plain)
2025-09-05 16:07 UTC, Benjamin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin 2025-09-05 16:07:10 UTC
Created attachment 184750 [details]
gdb backtrace

Hello,

I have a large PDF file (almost 300 MB) containing thousands of audio files. It opens fine with Evince, but with Okular, the software freezes, and I have to manually terminate it without being able to view the file.

If I launch it from the terminal, after a few seconds, I get these messages (and I don't have the courage to wait for it to finish...). By the way, « Trop de fichiers ouverts » means "Too many files open".

okular big_audio_file.pdf
! SyncTeX Error : could not open, error 2147416319

! SyncTeX Error : could not open, error 2147416319

The per-process limit on the number of open file descriptors has been reached.
ERROR: cannot create wakeup pipe
shared memfd open() failed: Trop de fichiers ouverts
Failed to create secure directory (/run/user/1000/pulse): Trop de fichiers ouverts
socket(): Trop de fichiers ouverts
shared memfd open() failed: Trop de fichiers ouverts
Failed to create secure directory (/run/user/1000/pulse): Trop de fichiers ouverts
socket(): Trop de fichiers ouverts
[0000558c8743fb60] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
shared memfd open() failed: Trop de fichiers ouverts
Failed to create secure directory (/run/user/1000/pulse): Trop de fichiers ouverts
socket(): Trop de fichiers ouverts
shared memfd open() failed: Trop de fichiers ouverts
Failed to create secure directory (/run/user/1000/pulse): Trop de fichiers ouverts
socket(): Trop de fichiers ouverts
[0000558c8743fb60] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
[0000558c8743fb60] main audio output error: no suitable audio output module
shared memfd open() failed: Trop de fichiers ouverts
Failed to create secure directory (/run/user/1000/pulse): Trop de fichiers ouverts
socket(): Trop de fichiers ouverts
[0000558c8745abf0] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
shared memfd open() failed: Trop de fichiers ouverts
Failed to create secure directory (/run/user/1000/pulse): Trop de fichiers ouverts
socket(): Trop de fichiers ouverts
shared memfd open() failed: Trop de fichiers ouverts
Failed to create secure directory (/run/user/1000/pulse): Trop de fichiers ouverts
socket(): Trop de fichiers ouverts
[0000558c8745abf0] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
[0000558c8745abf0] main audio output error: no suitable audio output module
…
[00005590fa09fe20] main audio output error: no suitable audio output module
The per-process limit on the number of open file descriptors has been reached.
ERROR: cannot create wakeup pipe
ALSA lib conf.c:4644:(snd_config_update_r) cannot access file /usr/share/alsa/alsa.conf
The per-process limit on the number of open file descriptors has been reached.
ERROR: cannot create wakeup pipe
The per-process limit on the number of open file descriptors has been reached.
ERROR: cannot create wakeup pipe
[00005590fa0c9bc0] main audio output error: no suitable audio output module
The per-process limit on the number of open file descriptors has been reached.
ERROR: cannot create wakeup pipe
ALSA lib conf.c:4644:(snd_config_update_r) cannot access file /usr/share/alsa/alsa.conf
The per-process limit on the number of open file descriptors has been reached.
ERROR: cannot create wakeup pipe
The per-process limit on the number of open file descriptors has been reached.
ERROR: cannot create wakeup pipe
[00005590fa0f4700] main audio output error: no suitable audio output module
The per-process limit on the number of open file descriptors has been reached.
ERROR: cannot create wakeup pipe
ALSA lib conf.c:4644:(snd_config_update_r) cannot access file /usr/share/alsa/alsa.conf
The per-process limit on the number of open file descriptors has been reached.
ERROR: cannot create wakeup pipe
The per-process limit on the number of open file descriptors has been reached.
ERROR: cannot create wakeup pipe
…

I provide the gdb backtrace file.

Thank you.