[Okular-devel] [okular] [Bug 324731] New: opening an pdf document, it crash
tim ling
haoling.geeker at gmail.com
Tue Sep 10 01:13:28 UTC 2013
https://bugs.kde.org/show_bug.cgi?id=324731
Bug ID: 324731
Summary: opening an pdf document, it crash
Classification: Unclassified
Product: okular
Version: 0.16.5
Platform: Fedora RPMs
OS: Linux
Status: UNCONFIRMED
Keywords: drkonqi
Severity: crash
Priority: NOR
Component: general
Assignee: okular-devel at kde.org
Reporter: haoling.geeker at gmail.com
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 at entry=1,
dispatch=dispatch at 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 at 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 at entry=0x9a37d08,
popplerPage=popplerPage at entry=0x9a72718, page=page at entry=0x9b82538) at
/usr/src/debug/okular-4.10.5/generators/poppler/generator_pdf.cpp:1462
#12 0xb05bc483 in PDFGenerator::loadPages (this=this at entry=0x9a37d08,
pagesVector=..., rotation=rotation at entry=0, clear=clear at entry=false) at
/usr/src/debug/okular-4.10.5/generators/poppler/generator_pdf.cpp:639
#13 0xb05bcd22 in PDFGenerator::init (this=this at 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 at 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 at 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 at entry=0x95a76a0) at
kernel/qeventdispatcher_glib.cpp:280
#39 0x454a215b in g_main_dispatch (context=0x95aa888, context at entry=0x9697f38)
at gmain.c:2715
#40 g_main_context_dispatch (context=context at entry=0x95aa888) at gmain.c:3219
#41 0x454a2500 in g_main_context_iterate (context=context at entry=0x95aa888,
block=block at entry=1, dispatch=dispatch at 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 at 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 at entry=1,
dispatch=dispatch at 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 at 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 at entry=0x9a37d08,
popplerPage=popplerPage at entry=0x9a72718, page=page at entry=0x9b82538) at
/usr/src/debug/okular-4.10.5/generators/poppler/generator_pdf.cpp:1462
#12 0xb05bc483 in PDFGenerator::loadPages (this=this at entry=0x9a37d08,
pagesVector=..., rotation=rotation at entry=0, clear=clear at entry=false) at
/usr/src/debug/okular-4.10.5/generators/poppler/generator_pdf.cpp:639
#13 0xb05bcd22 in PDFGenerator::init (this=this at 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 at 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 at 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 at entry=0x95a76a0) at
kernel/qeventdispatcher_glib.cpp:280
#39 0x454a215b in g_main_dispatch (context=0x95aa888, context at entry=0x9697f38)
at gmain.c:2715
#40 g_main_context_dispatch (context=context at entry=0x95aa888) at gmain.c:3219
#41 0x454a2500 in g_main_context_iterate (context=context at entry=0x95aa888,
block=block at entry=1, dispatch=dispatch at 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 at 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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list