Version: (using KDE 4.1.1) OS: Linux Installed from: Debian testing/unstable Packages Clicking on this link from within Konqueror brings up the dialog where I am prompted to open with okular. I click on "Open with okular" and okular crashes. KDE 4:4.1 packages are from Debian's experimental repository. Backtrace follows: Application: Okular (okular), signal SIGABRT [Thread debugging using libthread_db enabled] [New Thread 0xb627b960 (LWP 7014)] [KCrash handler] #6 0xffffe424 in __kernel_vsyscall () #7 0xb6b36640 in raise () from /lib/i686/cmov/libc.so.6 #8 0xb6b38018 in abort () from /lib/i686/cmov/libc.so.6 #9 0xb6b7334d in __libc_message () from /lib/i686/cmov/libc.so.6 #10 0xb6b7c126 in _int_malloc () from /lib/i686/cmov/libc.so.6 #11 0xb6b7d525 in malloc () from /lib/i686/cmov/libc.so.6 #12 0xb6dc7b2d in qMalloc (size=22) at global/qmalloc.cpp:57 #13 0xb6e0e92e in QString (this=0xbf8e88ec, ch={ucs = 47}) at tools/qstring.cpp:873 #14 0xb303a554 in PDFGenerator::loadDocument (this=0x840a330, filePath=@0xbf8e8cf8, pagesVector=@0x8291400) at /usr/include/qt4/QtCore/qstring.h:733 #15 0xb48417f4 in Okular::Document::openDocument (this=0x8284558, docFile=@0xbf8e8cf8, url=@0xbf8e8c78, _mime=@0xbf8e8d18) at /tmp/buildd/kdegraphics-4.1.1/okular/core/document.cpp:1472 #16 0xb48c7b07 in Part::openFile (this=0x824d588) at /tmp/buildd/kdegraphics-4.1.1/okular/part.cpp:839 #17 0xb78acabd in KParts::ReadOnlyPartPrivate::_k_slotJobFinished ( this=0x824d6c0, job=0x836a060) at /tmp/buildd/kde4libs-4.1.1/kparts/part.cpp:636 #18 0xb78ad3fa in KParts::ReadOnlyPart::qt_metacall (this=0x824d588, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbf8e8ebc) at /tmp/buildd/kde4libs-4.1.1/obj-i486-linux-gnu/kparts/part.moc:162 #19 0xb48d0bfa in Part::qt_metacall (this=0x824d588, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbf8e8ebc) at /tmp/buildd/kdegraphics-4.1.1/obj-i486-linux-gnu/okular/part.moc:161 #20 0xb6ed10c0 in QMetaObject::activate (sender=0x836a060, from_signal_index=7, to_signal_index=7, argv=0xbf8e8ebc) at kernel/qobject.cpp:3010 #21 0xb6ed1e42 in QMetaObject::activate (sender=0x836a060, m=0xb7ae28a8, local_signal_index=3, argv=0xbf8e8ebc) at kernel/qobject.cpp:3080 #22 0xb79a9c83 in KJob::result (this=0x836a060, _t1=0x836a060) at /tmp/buildd/kde4libs-4.1.1/obj-i486-linux-gnu/kdecore/kjob.moc:186 #23 0xb79aa192 in KJob::emitResult (this=0x836a060) at /tmp/buildd/kde4libs-4.1.1/kdecore/jobs/kjob.cpp:290 #24 0xb7f199a0 in KIO::FileCopyJob::slotResult (this=0x836a060, job=0x83ae8b0) at /tmp/buildd/kde4libs-4.1.1/kio/kio/job.cpp:2191 #25 0xb7f1da6f in KIO::FileCopyJob::qt_metacall (this=0x836a060, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbf8e900c) at /tmp/buildd/kde4libs-4.1.1/obj-i486-linux-gnu/kio/jobclasses.moc:658 #26 0xb6ed10c0 in QMetaObject::activate (sender=0x83ae8b0, from_signal_index=7, to_signal_index=7, argv=0xbf8e900c) at kernel/qobject.cpp:3010 #27 0xb6ed1e42 in QMetaObject::activate (sender=0x83ae8b0, m=0xb7ae28a8, local_signal_index=3, argv=0xbf8e900c) at kernel/qobject.cpp:3080 #28 0xb79a9c83 in KJob::result (this=0x83ae8b0, _t1=0x83ae8b0) at /tmp/buildd/kde4libs-4.1.1/obj-i486-linux-gnu/kdecore/kjob.moc:186 #29 0xb79aa192 in KJob::emitResult (this=0x83ae8b0) at /tmp/buildd/kde4libs-4.1.1/kdecore/jobs/kjob.cpp:290 #30 0xb7f13335 in KIO::SimpleJob::slotFinished (this=0x83ae8b0) at /tmp/buildd/kde4libs-4.1.1/kio/kio/job.cpp:498 #31 0xb7f169e3 in KIO::TransferJob::slotFinished (this=0x83ae8b0) at /tmp/buildd/kde4libs-4.1.1/kio/kio/job.cpp:967 #32 0xb7f177bb in KIO::TransferJob::qt_metacall (this=0x83ae8b0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbf8e9248) at /tmp/buildd/kde4libs-4.1.1/obj-i486-linux-gnu/kio/jobclasses.moc:336 #33 0xb6ed10c0 in QMetaObject::activate (sender=0x82879e8, from_signal_index=8, to_signal_index=8, argv=0x0) at kernel/qobject.cpp:3010 #34 0xb6ed1e42 in QMetaObject::activate (sender=0x82879e8, m=0xb80c3ce4, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3080 #35 0xb7fd83a7 in KIO::SlaveInterface::finished (this=0x82879e8) at /tmp/buildd/kde4libs-4.1.1/obj-i486-linux-gnu/kio/slaveinterface.moc:161 #36 0xb7fdc017 in KIO::SlaveInterface::dispatch (this=0x82879e8, _cmd=104, rawdata=@0xbf8e9414) at /tmp/buildd/kde4libs-4.1.1/kio/kio/slaveinterface.cpp:175 #37 0xb7fd8b27 in KIO::SlaveInterface::dispatch (this=0x82879e8) at /tmp/buildd/kde4libs-4.1.1/kio/kio/slaveinterface.cpp:90 #38 0xb7fc8b5d in KIO::Slave::gotInput (this=0x82879e8) at /tmp/buildd/kde4libs-4.1.1/kio/kio/slave.cpp:319 #39 0xb7fcb5a3 in KIO::Slave::qt_metacall (this=0x82879e8, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf8e9528) at /tmp/buildd/kde4libs-4.1.1/obj-i486-linux-gnu/kio/slave.moc:75 #40 0xb6ed10c0 in QMetaObject::activate (sender=0x83971a8, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3010 #41 0xb6ed1e42 in QMetaObject::activate (sender=0x83971a8, m=0xb80c0940, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3080 #42 0xb7eda6d7 in KIO::Connection::readyRead (this=0x83971a8) at /tmp/buildd/kde4libs-4.1.1/obj-i486-linux-gnu/kio/connection.moc:84 #43 0xb7edc799 in KIO::ConnectionPrivate::dequeue (this=0x83971c8) at /tmp/buildd/kde4libs-4.1.1/kio/kio/connection.cpp:82 #44 0xb7edc926 in KIO::Connection::qt_metacall (this=0x83971a8, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x828eb48) at /tmp/buildd/kde4libs-4.1.1/obj-i486-linux-gnu/kio/connection.moc:72 #45 0xb6eca23b in QMetaCallEvent::placeMetaCall (this=0x8288430, object=0x83971a8) at kernel/qobject.cpp:535 #46 0xb6ecbdf9 in QObject::event (this=0x83971a8, e=0x8288430) at kernel/qobject.cpp:1140 #47 0xb70db66c in QApplicationPrivate::notify_helper (this=0x8136e58, receiver=0x83971a8, e=0x8288430) at kernel/qapplication.cpp:3772 #48 0xb70e343e in QApplication::notify (this=0xbf8e9ce8, receiver=0x83971a8, e=0x8288430) at kernel/qapplication.cpp:3366 #49 0xb7cb797d in KApplication::notify (this=0xbf8e9ce8, receiver=0x83971a8, event=0x8288430) at /tmp/buildd/kde4libs-4.1.1/kdeui/kernel/kapplication.cpp:311 #50 0xb6ebc571 in QCoreApplication::notifyInternal (this=0xbf8e9ce8, receiver=0x83971a8, event=0x8288430) at kernel/qcoreapplication.cpp:587 #51 0xb6ebd1e5 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x812d6b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #52 0xb6ebd3fd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1091 #53 0xb6ee6f2f in postEventSourceDispatch (s=0x8139720) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #54 0xb65e42e1 in IA__g_main_context_dispatch (context=0x81396a0) at /tmp/buildd/glib2.0-2.16.5/glib/gmain.c:2012 #55 0xb65e7973 in g_main_context_iterate (context=0x81396a0, block=1, dispatch=1, self=0x8136f30) at /tmp/buildd/glib2.0-2.16.5/glib/gmain.c:2645 #56 0xb65e7b31 in IA__g_main_context_iteration (context=0x81396a0, may_block=1) at /tmp/buildd/glib2.0-2.16.5/glib/gmain.c:2708 #57 0xb6ee6b78 in QEventDispatcherGlib::processEvents (this=0x8136df8, flags= {i = -1081173000}) at kernel/qeventdispatcher_glib.cpp:325 #58 0xb7174415 in QGuiEventDispatcherGlib::processEvents (this=0x8136df8, flags={i = -1081172952}) at kernel/qguieventdispatcher_glib.cpp:204 #59 0xb6ebac5a in QEventLoop::processEvents (this=0xbf8e9ca0, flags= {i = -1081172888}) at kernel/qeventloop.cpp:149 #60 0xb6ebae1a in QEventLoop::exec (this=0xbf8e9ca0, flags={i = -1081172824}) at kernel/qeventloop.cpp:200 #61 0xb6ebd4c5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845 #62 0xb70db4e7 in QApplication::exec () at kernel/qapplication.cpp:3304 #63 0x0804e07f in main (argc=) at /tmp/buildd/kdegraphics-4.1.1/okular/shell/main.cpp:58 #0 0xffffe424 in __kernel_vsyscall ()
It also crashes if I run okular standalone on the same url. I tried running it in valgrind, and then okular does NOT crash.
Which poppler-qt4 version do you have? Can you post the valgrind log?
Seems to open fine with poppler-qt4 0.8.7.
Here: Okular Version 0.7.2 PDK Backend Version 0.1.1 poppler 0.8.6 poppler-qt 0.8.6 Using KDE 4.1.2 (KDE 4.1.2) (KDEmod) in ArchLinux i686: I can't reproduce this bug using Okular or Okular part inside Konqueror
Sorry for not responding earlier. The problem has also vanished on my side now. the version of libpoppler-qt4-3 is 0.8.7-1, btw. In my aptitude log I can see that libpoppler-qt4 was upgraded on my system from 0.8.2-2+lenny1 -> 0.8.7-1 between the time I reported the bug and now. Perhaps it was this that fixed it?