Bug 230979 - Okular crashes (segfault) when opening a pdf file with embedded video
Summary: Okular crashes (segfault) when opening a pdf file with embedded video
Status: RESOLVED DUPLICATE of bug 228324
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.10
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-16 15:33 UTC by Éric Brunet
Modified: 2010-03-16 15:47 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
The pdf file as compiled from the test case (9.16 KB, application/pdf)
2010-03-16 15:36 UTC, Éric Brunet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Éric Brunet 2010-03-16 15:33:33 UTC
Application: okular (0.10)
KDE Platform Version: 4.4.00 (KDE 4.4.0)
Qt Version: 4.6.2
Operating System: Linux 2.6.31.12-174.2.22.fc12.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
Okular crashes when opening pdf file obtained by pdflatex from beamer sources such as
============================================                                                                          
\documentclass{beamer}                                                                                                
\usepackage{multimedia}                                                                                               
\begin{document}                                                                                                      
\begin{frame}                                                                                                         
\movie{Click here}{it_does_not_matter_whether_this_file_exists_or_not.avi}                                               
\end{frame}                                                                                                           
\end{document}                                                                                                        
============================================                                                                          

As soon as the \movie macro is present in the document, okular crashes on opening the file (not on showing the slide with the movie in it)

I see in the backtrace lines related to phonon and pulseaudio. For info, I do not have pulseaudio installed:
platane-~ rpm -qa | grep -i puls 
pulseaudio-libs-0.9.21-5.fc12.x86_64
pulseaudio-debuginfo-0.9.21-5.fc12.x86_64
pulseaudio-libs-glib2-0.9.21-5.fc12.x86_64



The crash can be reproduced every time.

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#5  QAction::setVisible (this=0x26ad4a0, b=true) at kernel/qaction.cpp:1147
#6  0x00007f834a0dc11b in VideoWidget::resizeEvent (this=0x28f4e00, event=0x7fffcc431dc0) at /usr/src/debug/kdegraphics-4.4.0/okular/ui/videowidget.cpp:295
#7  0x00000032591f574c in QWidget::event (this=0x28f4e00, event=0x7fffcc431dc0) at kernel/qwidget.cpp:8152
#8  0x00000032591aa9dc in QApplicationPrivate::notify_helper (this=0x236c1a0, receiver=0x28f4e00, e=0x7fffcc431dc0) at kernel/qapplication.cpp:4300
#9  0x00000032591b0aab in QApplication::notify (this=<value optimized out>, receiver=0x28f4e00, e=0x7fffcc431dc0) at kernel/qapplication.cpp:4183
#10 0x000000325a0067a6 in KApplication::notify (this=0x7fffcc434da0, receiver=0x28f4e00, event=0x7fffcc431dc0) at /usr/src/debug/kdelibs-4.4.0/kdeui/kernel/kapplication.cpp:302
#11 0x0000003e2635774c in QCoreApplication::notifyInternal (this=0x7fffcc434da0, receiver=0x28f4e00, event=0x7fffcc431dc0) at kernel/qcoreapplication.cpp:704
#12 0x00000032591f476b in sendEvent (this=0x2911a80, recursive=true, disableUpdates=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:215
#13 QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x2911a80, recursive=true, disableUpdates=<value optimized out>) at kernel/qwidget.cpp:7086
#14 0x00000032591f46db in QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x25145c0, recursive=true, disableUpdates=<value optimized out>) at kernel/qwidget.cpp:7098
#15 0x00000032591f46db in QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x275aef0, recursive=true, disableUpdates=<value optimized out>) at kernel/qwidget.cpp:7098
#16 0x00000032591f46db in QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x2743ec0, recursive=true, disableUpdates=<value optimized out>) at kernel/qwidget.cpp:7098
#17 0x00000032591f46db in QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x24d43a0, recursive=true, disableUpdates=<value optimized out>) at kernel/qwidget.cpp:7098
#18 0x00000032591f46db in QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x24c5fa0, recursive=true, disableUpdates=<value optimized out>) at kernel/qwidget.cpp:7098
#19 0x00000032591f46db in QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x24b9050, recursive=true, disableUpdates=<value optimized out>) at kernel/qwidget.cpp:7098
#20 0x00000032591f997c in QWidgetPrivate::prepareToRender (this=0x24b9050, region=<value optimized out>, renderFlags=<value optimized out>) at kernel/qwidget.cpp:5163
#21 0x00000032591fe057 in QWidget::render (this=<value optimized out>, target=0x7fffcc4324f0, targetOffset=..., sourceRegion=<value optimized out>, renderFlags=...) at kernel/qwidget.cpp:4871
#22 0x0000003259279c3b in QPixmap::grabWidget (widget=0x24b8f10, rect=...) at image/qpixmap.cpp:1092
#23 0x00007f834bbca4f8 in Oxygen::TransitionWidget::grab (this=0x2776ef0, widget=<value optimized out>, rect=...)
    at /usr/src/debug/kdebase-runtime-4.4.0/kstyles/oxygen/transitions/oxygentransitionwidget.cpp:86
#24 0x00007f834bbc5df8 in Oxygen::LineEditData::timerEvent (this=0x2776da0, event=<value optimized out>) at /usr/src/debug/kdebase-runtime-4.4.0/kstyles/oxygen/transitions/oxygenlineeditdata.cpp:87
#25 0x0000003e2636663e in QObject::event (this=0x2776da0, e=0x7fffcc432db0) at kernel/qobject.cpp:1212
#26 0x00000032591aa9dc in QApplicationPrivate::notify_helper (this=0x236c1a0, receiver=0x2776da0, e=0x7fffcc432db0) at kernel/qapplication.cpp:4300
#27 0x00000032591b0aab in QApplication::notify (this=<value optimized out>, receiver=0x2776da0, e=0x7fffcc432db0) at kernel/qapplication.cpp:4183
#28 0x000000325a0067a6 in KApplication::notify (this=0x7fffcc434da0, receiver=0x2776da0, event=0x7fffcc432db0) at /usr/src/debug/kdelibs-4.4.0/kdeui/kernel/kapplication.cpp:302
#29 0x0000003e2635774c in QCoreApplication::notifyInternal (this=0x7fffcc434da0, receiver=0x2776da0, event=0x7fffcc432db0) at kernel/qcoreapplication.cpp:704
#30 0x0000003e2637fe02 in sendEvent (this=0x236fdc0) at kernel/qcoreapplication.h:215
#31 QTimerInfoList::activateTimers (this=0x236fdc0) at kernel/qeventdispatcher_unix.cpp:603
#32 0x0000003e2637d374 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#33 0x00000033d363920e in g_main_dispatch (context=0x236ed20) at gmain.c:1960
#34 IA__g_main_context_dispatch (context=0x236ed20) at gmain.c:2513
#35 0x00000033d363cbf8 in g_main_context_iterate (context=0x236ed20, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#36 0x00000033d363cd1a in IA__g_main_context_iteration (context=0x236ed20, may_block=1) at gmain.c:2654
#37 0x0000003e2637d063 in QEventDispatcherGlib::processEvents (this=0x2354c50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#38 0x0000003259249a1e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x0000003e26356192 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x0000003e2635645c in QEventLoop::exec (this=0x27d5ae0, flags=...) at kernel/qeventloop.cpp:201
#41 0x000000325cc4187a in Phonon::PulseSupport::PulseSupport (this=<value optimized out>) at /usr/src/debug/phonon-4.3.80/phonon/pulsesupport.cpp:668
#42 0x000000325cc4191f in Phonon::PulseSupport::getInstance () at /usr/src/debug/phonon-4.3.80/phonon/pulsesupport.cpp:620
#43 0x000000325cc2b06d in Phonon::AudioOutputPrivate::init (this=0x2911410, c=NoCategory) at /usr/src/debug/phonon-4.3.80/phonon/audiooutput.cpp:102
#44 0x000000325cc3aeb2 in Phonon::VideoPlayerPrivate::init (this=0x28f4a80, q=0x2916dd0, category=NoCategory) at /usr/src/debug/phonon-4.3.80/phonon/videoplayer.cpp:59
#45 0x000000325cc3b0b0 in Phonon::VideoPlayer::VideoPlayer (this=0x2916dd0, category=NoCategory, parent=0x1) at /usr/src/debug/phonon-4.3.80/phonon/videoplayer.cpp:75
#46 0x00007f834a0dc6e2 in VideoWidget::VideoWidget (this=0x28f4e00, movieann=<value optimized out>, document=0x2916d20, parent=<value optimized out>)
    at /usr/src/debug/kdegraphics-4.4.0/okular/ui/videowidget.cpp:171
#47 0x00007f834a0b638d in PageView::notifySetup (this=0x275d9d0, pageSet=<value optimized out>, setupFlags=<value optimized out>) at /usr/src/debug/kdegraphics-4.4.0/okular/ui/pageview.cpp:749
#48 0x00007f8349dc6ce3 in Okular::Document::openDocument (this=0x24e34b0, docFile=<value optimized out>, url=<value optimized out>, _mime=<value optimized out>)
    at /usr/src/debug/kdegraphics-4.4.0/okular/core/document.cpp:1677
#49 0x00007f834a07425c in Okular::Part::openFile (this=0x24a12e0) at /usr/src/debug/kdegraphics-4.4.0/okular/part.cpp:929
#50 0x000000325bc21b67 in KParts::ReadOnlyPart::openUrl (this=0x24a12e0, url=<value optimized out>) at /usr/src/debug/kdelibs-4.4.0/kparts/part.cpp:557
#51 0x00007f834a068d0a in Okular::Part::openUrl (this=0x24a12e0, _url=<value optimized out>) at /usr/src/debug/kdegraphics-4.4.0/okular/part.cpp:1048
#52 0x000000000040917a in Shell::openUrl (this=0x24b8f10, url=...) at /usr/src/debug/kdegraphics-4.4.0/okular/shell/shell.cpp:130
#53 0x0000000000409a9c in Shell::qt_metacall (this=0x24b8f10, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffcc4342f0)
    at /usr/src/debug/kdegraphics-4.4.0/x86_64-redhat-linux-gnu/okular/shell/shell.moc:94
#54 0x0000003e2636a2af in QMetaObject::activate (sender=0x2882ef0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3293
#55 0x0000003e2636f97f in QSingleShotTimer::timerEvent (this=0x2882ef0) at kernel/qtimer.cpp:308
#56 0x0000003e2636663e in QObject::event (this=0x2882ef0, e=0x7fffcc434a50) at kernel/qobject.cpp:1212
#57 0x00000032591aa9dc in QApplicationPrivate::notify_helper (this=0x236c1a0, receiver=0x2882ef0, e=0x7fffcc434a50) at kernel/qapplication.cpp:4300
#58 0x00000032591b0aab in QApplication::notify (this=<value optimized out>, receiver=0x2882ef0, e=0x7fffcc434a50) at kernel/qapplication.cpp:4183
#59 0x000000325a0067a6 in KApplication::notify (this=0x7fffcc434da0, receiver=0x2882ef0, event=0x7fffcc434a50) at /usr/src/debug/kdelibs-4.4.0/kdeui/kernel/kapplication.cpp:302
#60 0x0000003e2635774c in QCoreApplication::notifyInternal (this=0x7fffcc434da0, receiver=0x2882ef0, event=0x7fffcc434a50) at kernel/qcoreapplication.cpp:704
#61 0x0000003e2637fe02 in sendEvent (this=0x236fdc0) at kernel/qcoreapplication.h:215
#62 QTimerInfoList::activateTimers (this=0x236fdc0) at kernel/qeventdispatcher_unix.cpp:603
#63 0x0000003e2637d374 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#64 0x00000033d363920e in g_main_dispatch (context=0x236ed20) at gmain.c:1960
#65 IA__g_main_context_dispatch (context=0x236ed20) at gmain.c:2513
#66 0x00000033d363cbf8 in g_main_context_iterate (context=0x236ed20, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#67 0x00000033d363cd1a in IA__g_main_context_iteration (context=0x236ed20, may_block=1) at gmain.c:2654
#68 0x0000003e2637d063 in QEventDispatcherGlib::processEvents (this=0x2354c50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#69 0x0000003259249a1e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#70 0x0000003e26356192 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#71 0x0000003e2635645c in QEventLoop::exec (this=0x7fffcc434cf0, flags=...) at kernel/qeventloop.cpp:201
#72 0x0000003e26358749 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#73 0x0000000000408039 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdegraphics-4.4.0/okular/shell/main.cpp:82

Reported using DrKonqi
Comment 1 Éric Brunet 2010-03-16 15:36:50 UTC
Created attachment 41688 [details]
The pdf file as compiled from the test case
Comment 2 Pino Toscano 2010-03-16 15:47:05 UTC

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