Bug 306008 - Okular Crashes opening embedded files
Summary: Okular Crashes opening embedded files
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.14.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 306854 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-08-29 20:27 UTC by Tom
Modified: 2012-09-15 17:42 UTC (History)
2 users (show)

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


Attachments
PDF created by LiveScribe software which crashes Okular (67 bytes, text/plain)
2012-08-29 20:33 UTC, Tom
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom 2012-08-29 20:27:50 UTC
Application: okular (0.14.3)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-29-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
Opening a file created with livescribe containing an .m4a audio file inside a pdf.  

- What I was doing when the application crashed:

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f16b8eea780 (LWP 23723))]

Thread 3 (Thread 0x7f16a2afb700 (LWP 23724)):
#0  0x00007f16b60c20bd in read () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f16b2f058cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f16b2ecaba4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f16b2ecafd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f16b2ecb164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f16b6ac1426 in QEventDispatcherGlib::processEvents (this=0x7f169c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f16b6a90c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f16b6a90ed7 in QEventLoop::exec (this=0x7f16a2afadd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f16b698ffa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f16b6a709ff in QInotifyFileSystemWatcherEngine::run (this=0x16600c0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f16b6992fcb in QThreadPrivate::start (arg=0x16600c0) at thread/qthread_unix.cpp:298
#11 0x00007f16b3397e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#12 0x00007f16b60cf4bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f16a1d2a700 (LWP 23725)):
#0  0x00007f16b60c3b03 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f16b2ecb036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f16b2ecb164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f16b6ac1426 in QEventDispatcherGlib::processEvents (this=0x7f16940008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f16b6a90c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f16b6a90ed7 in QEventLoop::exec (this=0x7f16a1d29dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f16b698ffa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f16b6a709ff in QInotifyFileSystemWatcherEngine::run (this=0x16f3800) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f16b6992fcb in QThreadPrivate::start (arg=0x16f3800) at thread/qthread_unix.cpp:298
#9  0x00007f16b3397e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f16b60cf4bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f16b8eea780 (LWP 23723)):
[KCrash Handler]
#6  0x00007f16b6013445 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x00007f16b6016bab in abort () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x00007f16a0b77f0b in getDict (this=<optimized out>) at Object.h:197
#9  getDict (this=<optimized out>) at FileSpec.cc:268
#10 FileSpec::getEmbeddedFile (this=0x27d3310) at FileSpec.cc:136
#11 0x00007f16a0eed83f in Poppler::EmbeddedFile::size (this=<optimized out>) at poppler-embeddedfile.cc:78
#12 0x00007f16a113150d in PDFEmbeddedFile::size (this=<optimized out>) at ../../../generators/poppler/popplerembeddedfile.h:41
#13 0x00007f16a79c252a in EmbeddedFilesDialog::EmbeddedFilesDialog (this=0x25286e0, parent=<optimized out>, document=<optimized out>) at ../ui/embeddedfilesdialog.cpp:69
#14 0x00007f16a79a890c in Okular::Part::slotShowEmbeddedFiles (this=0x1197220) at ../part.cpp:2162
#15 0x00007f16a79b511a in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./part.moc:207
#16 Okular::Part::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./part.moc:159
#17 0x00007f16b6aa6281 in QMetaObject::activate (sender=0x1531b70, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff30f29580) at kernel/qobject.cpp:3547
#18 0x00007f16b7486132 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#19 0x00007f16b748631f in QAction::activate (this=0x1531b70, event=<optimized out>) at kernel/qaction.cpp:1257
#20 0x00007f16b78d8119 in QMenuPrivate::activateCausedStack (this=0x1597130, causedStack=..., action=0x1531b70, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#21 0x00007f16b78de272 in QMenuPrivate::activateAction (this=0x1597130, action=0x1531b70, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#22 0x00007f16b82872d0 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#23 0x00007f16b74dd144 in QWidget::event (this=0x15b7280, event=0x7fff30f2a150) at kernel/qwidget.cpp:8362
#24 0x00007f16b78df80b in QMenu::event (this=0x15b7280, e=0x7fff30f2a150) at widgets/qmenu.cpp:2469
#25 0x00007f16b748c894 in notify_helper (e=0x7fff30f2a150, receiver=0x15b7280, this=0xfe95a0) at kernel/qapplication.cpp:4559
#26 QApplicationPrivate::notify_helper (this=0xfe95a0, receiver=0x15b7280, e=0x7fff30f2a150) at kernel/qapplication.cpp:4531
#27 0x00007f16b74920bf in QApplication::notify (this=<optimized out>, receiver=0x15b7280, e=0x7fff30f2a150) at kernel/qapplication.cpp:4102
#28 0x00007f16b81c69e6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#29 0x00007f16b6a91e9c in QCoreApplication::notifyInternal (this=0x7fff30f2ae30, receiver=0x15b7280, event=0x7fff30f2a150) at kernel/qcoreapplication.cpp:876
#30 0x00007f16b748d862 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#31 QApplicationPrivate::sendMouseEvent (receiver=0x15b7280, event=0x7fff30f2a150, alienWidget=0x0, nativeWidget=0x15b7280, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#32 0x00007f16b750d2c1 in QETWidget::translateMouseEvent (this=0x15b7280, event=<optimized out>) at kernel/qapplication_x11.cpp:4551
#33 0x00007f16b750bbae in QApplication::x11ProcessEvent (this=0x7fff30f2ae30, event=0x7fff30f2aa20) at kernel/qapplication_x11.cpp:3732
#34 0x00007f16b75350d2 in x11EventSourceDispatch (s=0xfe6e50, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x00007f16b2ecad53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f16b2ecb0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f16b2ecb164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f16b6ac13bf in QEventDispatcherGlib::processEvents (this=0xfc0b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#39 0x00007f16b7534d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f16b6a90c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007f16b6a90ed7 in QEventLoop::exec (this=0x7fff30f2adc0, flags=...) at kernel/qeventloop.cpp:204
#42 0x00007f16b6a95f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#43 0x00000000004079c6 in main (argc=<optimized out>, argv=<optimized out>) at ../../shell/main.cpp:85

Reported using DrKonqi
Comment 1 Albert Astals Cid 2012-08-29 20:30:27 UTC
Link to the file?
Comment 2 Tom 2012-08-29 20:33:33 UTC
Created attachment 73550 [details]
PDF created by LiveScribe software which crashes Okular

http://you.ccsu.edu/chemistry/files/2012/08/MassMolesAtomsGold.pdf
Comment 3 Tom 2012-08-29 21:13:02 UTC
(In reply to comment #1)
> Link to the file?http://you.ccsu.edu/chemistry/files/2012/08/MassMolesAtomsGold.pdf
Comment 4 Albert Astals Cid 2012-08-29 22:51:18 UTC
It's an upstream bug in poppler. I've just fixed it and will be released with next poppler release 

http://cgit.freedesktop.org/poppler/poppler/commit/?h=poppler-0.20&id=46948868dee6d4e68b658c68d7df482590e34da3
Comment 5 Albert Astals Cid 2012-09-15 17:42:24 UTC
*** Bug 306854 has been marked as a duplicate of this bug. ***