okular from snap store crashes in presentation including video and audio files

Bug #1846780 reported by johannes aichele
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
okular (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hi,
I have been trying to use both the apt and the snap version of okular in Ubuntu 18.04 to display presentations created with latex/beamer that include audiovisual content. The apt version works fine as long as I do not exit the presentation mode. Every time I exit presentation mode it crashes with the following message:

pa_write() failed while trying to wake up the mainloop: Bad file descriptor
pa_write() failed while trying to wake up the mainloop: Bad file descriptor
pa_write() failed while trying to wake up the mainloop: Bad file descriptor
Assertion 'pa_close(fds[1]) == 0' failed at pulsecore/core-util.c:2647, function pa_close_pipe(). Aborting.

The snap version is even worse: every time I try to play audiovisual content, okular crashes with a long list of messages like this:

ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default
[000055e08eacc8d0] alsa audio output error: cannot open ALSA device "default": No such file or directory
[000055e08eacc8d0] main audio output error: Audio output failed
[000055e08eacc8d0] main audio output error: The audio device "default" could not be used:
No such file or directory.
[000055e08eacc8d0] main audio output error: module not functional
[00007f1e7c1a4360] main decoder error: failed to create audio output
[00007f1e600a56f0] main video output error: video output creation failed
Segmentation fault (core dumped)

An example pdf can be downloaded from here: https://github.com/giampierosalvi/slides_with_video

Anyone who knows an easy fix? I mean without waiting for a new version of okular?
Thank you!
Giampiero

Revision history for this message
johannes aichele (green-shu) wrote :
Download full text (38.1 KiB)

I have the same problem, with the following errors reported:

Qt: Session management error: None of the authentication protocols specified are supported
Icon theme "Adwaita" not found.
Icon theme "Adwaita" not found.
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
[00007f9e4c001840] filesystem stream error: cannot open file /run/user/1000/doc/d5f4ec80/tex_video/Fat_Slap.mp4 (No such file or directory)
[000055a9c58cb930] main input error: Your input can't be opened
[000055a9c58cb930] main input error: VLC is unable to open the MRL 'file:///run/user/1000/doc/d5f4ec80/tex_video/Fat_Slap.mp4'. Check the log for details.
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
[00007f9e4c001d90] filesystem stream error: cannot open file /run/user/1000/doc/d5f4ec80/tex_video/elasto_example.mp4 (No such file or directory)
[000055a9c58f0860] main input error: Your input can't be opened
[000055a9c58f0860] main input error: VLC is unable to open the MRL 'file:///run/user/1000/doc/d5f4ec80/tex_video/elasto_example.mp4'. Check the log for details.
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
[00007f9e3c0017f0] filesystem stream error: cannot open file /run/user/1000/doc/d5f4ec80/films/vertical.mp4 (No such file or directory)
[000055a9c59551b0] main input error: Your input can't be opened
[000055a9c59551b0] main input error: VLC is unable to open the MRL 'file:///run/user/1000/doc/d5f4ec80/films/vertical.mp4'. Check the log for details.
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib conf.c:3916:(snd_config_update_r) Cannot acce...

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1846780/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Paul White (paulw2u) wrote :

https://snapcraft.io/okular shows that the publisher of the okular snap is KDE and any issues should reported directly to them at:

https://bugs.kde.org/enter_bug.cgi?product=neon&component=Snaps

affects: ubuntu → okular (Ubuntu)
tags: added: bionic
Revision history for this message
Giampiero Salvi (giampisalvi) wrote :

Hi Paul,
thank you for the message. However the bug also affects the version of okular that you can install via apt. Is that also managed by KDE?

Thank you!
Giampiero

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in okular (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.