[okular] [Bug 509163] New: Okular crashes when opening a PDF containing many multimedia elements.

Benjamin bugzilla_noreply at kde.org
Fri Sep 5 17:07:10 BST 2025


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

            Bug ID: 509163
           Summary: Okular crashes when opening a PDF containing many
                    multimedia elements.
    Classification: Applications
           Product: okular
      Version First 25.08.0
       Reported In:
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: PDF backend
          Assignee: okular-devel at kde.org
          Reporter: b.g01lyon+kde at gmail.com
  Target Milestone: ---

Created attachment 184750
  --> https://bugs.kde.org/attachment.cgi?id=184750&action=edit
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.

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


More information about the Okular-devel mailing list