Application: okular (0.15.70) KDE Platform Version: 4.8.97 (Compiled from sources) Qt Version: 4.8.2 Operating System: Linux 3.4.4-1.1-desktop i686 Distribution: "openSUSE 12.2 (i586)" -- Information about the crash: - What I was doing when the application crashed: The PDF loads and gets displayed. A moment later, I got this crash without any interaction. Got the PDF from http://www.google.com/url?q=http://www.stanford.edu/class/ee398a/handouts/papers/Meyr%2520-%2520Run-Length%2520Codes%2520-%2520TC74.pdf&sa=U&ei=e_QPUM6kEfDa4QS7n4HwDQ&ved=0CCgQFjAI&usg=AFQjCNEfCNvo2lqk1a26zaDrLKYHnlLntw 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 0xb4a54740 (LWP 19473))] Thread 3 (Thread 0xb1eaab40 (LWP 19474)): [KCrash Handler] #7 0xb5abc385 in ?? () from /usr/lib/libQtDBus.so.4 #8 0xb5abc77b in ?? () from /usr/lib/libQtDBus.so.4 #9 0xb5c9ec6d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #10 0xb5cae9b3 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #11 0xb5caf0f5 in QObject::destroyed(QObject*) () from /usr/lib/libQtCore.so.4 #12 0xb5cb203f in QObject::~QObject() () from /usr/lib/libQtCore.so.4 #13 0xb5abbdc6 in QDBusAbstractAdaptor::~QDBusAbstractAdaptor() () from /usr/lib/libQtDBus.so.4 #14 0xb75a9052 in KBookmarkManagerAdaptor::~KBookmarkManagerAdaptor (this=0x8b55380, __in_chrg=<optimized out>) at /local/git/KDE/libs/kdelibs/kio/bookmarks/kbookmarkmanageradaptor_p.h:27 #15 0xb75a908d in KBookmarkManagerAdaptor::~KBookmarkManagerAdaptor (this=0x8b55380, __in_chrg=<optimized out>) at /local/git/KDE/libs/kdelibs/kio/bookmarks/kbookmarkmanageradaptor_p.h:27 #16 0xb5cacce1 in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4 #17 0xb5cb2531 in QObject::~QObject() () from /usr/lib/libQtCore.so.4 #18 0xb75a4963 in KBookmarkManager::~KBookmarkManager (this=0x8b56490, __in_chrg=<optimized out>) at /local/git/KDE/libs/kdelibs/kio/bookmarks/kbookmarkmanager.cc:308 #19 0xb75a499d in KBookmarkManager::~KBookmarkManager (this=0x8b56490, __in_chrg=<optimized out>) at /local/git/KDE/libs/kdelibs/kio/bookmarks/kbookmarkmanager.cc:315 #20 0xb75a7b4d in qDeleteAll<QList<KBookmarkManager*>::iterator> (begin=..., end=...) at /usr/include/QtCore/qalgorithms.h:322 #21 0xb75a7804 in KBookmarkManagerList::~KBookmarkManagerList (this=0x8b81638, __in_chrg=<optimized out>) at /local/git/KDE/libs/kdelibs/kio/bookmarks/kbookmarkmanager.cc:53 #22 0xb75a392b in destroy () at /local/git/KDE/libs/kdelibs/kio/bookmarks/kbookmarkmanager.cc:59 #23 0xb74bc87d in KCleanUpGlobalStatic::~KCleanUpGlobalStatic (this=0xb76e7cac <._229::operator->()::cleanUpObject>, __in_chrg=<optimized out>) at /local/git/KDE/libs/kdelibs/kdecore/kernel/kglobal.h:62 #24 0xb56d5381 in __run_exit_handlers () from /lib/libc.so.6 #25 0xb56d540d in exit () from /lib/libc.so.6 #26 0xb23f086d in gmallocn () from /usr/lib/libpoppler.so.25 #27 0xb241bf69 in SplashBitmap::SplashBitmap(int, int, int, SplashColorMode, bool, bool) () from /usr/lib/libpoppler.so.25 #28 0xb241220b in Splash::scaleImage(bool (*)(void*, unsigned char*, unsigned char*), void*, SplashColorMode, int, bool, int, int, int, int) () from /usr/lib/libpoppler.so.25 #29 0xb24130d3 in Splash::arbitraryTransformImage(bool (*)(void*, unsigned char*, unsigned char*), void*, SplashColorMode, int, bool, int, int, double*) () from /usr/lib/libpoppler.so.25 #30 0xb2415c29 in Splash::drawImage(bool (*)(void*, unsigned char*, unsigned char*), void*, SplashColorMode, bool, int, int, double*) () from /usr/lib/libpoppler.so.25 #31 0xb23248bd in SplashOutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, int*, bool) () from /usr/lib/libpoppler.so.25 #32 0xb236ccc0 in Gfx::doImage(Object*, Stream*, bool) () from /usr/lib/libpoppler.so.25 #33 0xb236db41 in Gfx::opXObject(Object*, int) () from /usr/lib/libpoppler.so.25 #34 0xb23622b6 in Gfx::execOp(Object*, Object*, int) () from /usr/lib/libpoppler.so.25 #35 0xb23694ff in Gfx::go(bool) () from /usr/lib/libpoppler.so.25 #36 0xb23699f5 in Gfx::display(Object*, bool) () from /usr/lib/libpoppler.so.25 #37 0xb23aee5b in Page::displaySlice(OutputDev*, double, double, int, bool, bool, int, int, int, int, bool, bool (*)(void*), void*, bool (*)(Annot*, void*), void*) () from /usr/lib/libpoppler.so.25 #38 0xb23b558c in PDFDoc::displayPageSlice(OutputDev*, int, double, double, int, bool, bool, bool, int, int, int, int, bool (*)(void*), void*, bool (*)(Annot*, void*), void*) () from /usr/lib/libpoppler.so.25 #39 0xb24e6fea in Poppler::Page::renderToImage(double, double, int, int, int, int, Poppler::Page::Rotation) const () from /usr/lib/libpoppler-qt4.so.4 #40 0xb2546e8a in PDFGenerator::image (this=0x8cd8340, request=0x8bf2ee8) at /local/git/KDE/graphics/okular/generators/poppler/generator_pdf.cpp:878 #41 0xb37d5069 in Okular::PixmapGenerationThread::run (this=0x8d34378) at /local/git/KDE/graphics/okular/core/generator_p.cpp:64 #42 0xb5b83290 in ?? () from /usr/lib/libQtCore.so.4 #43 0xb5b00e32 in start_thread () from /lib/libpthread.so.0 #44 0xb578e96e in clone () from /lib/libc.so.6 Thread 2 (Thread 0xb16a9b40 (LWP 19475)): #0 0xb7747424 in __kernel_vsyscall () #1 0xb578afd7 in syscall () from /lib/libc.so.6 #2 0xb5b81ad8 in ?? () from /usr/lib/libQtCore.so.4 #3 0xb5b7d16c in QMutex::lockInternal() () from /usr/lib/libQtCore.so.4 #4 0xb5b7d460 in QMutex::lock() () from /usr/lib/libQtCore.so.4 #5 0xb254730d in PDFGenerator::textPage (this=0x8cd8340, page=0x8cf8960) at /local/git/KDE/graphics/okular/generators/poppler/generator_pdf.cpp:959 #6 0xb37d51b2 in Okular::TextPageGenerationThread::run (this=0x8d342e8) at /local/git/KDE/graphics/okular/core/generator_p.cpp:103 #7 0xb5b83290 in ?? () from /usr/lib/libQtCore.so.4 #8 0xb5b00e32 in start_thread () from /lib/libpthread.so.0 #9 0xb578e96e in clone () from /lib/libc.so.6 Thread 1 (Thread 0xb4a54740 (LWP 19473)): #0 0xb7747424 in __kernel_vsyscall () #1 0xb578396b in poll () from /lib/libc.so.6 #2 0xb4c54490 in ?? () from /usr/lib/libxcb.so.1 #3 0xb4c54a9c in ?? () from /usr/lib/libxcb.so.1 #4 0xb4c54b51 in xcb_writev () from /usr/lib/libxcb.so.1 #5 0xb5513918 in _XSend () from /usr/lib/libX11.so.6 #6 0xb5513f1a in _XReply () from /usr/lib/libX11.so.6 #7 0xb5509443 in XQueryPointer () from /usr/lib/libX11.so.6 #8 0xb63410cb in QCursor::pos() () from /usr/lib/libQtGui.so.4 #9 0xb62af7ac in QApplicationPrivate::sendSyntheticEnterLeave(QWidget*) () from /usr/lib/libQtGui.so.4 #10 0xb630bbf6 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4 #11 0xb67ba24f in QAbstractScrollAreaPrivate::layoutChildren() () from /usr/lib/libQtGui.so.4 #12 0xb67bb92b in QAbstractScrollAreaPrivate::_q_showOrHideScrollBars() () from /usr/lib/libQtGui.so.4 #13 0xb67bb9ab in ?? () from /usr/lib/libQtGui.so.4 #14 0xb5ca9bc1 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4 #15 0xb5cb2d2b in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4 #16 0xb6308482 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #17 0xb6725cd5 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4 #18 0xb67bb2d4 in QAbstractScrollArea::event(QEvent*) () from /usr/lib/libQtGui.so.4 #19 0xb62ae404 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #20 0xb62b37ea in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #21 0xb6e51172 in KApplication::notify (this=0xbfd22984, receiver=0x8c06310, event=0x8bf14b8) at /local/git/KDE/libs/kdelibs/kdeui/kernel/kapplication.cpp:311 #22 0xb5c97dce in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #23 0xb5c9ba48 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4 #24 0xb5c9bd7c in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4 #25 0xb5cca6f4 in ?? () from /usr/lib/libQtCore.so.4 #26 0xb4ecd843 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #27 0xb4ecdbe0 in ?? () from /usr/lib/libglib-2.0.so.0 #28 0xb4ecdcc1 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #29 0xb5ccaae7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #30 0xb636240a in ?? () from /usr/lib/libQtGui.so.4 #31 0xb5c9664d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #32 0xb5c968e9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #33 0xb5c9be2a in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #34 0xb62ac2a4 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #35 0x0804f457 in main (argc=2, argv=0xbfd22ab4) at /local/git/KDE/graphics/okular/shell/main.cpp:85 Reported using DrKonqi
Created attachment 72756 [details] The PDF (compressed using XZ/LZMA because of file size limit)
On Konsole, I get this error: Bogus memory allocation size
Yes, it's poppler going out of memory. Reported upstream: https://bugs.freedesktop.org/show_bug.cgi?id=52487 Thank you for caring about Okular
(In reply to comment #3) > Reported upstream: https://bugs.freedesktop.org/show_bug.cgi?id=52487 I hadn't noticed it had already been fixed. The document correctly loads with poppler from git (the fix will be available in poppler 0.20.3)