Bug 185258 - okular crashes with several PDF documents
Summary: okular crashes with several PDF documents
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: unspecified
Platform: openSUSE Unspecified
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-22 17:54 UTC by Stefan Majewsky
Modified: 2009-02-22 21:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Majewsky 2009-02-22 17:54:35 UTC
Version:            (using KDE 4.2.0)
Installed from:    SuSE RPMs

Since about the release of 4.2.0, Okular crashes with several documents, for example the latest quarterly report of KDE e.V. which is available at http://ev.kde.org/reports/ev-quarterly-2008Q1-Q2.pdf

Poppler version is 0.10.1, and the backtrace is:

Anwendung: Okular (okular), Signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]

Thread 1 (Thread 0xb60bf6d0 (LWP 27126)):
[KCrash Handler]
#6  0xb27140c6 in Poppler::convertAnnotColor () from /usr/lib/libpoppler-qt4.so.3
#7  0xb2706edd in Poppler::Page::annotations () from /usr/lib/libpoppler-qt4.so.3
#8  0xb2788cf6 in PDFGenerator::addAnnotations (this=0x822a838, popplerPage=0x8280068, page=0x827d908) at /usr/src/debug/kdegraphics-4.2.0/okular/generators/poppler/generator_pdf.cpp:1262
#9  0xb278d35d in PDFGenerator::loadPages (this=0x822a838, pagesVector=@0x81076b4, rotation=0, clear=false) at /usr/src/debug/kdegraphics-4.2.0/okular/generators/poppler/generator_pdf.cpp:462
#10 0xb278ee84 in PDFGenerator::init (this=0x822a838, pagesVector=@0x81076b4, walletKey=@0xbff1879c) at /usr/src/debug/kdegraphics-4.2.0/okular/generators/poppler/generator_pdf.cpp:410
#11 0xb278f0cf in PDFGenerator::loadDocument (this=0x822a838, filePath=@0xbff18bd8, pagesVector=@0x81076b4) at /usr/src/debug/kdegraphics-4.2.0/okular/generators/poppler/generator_pdf.cpp:312
#12 0xb494f8a1 in Okular::DocumentPrivate::openDocumentInternal (this=0x8107600, offer=@0xbff18990, isstdin=false, docFile=@0xbff18bd8, filedata=@0xbff18a10)
    at /usr/src/debug/kdegraphics-4.2.0/okular/core/document.cpp:643
#13 0xb49577a1 in Okular::Document::openDocument (this=0x8109388, docFile=@0xbff18bd8, url=@0xbff18b4c, _mime=@0xbff18bf8) at /usr/src/debug/kdegraphics-4.2.0/okular/core/document.cpp:1593
#14 0xb4a048dc in Part::openFile (this=0x80dcfd8) at /usr/src/debug/kdegraphics-4.2.0/okular/part.cpp:874
#15 0xb7eb3aee in KParts::ReadOnlyPartPrivate::_k_slotJobFinished (this=0x80dd128, job=0x8175978) at /usr/src/debug/kdelibs-4.2.0/kparts/part.cpp:637
#16 0xb7eb3d4a in KParts::ReadOnlyPart::qt_metacall (this=0x80dcfd8, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbff18d7c) at /usr/src/debug/kdelibs-4.2.0/build/kparts/part.moc:162
#17 0xb4a0e1fa in Part::qt_metacall (this=0x80dcfd8, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbff18d7c) at /usr/src/debug/kdegraphics-4.2.0/build/okular/part.moc:162
#18 0xb741d740 in QMetaObject::activate (sender=0x8175978, from_signal_index=7, to_signal_index=7, argv=0xbff18d7c) at kernel/qobject.cpp:3031
#19 0xb741e4c2 in QMetaObject::activate (sender=0x8175978, m=0xb7767f08, local_signal_index=3, argv=0xbff18d7c) at kernel/qobject.cpp:3101
#20 0xb7622d23 in KJob::result (this=0x8175978, _t1=0x8175978) at /usr/src/debug/kdelibs-4.2.0/build/kdecore/kjob.moc:186
#21 0xb76231c9 in KJob::emitResult (this=0x8175978) at /usr/src/debug/kdelibs-4.2.0/kdecore/jobs/kjob.cpp:294
#22 0xb7d0b208 in KIO::FileCopyJob::slotResult (this=0x8175978, job=0x8117ef8) at /usr/src/debug/kdelibs-4.2.0/kio/kio/job.cpp:2219
#23 0xb7d0e8bf in KIO::FileCopyJob::qt_metacall (this=0x8175978, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbff18ecc) at /usr/src/debug/kdelibs-4.2.0/build/kio/jobclasses.moc:658
#24 0xb741d740 in QMetaObject::activate (sender=0x8117ef8, from_signal_index=7, to_signal_index=7, argv=0xbff18ecc) at kernel/qobject.cpp:3031
#25 0xb741e4c2 in QMetaObject::activate (sender=0x8117ef8, m=0xb7767f08, local_signal_index=3, argv=0xbff18ecc) at kernel/qobject.cpp:3101
#26 0xb7622d23 in KJob::result (this=0x8117ef8, _t1=0x8117ef8) at /usr/src/debug/kdelibs-4.2.0/build/kdecore/kjob.moc:186
#27 0xb76231c9 in KJob::emitResult (this=0x8117ef8) at /usr/src/debug/kdelibs-4.2.0/kdecore/jobs/kjob.cpp:294
#28 0xb7d09e75 in KIO::SimpleJob::slotFinished (this=0x8117ef8) at /usr/src/debug/kdelibs-4.2.0/kio/kio/job.cpp:489
#29 0xb7d0b443 in KIO::TransferJob::slotFinished (this=0x8117ef8) at /usr/src/debug/kdelibs-4.2.0/kio/kio/job.cpp:966
#30 0xb7d0c4cb in KIO::TransferJob::qt_metacall (this=0x8117ef8, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbff19108) at /usr/src/debug/kdelibs-4.2.0/build/kio/jobclasses.moc:336
#31 0xb741d740 in QMetaObject::activate (sender=0x81c8c30, from_signal_index=8, to_signal_index=8, argv=0x0) at kernel/qobject.cpp:3031
#32 0xb741e4c2 in QMetaObject::activate (sender=0x81c8c30, m=0xb7e93e44, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3101
#33 0xb7dbafd7 in KIO::SlaveInterface::finished (this=0x81c8c30) at /usr/src/debug/kdelibs-4.2.0/build/kio/slaveinterface.moc:163
#34 0xb7dbdc1f in KIO::SlaveInterface::dispatch (this=0x81c8c30, _cmd=104, rawdata=@0xbff192a4) at /usr/src/debug/kdelibs-4.2.0/kio/kio/slaveinterface.cpp:175
#35 0xb7dbb5d7 in KIO::SlaveInterface::dispatch (this=0x81c8c30) at /usr/src/debug/kdelibs-4.2.0/kio/kio/slaveinterface.cpp:91
#36 0xb7dade70 in KIO::Slave::gotInput (this=0x81c8c30) at /usr/src/debug/kdelibs-4.2.0/kio/kio/slave.cpp:322
#37 0xb7dae1e3 in KIO::Slave::qt_metacall (this=0x81c8c30, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbff19398) at /usr/src/debug/kdelibs-4.2.0/build/kio/slave.moc:75
#38 0xb741d740 in QMetaObject::activate (sender=0x8131808, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3031
#39 0xb741e4c2 in QMetaObject::activate (sender=0x8131808, m=0xb7e90920, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3101
#40 0xb7cd73a7 in KIO::Connection::readyRead (this=0x8131808) at /usr/src/debug/kdelibs-4.2.0/build/kio/connection.moc:84
#41 0xb7cd8de2 in KIO::ConnectionPrivate::dequeue (this=0x8121de8) at /usr/src/debug/kdelibs-4.2.0/kio/kio/connection.cpp:82
#42 0xb7cd9436 in KIO::Connection::qt_metacall (this=0x8131808, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x82179b8) at /usr/src/debug/kdelibs-4.2.0/build/kio/connection.moc:72
#43 0xb741688b in QMetaCallEvent::placeMetaCall (this=0x82414d0, object=0x8131808) at kernel/qobject.cpp:529
#44 0xb7418449 in QObject::event (this=0x8131808, e=0x82414d0) at kernel/qobject.cpp:1155
#45 0xb6aef82c in QApplicationPrivate::notify_helper (this=0x8062800, receiver=0x8131808, e=0x82414d0) at kernel/qapplication.cpp:3803
#46 0xb6af76ce in QApplication::notify (this=0xbff19bcc, receiver=0x8131808, e=0x82414d0) at kernel/qapplication.cpp:3393
#47 0xb79714ed in KApplication::notify (this=0xbff19bcc, receiver=0x8131808, event=0x82414d0) at /usr/src/debug/kdelibs-4.2.0/kdeui/kernel/kapplication.cpp:307
#48 0xb7408a71 in QCoreApplication::notifyInternal (this=0xbff19bcc, receiver=0x8131808, event=0x82414d0) at kernel/qcoreapplication.cpp:587
#49 0xb74096e5 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x80552f0) at kernel/qcoreapplication.h:209
#50 0xb74098dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1091
#51 0xb74335bf in postEventSourceDispatch (s=0x8064b20) at kernel/qcoreapplication.h:214
#52 0xb640c2d9 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#53 0xb640f85b in ?? () from /usr/lib/libglib-2.0.so.0
#54 0xb640f9d8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#55 0xb7433208 in QEventDispatcherGlib::processEvents (this=0x8061f48, flags={i = -1074685352}) at kernel/qeventdispatcher_glib.cpp:319
#56 0xb6b888c5 in QGuiEventDispatcherGlib::processEvents (this=0x8061f48, flags={i = -1074685304}) at kernel/qguieventdispatcher_glib.cpp:198
#57 0xb740714a in QEventLoop::processEvents (this=0xbff19b00, flags={i = -1074685240}) at kernel/qeventloop.cpp:143
#58 0xb740730a in QEventLoop::exec (this=0xbff19b00, flags={i = -1074685176}) at kernel/qeventloop.cpp:194
#59 0xb74099a5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#60 0xb6aef6a7 in QApplication::exec () at kernel/qapplication.cpp:3331
#61 0x0804e487 in main (argc=136825536, argv=0xb68ac140) at /usr/src/debug/kdegraphics-4.2.0/okular/shell/main.cpp:81
Comment 1 Pino Toscano 2009-02-22 18:12:58 UTC
Hi Stefan,

looks like the problem is in Poppler, the library we use to read and render PDF documents.
Could you please try updating Poppler to a more recent version (like 0.10.3) and see whether it fixes the issue?
In case it is still there, can you please report the problem for Poppler, at https://bugs.freedesktop.org, "poppler" product?

Thanks!
Comment 2 Stefan Majewsky 2009-02-22 21:33:25 UTC
I installed libpoppler 0.10.3 from an external repository, but that did not help.

https://bugs.freedesktop.org/show_bug.cgi?id=19669 seems to be the same problem, but their problem was solved through rebuilding some Ubuntu packages, which is not a viable solution for me as an openSUSE user. ;-)