Bug 394824 - Presentation crash with video
Summary: Presentation crash with video
Status: RESOLVED DUPLICATE of bug 393478
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.4.0
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 395158 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-05-29 09:33 UTC by niive
Modified: 2018-11-11 11:37 UTC (History)
5 users (show)

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


Attachments
Bug 395158 – Troublesome PDF (699.54 KB, application/pdf)
2018-06-21 12:25 UTC, Øystein Steffensen-Alværvik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description niive 2018-05-29 09:33:40 UTC
Niche case, but still.
When I go into presentation mode (ctrl+shift+p) and exit (esc), okular crashes.
It does this for one particular file, a presentation (pdf) and in it, there is an embedded webm video.
Okular can play the videos both in presentation mode and without it.

While I can't share the specific pdf right now, I can provide a MWE for how I produce the pdf that causes the crash:

\documentclass{beamer}
\usepackage[utf8]{inputenc}
\usepackage{default}
\usepackage{multimedia}

\begin{document}

\begin{frame}
 \movie[width=\textwidth, height=0.5625\textwidth, autostart, loop, poster]{}{graphics/video.webm}
\end{frame}

\end{document}

I have tried with several videos and they all seem to produce the same result.
Comment 1 Oliver Sander 2018-05-29 09:53:20 UTC
Confirmed using today's git master.  Backtrace:

~/okular-local-poppler/build(master)> gdb ~/okular-local-poppler-inst/bin/okular
GNU gdb (Debian 7.12-6+b1) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/sander/okular-local-poppler-inst/bin/okular...done.
(gdb) r ~/tmp/crash-test.pdf
Starting program: /home/sander/okular-local-poppler-inst/bin/okular ~/tmp/crash-test.pdf
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe614f700 (LWP 8101)]
[New Thread 0x7fffdbda2700 (LWP 8102)]
[New Thread 0x7fffc308d700 (LWP 8103)]
[Thread 0x7fffc308d700 (LWP 8103) exited]
[New Thread 0x7fffc308d700 (LWP 8104)]
[New Thread 0x7fffc288c700 (LWP 8105)]
[New Thread 0x7fffc288c700 (LWP 8106)]
[Thread 0x7fffc288c700 (LWP 8105) exited]
[New Thread 0x7fffc208b700 (LWP 8107)]
[New Thread 0x7fffc0f4f700 (LWP 8109)]
[Thread 0x7fffc0f4f700 (LWP 8109) exited]
[New Thread 0x7fffc0f4f700 (LWP 8111)]
[Thread 0x7fffc0f4f700 (LWP 8111) exited]
[New Thread 0x7fffc0f4f700 (LWP 8112)]
[New Thread 0x7fffc0f4f700 (LWP 8113)]
[Thread 0x7fffc0f4f700 (LWP 8112) exited]
[Thread 0x7fffc0f4f700 (LWP 8113) exited]
[New Thread 0x7fffc0f4f700 (LWP 8114)]
[Thread 0x7fffc0f4f700 (LWP 8114) exited]
[New Thread 0x7fffc0f4f700 (LWP 8115)]
[New Thread 0x7fff7117a700 (LWP 8116)]
[New Thread 0x7fff70979700 (LWP 8117)]
[New Thread 0x7fff70178700 (LWP 8118)]
[New Thread 0x7fff6f977700 (LWP 8119)]
[New Thread 0x7fffc0143700 (LWP 8120)]
[New Thread 0x7fff6eb66700 (LWP 8121)]
[New Thread 0x7fff66fd8700 (LWP 8122)]
[New Thread 0x7fff66cd4700 (LWP 8123)]
[00007fff5c0099e0] main filter error: Failed to create video converter
[Thread 0x7fffc0143700 (LWP 8120) exited]
[Thread 0x7fff7117a700 (LWP 8116) exited]
[Thread 0x7fff70979700 (LWP 8117) exited]
[Thread 0x7fffc0f4f700 (LWP 8115) exited]
[Thread 0x7fff70178700 (LWP 8118) exited]
[Thread 0x7fff6f977700 (LWP 8119) exited]
[Thread 0x7fff6eb66700 (LWP 8121) exited]
[Thread 0x7fffc208b700 (LWP 8107) exited]
[Thread 0x7fffc288c700 (LWP 8106) exited]
[Thread 0x7fff66cd4700 (LWP 8123) exited]
[Thread 0x7fff66fd8700 (LWP 8122) exited]
[New Thread 0x7fffc288c700 (LWP 8124)]
[Thread 0x7fffc288c700 (LWP 8124) exited]
[New Thread 0x7fffc288c700 (LWP 8125)]
[New Thread 0x7fff6f977700 (LWP 8126)]
[Thread 0x7fff6f977700 (LWP 8126) exited]
[New Thread 0x7fff6f977700 (LWP 8127)]
[New Thread 0x7fff66fd8700 (LWP 8128)]
[New Thread 0x7fff70178700 (LWP 8129)]
[New Thread 0x7fff70979700 (LWP 8130)]
[New Thread 0x7fffab816700 (LWP 8131)]
[New Thread 0x7fffab015700 (LWP 8132)]
[New Thread 0x7fffaa814700 (LWP 8133)]
[New Thread 0x7fff66cd4700 (LWP 8134)]
[New Thread 0x7fffc208b700 (LWP 8135)]
[New Thread 0x7fff6eb66700 (LWP 8136)]
[New Thread 0x7fffc0b76700 (LWP 8137)]
[00007fff60001cd0] main filter error: Failed to create video converter
[New Thread 0x7fffa9b38700 (LWP 8138)]
[New Thread 0x7fffa9a37700 (LWP 8139)]
[New Thread 0x7fffa9236700 (LWP 8140)]
[New Thread 0x7fffa8a35700 (LWP 8141)]
[New Thread 0x7fff90f3c700 (LWP 8142)]
[New Thread 0x7fff7117a700 (LWP 8143)]
[New Thread 0x7fffa8234700 (LWP 8144)]
[New Thread 0x7fffa8133700 (LWP 8145)]
[New Thread 0x7fff90581700 (LWP 8147)]
[New Thread 0x7fff90682700 (LWP 8146)]
[New Thread 0x7fff90480700 (LWP 8148)]
[New Thread 0x7fff5bdfb700 (LWP 8149)]
[New Thread 0x7fff5b5fa700 (LWP 8150)]
[New Thread 0x7fff5adf9700 (LWP 8151)]
[New Thread 0x7fff5a5f8700 (LWP 8152)]
[New Thread 0x7fff59df7700 (LWP 8153)]
[New Thread 0x7fff595f6700 (LWP 8154)]
[New Thread 0x7fff593c7700 (LWP 8155)]
[00007fff1c0027b0] main filter error: Failed to create video converter
[New Thread 0x7fff594f5700 (LWP 8156)]
[New Thread 0x7fff592c6700 (LWP 8157)]
[00007fff0c0027b0] main filter error: Failed to create video converter
[New Thread 0x7ffef7fff700 (LWP 8158)]
[Thread 0x7ffef7fff700 (LWP 8158) exited]
[vp9 @ 0x7fff94062fa0] get_buffer() failed
[vp9 @ 0x7fff94062fa0] thread_get_buffer() failed                                                                               
[vp9 @ 0x7fff94061180] get_buffer() failed                                                                                      
[vp9 @ 0x7fff94061180] thread_get_buffer() failed                                                                               
[Thread 0x7fff66cd4700 (LWP 8134) exited]
[Thread 0x7fff70178700 (LWP 8129) exited]
[Thread 0x7fff70979700 (LWP 8130) exited]
[Thread 0x7fffab015700 (LWP 8132) exited]
[Thread 0x7fffaa814700 (LWP 8133) exited]
[Thread 0x7fffab816700 (LWP 8131) exited]
[Thread 0x7fffc208b700 (LWP 8135) exited]
[Thread 0x7fff66fd8700 (LWP 8128) exited]
[Thread 0x7fff6f977700 (LWP 8127) exited]
[Thread 0x7fffc0b76700 (LWP 8137) exited]
[Thread 0x7fff6eb66700 (LWP 8136) exited]
pa_write() failed while trying to wake up the mainloop: Ungültiger Dateideskriptor
pa_write() failed while trying to wake up the mainloop: Ungültiger Dateideskriptor
[vp9 @ 0x7fff18c14f20] get_buffer() failed
[vp9 @ 0x7fff18c14f20] thread_get_buffer() failed                                                                               
[Thread 0x7fff595f6700 (LWP 8154) exited]
[Thread 0x7fff5bdfb700 (LWP 8149) exited]
[Thread 0x7fff5b5fa700 (LWP 8150) exited]
[Thread 0x7fff5adf9700 (LWP 8151) exited]
[Thread 0x7fff5a5f8700 (LWP 8152) exited]
[Thread 0x7fff59df7700 (LWP 8153) exited]
pa_write() failed while trying to wake up the mainloop: Ungültiger Dateideskriptor
[lots more of these]
pa_write() failed while trying to wake up the mainloop: Ungültiger Dateideskriptor
[Thread 0x7fff90581700 (LWP 8147) exited]
[Thread 0x7fff593c7700 (LWP 8155) exited]
pa_write() failed while trying to wake up the mainloop: Ungültiger Dateideskriptor
pa_write() failed while trying to wake up the mainloop: Ungültiger Dateideskriptor
pa_write() failed while trying to wake up the mainloop: Ungültiger Dateideskriptor
Assertion 'pa_close(fds[1]) == 0' failed at pulsecore/core-util.c:2647, function pa_close_pipe(). Aborting.
[Thread 0x7fffc288c700 (LWP 8125) exited]

Thread 1 "okular" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51      ../sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  0x00007ffff1e40e7b in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff1e42231 in __GI_abort () at abort.c:79
#2  0x00007fffddc8b185 in pa_close_pipe () at /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so
#3  0x00007fffde315f12 in pa_mainloop_free () at /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007fffde32594d in pa_threaded_mainloop_free () at /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007fffc329428d in  () at /usr/lib/x86_64-linux-gnu/vlc/plugins/audio_output/libpulse_plugin.so
#6  0x00007fffc83347ae in vlc_module_unload () at /usr/lib/x86_64-linux-gnu/libvlccore.so.9
#7  0x00007fffc83841f9 in  () at /usr/lib/x86_64-linux-gnu/libvlccore.so.9
#8  0x00007fffc8375a99 in input_resource_Terminate () at /usr/lib/x86_64-linux-gnu/libvlccore.so.9
#9  0x00007fffc80f2baf in libvlc_media_player_stop () at /usr/lib/x86_64-linux-gnu/libvlc.so.5
#10 0x00007fffc864c9a5 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/phonon4qt5_backend/phonon_vlc.so
#11 0x00007fffda6d0b35 in VideoWidget::Private::~Private() (this=0x5555566055a0, __in_chrg=<optimized out>)
    at /home/sander/okular-local-poppler/ui/videowidget.cpp:69
#12 0x00007fffda6d00c5 in VideoWidget::~VideoWidget() (this=0x555555fdabd0, __in_chrg=<optimized out>)
    at /home/sander/okular-local-poppler/ui/videowidget.cpp:311
#13 0x00007fffda6d0100 in VideoWidget::~VideoWidget() (this=0x555555fdabd0, __in_chrg=<optimized out>)
    at /home/sander/okular-local-poppler/ui/videowidget.cpp:312
#14 0x00007fffda68e9fe in qDeleteAll<QHash<Okular::Movie*, VideoWidget*>::const_iterator>(QHash<Okular::Movie*, VideoWidget*>::const_iterator, QHash<Okular::Movie*, VideoWidget*>::const_iterator) (begin=..., end=...)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:320
#15 0x00007fffda68b6ae in qDeleteAll<QHash<Okular::Movie*, VideoWidget*> >(QHash<Okular::Movie*, VideoWidget*> const&) (c=...)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:328
#16 0x00007fffda6ac694 in PresentationFrame::~PresentationFrame() (this=0x555555fda8c0, __in_chrg=<optimized out>)
    at /home/sander/okular-local-poppler/ui/presentationwidget.cpp:83
#17 0x00007fffda6a1d04 in PresentationWidget::~PresentationWidget() (this=0x555555f69240, __in_chrg=<optimized out>)
    at /home/sander/okular-local-poppler/ui/presentationwidget.cpp:312
#18 0x00007fffda6a1e16 in PresentationWidget::~PresentationWidget() (this=0x555555f69240, __in_chrg=<optimized out>)
    at /home/sander/okular-local-poppler/ui/presentationwidget.cpp:315
#19 0x00007ffff2db8d20 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007ffff4041a83 in QWidget::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007fffda6a3881 in PresentationWidget::event(QEvent*) (this=0x555555f69240, e=0x55555606a400)
    at /home/sander/okular-local-poppler/ui/presentationwidget.cpp:586
#22 0x00007ffff40026cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ffff4009e84 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007ffff2d88938 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007ffff2d8b4cd in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
---Type <return> to continue, or q <return> to quit---
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007ffff2de3b73 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007fffedaca287 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fffedaca4c0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fffedaca54c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007ffff2de319f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007fffe8f842c1 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#32 0x00007ffff2d86b6a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007ffff2d8fed4 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x0000555555561893 in main(int, char**) (argc=2, argv=0x7fffffffdf78)
    at /home/sander/okular-local-poppler/shell/main.cpp:87
(gdb)
Comment 2 Albert Astals Cid 2018-05-30 07:37:16 UTC
Someone will have to attach a pdf so people can try this, though it seems like one of those new "pulseaudio is all crashy" bugs we're having
Comment 3 Oliver Sander 2018-05-30 12:36:19 UTC
You can use the one from https://bugs.kde.org/show_bug.cgi?id=376574 , for example.
Comment 4 Christoph Feck 2018-06-21 01:02:21 UTC
*** Bug 395158 has been marked as a duplicate of this bug. ***
Comment 5 Øystein Steffensen-Alværvik 2018-06-21 12:24:26 UTC
FYI the bug 395158 that was marked as duplicate does *not* contain a video.
Comment 6 Øystein Steffensen-Alværvik 2018-06-21 12:25:51 UTC
Created attachment 113486 [details]
Bug 395158 – Troublesome PDF
Comment 7 Tobias Deiminger 2018-11-11 11:37:12 UTC
Quite sure this is a duplicate of bug 393478, which has been fixed with https://cgit.kde.org/okular.git/commit/?id=fa7a1b3d0674b234a61ac784dd879ad705a2f515, which is included in KDE Applications 18.08.2.

If there are still problems, feel free to reopen.

*** This bug has been marked as a duplicate of bug 393478 ***