Bug 324731 - opening an pdf document, it crash
Summary: opening an pdf document, it crash
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.16.5
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-09-10 01:13 UTC by tim ling
Modified: 2013-10-23 15:43 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tim ling 2013-09-10 01:13:28 UTC
Application: okular (0.16.5)
KDE Platform Version: 4.10.5
Qt Version: 4.8.5
Operating System: Linux 3.10.10-100.fc18.i686 i686
Distribution: "Fedora release 18 (Spherical Cow)"

-- Information about the crash:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb7703780 (LWP 20251))]

Thread 2 (Thread 0xb51f4b40 (LWP 20253)):
#0  0xb7740424 in __kernel_vsyscall ()
#1  0x4523ebdb in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0x454b132c in poll (__timeout=-1, __nfds=5, __fds=0xb4802330) at /usr/include/bits/poll2.h:46
#3  g_poll (fds=0xb4802330, nfds=5, timeout=-1) at gpoll.c:132
#4  0x454a2480 in g_main_context_poll (priority=2147483647, n_fds=5, fds=0xb4802330, timeout=<optimized out>, context=0x9655c60) at gmain.c:3584
#5  g_main_context_iterate (context=0x9655c60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3285
#6  0x454a2963 in g_main_loop_run (loop=0x9655c28) at gmain.c:3484
#7  0x45e58feb in gdbus_shared_thread_func (user_data=0x9655c48) at gdbusprivate.c:277
#8  0x454c8644 in g_thread_proxy (data=0x96939b0) at gthread.c:797
#9  0x45354aff in start_thread (arg=0xb51f4b40) at pthread_create.c:308
#10 0x452490ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:132

Thread 1 (Thread 0xb7703780 (LWP 20251)):
[KCrash Handler]
#7  0xb0563716 in Poppler::MediaRendition::isValid (this=this@entry=0x9b83330) at poppler-media.cc:58
#8  0xb0563853 in Poppler::MediaRendition::isEmbedded (this=0x9b83330) at poppler-media.cc:80
#9  0xb05b7685 in createMovieFromPopplerScreen (popplerScreen=0x9b82b68) at /usr/src/debug/okular-4.10.5/generators/poppler/generator_pdf.cpp:198
#10 0xb05c3ff7 in createAnnotationFromPopplerAnnotation (ann=0x9b82ac8, doDelete=0xbfee7b57) at /usr/src/debug/okular-4.10.5/generators/poppler/annots.cpp:334
#11 0xb05bbe2d in PDFGenerator::addAnnotations (this=this@entry=0x9a37d08, popplerPage=popplerPage@entry=0x9a72718, page=page@entry=0x9b82538) at /usr/src/debug/okular-4.10.5/generators/poppler/generator_pdf.cpp:1462
#12 0xb05bc483 in PDFGenerator::loadPages (this=this@entry=0x9a37d08, pagesVector=..., rotation=rotation@entry=0, clear=clear@entry=false) at /usr/src/debug/okular-4.10.5/generators/poppler/generator_pdf.cpp:639
#13 0xb05bcd22 in PDFGenerator::init (this=this@entry=0x9a37d08, pagesVector=..., walletKey=...) at /usr/src/debug/okular-4.10.5/generators/poppler/generator_pdf.cpp:572
#14 0xb05bf13e in PDFGenerator::loadDocument (this=0x9a37d08, filePath=..., pagesVector=...) at /usr/src/debug/okular-4.10.5/generators/poppler/generator_pdf.cpp:466
#15 0xb290abe0 in Okular::DocumentPrivate::openDocumentInternal (this=0x97c1dd8, offer=..., isstdin=false, docFile=..., filedata=...) at /usr/src/debug/okular-4.10.5/core/document.cpp:819
#16 0xb2913a66 in Okular::Document::openDocument (this=0x97aa160, docFile=..., url=..., _mime=...) at /usr/src/debug/okular-4.10.5/core/document.cpp:1907
#17 0xb29d724b in Okular::Part::openFile (this=0x97658e8) at /usr/src/debug/okular-4.10.5/part.cpp:1214
#18 0x483c77a6 in KParts::ReadOnlyPartPrivate::openLocalFile (this=this@entry=0x9765a98) at /usr/src/debug/kdelibs-4.10.5/kparts/part.cpp:591
#19 0x483c7e97 in KParts::ReadOnlyPart::openUrl (this=0x97658e8, url=...) at /usr/src/debug/kdelibs-4.10.5/kparts/part.cpp:555
#20 0xb29c8333 in openUrl (_url=..., this=0x97658e8) at /usr/src/debug/okular-4.10.5/part.cpp:1359
#21 Okular::Part::openUrl (this=0x97658e8, _url=...) at /usr/src/debug/okular-4.10.5/part.cpp:1330
#22 0x0805103c in Shell::openUrl (this=this@entry=0x9754310, url=...) at /usr/src/debug/okular-4.10.5/shell/shell.cpp:179
#23 0x08051249 in Shell::delayedOpen (this=0x9754310) at /usr/src/debug/okular-4.10.5/shell/shell.cpp:138
#24 0x4627c55b in QMetaCallEvent::placeMetaCall (this=0x9a08cb8, object=0x9754310) at kernel/qobject.cpp:524
#25 0x46280bc3 in QObject::event (this=0x9754310, e=0x9a08cb8) at kernel/qobject.cpp:1194
#26 0x46b97bba in QWidget::event (this=0x9754310, event=0x9a08cb8) at kernel/qwidget.cpp:8846
#27 0x46fcbfac in QMainWindow::event (this=0x9754310, event=0x9a08cb8) at widgets/qmainwindow.cpp:1478
#28 0x47ab0c7c in KMainWindow::event (this=0x9754310, ev=0x9a08cb8) at /usr/src/debug/kdelibs-4.10.5/kdeui/widgets/kmainwindow.cpp:1084
#29 0x47af9173 in KXmlGuiWindow::event (this=0x9754310, ev=0x9a08cb8) at /usr/src/debug/kdelibs-4.10.5/kdeui/xmlgui/kxmlguiwindow.cpp:126
#30 0x46b3e10c in QApplicationPrivate::notify_helper (this=0x95aa248, receiver=0x9754310, e=0x9a08cb8) at kernel/qapplication.cpp:4562
#31 0x46b42c75 in QApplication::notify (this=0x95aa248, receiver=0x9754310, e=0x9a08cb8) at kernel/qapplication.cpp:4423
#32 0x479d8352 in KApplication::notify (this=0xbfee8d34, receiver=0x9754310, event=0x9a08cb8) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311
#33 0x4626a33e in QCoreApplication::notifyInternal (this=0xbfee8d34, receiver=0x9754310, event=0x9a08cb8) at kernel/qcoreapplication.cpp:949
#34 0x4626e4a5 in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x95869c0) at kernel/qcoreapplication.cpp:1573
#36 0x4626e72d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1466
#37 0x4629cf75 in sendPostedEvents () at kernel/qcoreapplication.h:236
#38 postEventSourceDispatch (s=s@entry=0x95a76a0) at kernel/qeventdispatcher_glib.cpp:280
#39 0x454a215b in g_main_dispatch (context=0x95aa888, context@entry=0x9697f38) at gmain.c:2715
#40 g_main_context_dispatch (context=context@entry=0x95aa888) at gmain.c:3219
#41 0x454a2500 in g_main_context_iterate (context=context@entry=0x95aa888, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290
#42 0x454a25e2 in g_main_context_iteration (context=0x95aa888, may_block=1) at gmain.c:3351
#43 0x4629d102 in QEventDispatcherGlib::processEvents (this=0x958ab18, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#44 0x46bf09eb in QGuiEventDispatcherGlib::processEvents (this=0x958ab18, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#45 0x46268d2d in QEventLoop::processEvents (this=this@entry=0xbfee8c48, flags=...) at kernel/qeventloop.cpp:149
#46 0x46269029 in QEventLoop::exec (this=0xbfee8c48, flags=...) at kernel/qeventloop.cpp:204
#47 0x4626e7db in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#48 0x46b3bf85 in QApplication::exec () at kernel/qapplication.cpp:3823
#49 0x0804e416 in main (argc=6, argv=0xbfee8f24) at /usr/src/debug/okular-4.10.5/shell/main.cpp:94

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb7703780 (LWP 20251))]

Thread 2 (Thread 0xb51f4b40 (LWP 20253)):
#0  0xb7740424 in __kernel_vsyscall ()
#1  0x4523ebdb in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0x454b132c in poll (__timeout=-1, __nfds=5, __fds=0xb4802330) at /usr/include/bits/poll2.h:46
#3  g_poll (fds=0xb4802330, nfds=5, timeout=-1) at gpoll.c:132
#4  0x454a2480 in g_main_context_poll (priority=2147483647, n_fds=5, fds=0xb4802330, timeout=<optimized out>, context=0x9655c60) at gmain.c:3584
#5  g_main_context_iterate (context=0x9655c60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3285
#6  0x454a2963 in g_main_loop_run (loop=0x9655c28) at gmain.c:3484
#7  0x45e58feb in gdbus_shared_thread_func (user_data=0x9655c48) at gdbusprivate.c:277
#8  0x454c8644 in g_thread_proxy (data=0x96939b0) at gthread.c:797
#9  0x45354aff in start_thread (arg=0xb51f4b40) at pthread_create.c:308
#10 0x452490ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:132

Thread 1 (Thread 0xb7703780 (LWP 20251)):
[KCrash Handler]
#7  0xb0563716 in Poppler::MediaRendition::isValid (this=this@entry=0x9b83330) at poppler-media.cc:58
#8  0xb0563853 in Poppler::MediaRendition::isEmbedded (this=0x9b83330) at poppler-media.cc:80
#9  0xb05b7685 in createMovieFromPopplerScreen (popplerScreen=0x9b82b68) at /usr/src/debug/okular-4.10.5/generators/poppler/generator_pdf.cpp:198
#10 0xb05c3ff7 in createAnnotationFromPopplerAnnotation (ann=0x9b82ac8, doDelete=0xbfee7b57) at /usr/src/debug/okular-4.10.5/generators/poppler/annots.cpp:334
#11 0xb05bbe2d in PDFGenerator::addAnnotations (this=this@entry=0x9a37d08, popplerPage=popplerPage@entry=0x9a72718, page=page@entry=0x9b82538) at /usr/src/debug/okular-4.10.5/generators/poppler/generator_pdf.cpp:1462
#12 0xb05bc483 in PDFGenerator::loadPages (this=this@entry=0x9a37d08, pagesVector=..., rotation=rotation@entry=0, clear=clear@entry=false) at /usr/src/debug/okular-4.10.5/generators/poppler/generator_pdf.cpp:639
#13 0xb05bcd22 in PDFGenerator::init (this=this@entry=0x9a37d08, pagesVector=..., walletKey=...) at /usr/src/debug/okular-4.10.5/generators/poppler/generator_pdf.cpp:572
#14 0xb05bf13e in PDFGenerator::loadDocument (this=0x9a37d08, filePath=..., pagesVector=...) at /usr/src/debug/okular-4.10.5/generators/poppler/generator_pdf.cpp:466
#15 0xb290abe0 in Okular::DocumentPrivate::openDocumentInternal (this=0x97c1dd8, offer=..., isstdin=false, docFile=..., filedata=...) at /usr/src/debug/okular-4.10.5/core/document.cpp:819
#16 0xb2913a66 in Okular::Document::openDocument (this=0x97aa160, docFile=..., url=..., _mime=...) at /usr/src/debug/okular-4.10.5/core/document.cpp:1907
#17 0xb29d724b in Okular::Part::openFile (this=0x97658e8) at /usr/src/debug/okular-4.10.5/part.cpp:1214
#18 0x483c77a6 in KParts::ReadOnlyPartPrivate::openLocalFile (this=this@entry=0x9765a98) at /usr/src/debug/kdelibs-4.10.5/kparts/part.cpp:591
#19 0x483c7e97 in KParts::ReadOnlyPart::openUrl (this=0x97658e8, url=...) at /usr/src/debug/kdelibs-4.10.5/kparts/part.cpp:555
#20 0xb29c8333 in openUrl (_url=..., this=0x97658e8) at /usr/src/debug/okular-4.10.5/part.cpp:1359
#21 Okular::Part::openUrl (this=0x97658e8, _url=...) at /usr/src/debug/okular-4.10.5/part.cpp:1330
#22 0x0805103c in Shell::openUrl (this=this@entry=0x9754310, url=...) at /usr/src/debug/okular-4.10.5/shell/shell.cpp:179
#23 0x08051249 in Shell::delayedOpen (this=0x9754310) at /usr/src/debug/okular-4.10.5/shell/shell.cpp:138
#24 0x4627c55b in QMetaCallEvent::placeMetaCall (this=0x9a08cb8, object=0x9754310) at kernel/qobject.cpp:524
#25 0x46280bc3 in QObject::event (this=0x9754310, e=0x9a08cb8) at kernel/qobject.cpp:1194
#26 0x46b97bba in QWidget::event (this=0x9754310, event=0x9a08cb8) at kernel/qwidget.cpp:8846
#27 0x46fcbfac in QMainWindow::event (this=0x9754310, event=0x9a08cb8) at widgets/qmainwindow.cpp:1478
#28 0x47ab0c7c in KMainWindow::event (this=0x9754310, ev=0x9a08cb8) at /usr/src/debug/kdelibs-4.10.5/kdeui/widgets/kmainwindow.cpp:1084
#29 0x47af9173 in KXmlGuiWindow::event (this=0x9754310, ev=0x9a08cb8) at /usr/src/debug/kdelibs-4.10.5/kdeui/xmlgui/kxmlguiwindow.cpp:126
#30 0x46b3e10c in QApplicationPrivate::notify_helper (this=0x95aa248, receiver=0x9754310, e=0x9a08cb8) at kernel/qapplication.cpp:4562
#31 0x46b42c75 in QApplication::notify (this=0x95aa248, receiver=0x9754310, e=0x9a08cb8) at kernel/qapplication.cpp:4423
#32 0x479d8352 in KApplication::notify (this=0xbfee8d34, receiver=0x9754310, event=0x9a08cb8) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311
#33 0x4626a33e in QCoreApplication::notifyInternal (this=0xbfee8d34, receiver=0x9754310, event=0x9a08cb8) at kernel/qcoreapplication.cpp:949
#34 0x4626e4a5 in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x95869c0) at kernel/qcoreapplication.cpp:1573
#36 0x4626e72d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1466
#37 0x4629cf75 in sendPostedEvents () at kernel/qcoreapplication.h:236
#38 postEventSourceDispatch (s=s@entry=0x95a76a0) at kernel/qeventdispatcher_glib.cpp:280
#39 0x454a215b in g_main_dispatch (context=0x95aa888, context@entry=0x9697f38) at gmain.c:2715
#40 g_main_context_dispatch (context=context@entry=0x95aa888) at gmain.c:3219
#41 0x454a2500 in g_main_context_iterate (context=context@entry=0x95aa888, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290
#42 0x454a25e2 in g_main_context_iteration (context=0x95aa888, may_block=1) at gmain.c:3351
#43 0x4629d102 in QEventDispatcherGlib::processEvents (this=0x958ab18, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#44 0x46bf09eb in QGuiEventDispatcherGlib::processEvents (this=0x958ab18, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#45 0x46268d2d in QEventLoop::processEvents (this=this@entry=0xbfee8c48, flags=...) at kernel/qeventloop.cpp:149
#46 0x46269029 in QEventLoop::exec (this=0xbfee8c48, flags=...) at kernel/qeventloop.cpp:204
#47 0x4626e7db in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#48 0x46b3bf85 in QApplication::exec () at kernel/qapplication.cpp:3823
#49 0x0804e416 in main (argc=6, argv=0xbfee8f24) at /usr/src/debug/okular-4.10.5/shell/main.cpp:94

Reported using DrKonqi
Comment 1 Fabio D'Urso 2013-09-10 13:36:04 UTC
Thank you for the bug report. Can you attach the pdf document please?
Comment 2 Christoph Feck 2013-09-20 21:52:05 UTC
If you can provide the information requested in comment #1, please add it.
Comment 3 Christoph Feck 2013-10-12 18:09:04 UTC
To further investigate this issue, KDE developers need the information requested in comment #1. If you can provide it, or need help with finding that information, please add a comment.
Comment 4 Christoph Feck 2013-10-23 15:43:38 UTC
No response, changing status. Please reopen, if you have more information.