Bug 248442 - Okular Crashes
Summary: Okular Crashes
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.10.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-19 23:18 UTC by georg.drews
Modified: 2011-03-16 20:42 UTC (History)
0 users

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


Attachments
Commandline output of OKULAR while opening a PDF-File and immediate crash (7.21 KB, text/plain)
2010-08-21 22:35 UTC, georg.drews
Details
Commandline output of OKULAR while opening a PDF-File and NO crash (7.15 KB, text/plain)
2010-08-21 22:36 UTC, georg.drews
Details

Note You need to log in before you can comment on or make changes to this bug.
Description georg.drews 2010-08-19 23:18:43 UTC
Application: okular (0.10.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-24-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
When trying to open this PDF-File
   http://www.das-neue-bafoeg.de/intern/upload/formblaetter/nbb_fbl_7.pdf
Okular crashes very often, but not always.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Okular (okular), signal: Aborted
[Current thread is 1 (Thread 0xb77f2930 (LWP 2282))]

Thread 2 (Thread 0xb4abdb70 (LWP 2283)):
[KCrash Handler]
#6  0x00bb8422 in __kernel_vsyscall ()
#7  0x00be3651 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0x00be6a82 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0x012ae134 in Object::streamGetPos (this=0x8b66868, obj=0xb41156f0, fileKey=0x0, encAlgorithm=cryptRC4, keyLength=0, objNum=0, objGen=0) at Object.h:343
#10 Lexer::getPos (this=0x8b66868, obj=0xb41156f0, fileKey=0x0, encAlgorithm=cryptRC4, keyLength=0, objNum=0, objGen=0) at Lexer.h:72
#11 Parser::getPos (this=0x8b66868, obj=0xb41156f0, fileKey=0x0, encAlgorithm=cryptRC4, keyLength=0, objNum=0, objGen=0) at Parser.h:54
#12 Parser::getObj (this=0x8b66868, obj=0xb41156f0, fileKey=0x0, encAlgorithm=cryptRC4, keyLength=0, objNum=0, objGen=0) at Parser.cc:91
#13 0x012bebb6 in ObjectStream (this=0xb41154d8, xref=0x8981ef0, objStrNumA=4) at XRef.cc:194
#14 0x012bee4f in XRef::fetch (this=0x8981ef0, num=107, gen=0, obj=0xb4abce74) at XRef.cc:1003
#15 0x012a7307 in Object::fetch (this=0xb4120364, xref=0x6, obj=0xb4abce74) at Object.cc:120
#16 0x0124c39c in Dict::lookup (this=0xb411ffd8, key=0x1315087 "Parent", obj=0xb4abce74) at Dict.cc:137
#17 0x01234243 in AnnotWidget::initialize (this=0xb41756b8, xrefA=0x8981ef0, catalog=0x8981fb8, dict=0xb411ffd8) at Annot.cc:2193
#18 0x01235e7d in AnnotWidget (this=0xb41756b8, xrefA=0x8981ef0, dict=0xb411ffd8, catalog=0x8981fb8, obj=0xb4abcfa8) at Annot.cc:2118
#19 0x01239c72 in Annots::createAnnot (this=0xb4119328, xref=0x8981ef0, dict=0xb411ffd8, catalog=0x8981fb8, obj=0xb4abcfa8) at Annot.cc:4452
#20 0x0123a05e in Annots (this=0xb4119328, xref=0x8981ef0, catalog=0x8981fb8, annotsObj=0xb4abd064) at Annot.cc:4391
#21 0x012aac2b in Page::displaySlice (this=0x8a4b780, out=0x8b31700, hDPI=106.19611743124197, vDPI=106.13263015358301, rotate=0, useMediaBox=0, crop=1, sliceX=-1, sliceY=-1, sliceW=-1, sliceH=-1, 
    printing=0, catalog=0x8981fb8, abortCheckCbk=0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0) at Page.cc:480
#22 0x012ae8c7 in PDFDoc::displayPageSlice (this=0x8a22260, out=0x8b31700, page=1, hDPI=106.19611743124197, vDPI=106.13263015358301, rotate=0, useMediaBox=0, crop=1, printing=0, sliceX=-1, 
    sliceY=-1, sliceW=-1, sliceH=-1, abortCheckCbk=0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0, annotDisplayDecideCbkData=0x0) at PDFDoc.cc:414
#23 0x01179454 in Poppler::Page::renderToImage (this=0x899ba50, xres=106.19611743124197, yres=106.13263015358301, x=-1, y=-1, w=-1, h=-1, rotate=Poppler::Page::Rotate0) at poppler-page.cc:211
#24 0x0583f6c7 in PDFPixmapGeneratorThread::run (this=0x8947f90) at ../../../../okular/generators/poppler/generator_pdf.cpp:1836
#25 0x00e8e32e in QThreadPrivate::start (arg=0x8947f90) at thread/qthread_unix.cpp:248
#26 0x00b7d96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#27 0x00c86a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb77f2930 (LWP 2282)):
#0  0x00bb8422 in __kernel_vsyscall ()
#1  0x00b82015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x00c939dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x00e8d8c2 in QMutexPrivate::wait (this=0x8b2fcc8, timeout=-1) at thread/qmutex_unix.cpp:84
#4  0x00e89072 in QMutex::lock (this=0x8b2cb48) at thread/qmutex.cpp:205
#5  0x0583af70 in PDFGenerator::embeddedFiles (this=0x8980ff0) at ../../../../okular/generators/poppler/generator_pdf.cpp:703
#6  0x07633030 in Okular::Document::embeddedFiles (this=0x87ba9c8) at ../../okular/core/document.cpp:2067
#7  0x06b0bbc0 in Okular::Part::openFile (this=0x87acbb8) at ../../okular/part.cpp:943
#8  0x00d86ca9 in KParts::ReadOnlyPart::openUrl (this=0x87acbb8, url=...) at ../../kparts/part.cpp:557
#9  0x06afe297 in Okular::Part::openUrl (this=0x87acbb8, _url=...) at ../../okular/part.cpp:1049
#10 0x080501e2 in Shell::openUrl (this=0x87a3df0, url=...) at ../../../okular/shell/shell.cpp:130
#11 0x080502f8 in Shell::delayedOpen (this=0x87a3df0) at ../../../okular/shell/shell.cpp:113
#12 0x08050b25 in Shell::qt_metacall (this=0x87a3df0, _c=QMetaObject::InvokeMetaMethod, _id=57, _a=0xbf8ba30c) at ./shell.moc:94
#13 0x00f95c9a in QMetaObject::metacall (object=0x87a3df0, cl=128, idx=57, argv=0xbf8ba30c) at kernel/qmetaobject.cpp:237
#14 0x00fa43d5 in QMetaObject::activate (sender=0x89df5b8, m=0x10a3188, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#15 0x00fabfe7 in QSingleShotTimer::timeout (this=0x89df5b8) at .moc/release-shared/qtimer.moc:82
#16 0x00fac0fc in QSingleShotTimer::timerEvent (this=0x89df5b8) at kernel/qtimer.cpp:308
#17 0x00fa1254 in QObject::event (this=0x89df5b8, e=0x1) at kernel/qobject.cpp:1212
#18 0x023f44dc in QApplicationPrivate::notify_helper (this=0x87043b0, receiver=0x89df5b8, e=0xbf8ba840) at kernel/qapplication.cpp:4300
#19 0x023fb05e in QApplication::notify (this=0xbf8bac00, receiver=0x89df5b8, e=0xbf8ba840) at kernel/qapplication.cpp:3704
#20 0x00570f2a in KApplication::notify (this=0xbf8bac00, receiver=0x89df5b8, event=0xbf8ba840) at ../../kdeui/kernel/kapplication.cpp:302
#21 0x00f90a3b in QCoreApplication::notifyInternal (this=0xbf8bac00, receiver=0x89df5b8, event=0xbf8ba840) at kernel/qcoreapplication.cpp:704
#22 0x00fbfd66 in QCoreApplication::sendEvent (this=0x8707574) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QTimerInfoList::activateTimers (this=0x8707574) at kernel/qeventdispatcher_unix.cpp:603
#24 0x00fbc8e4 in timerSourceDispatch (source=0x8707540) at kernel/qeventdispatcher_glib.cpp:184
#25 0x046605e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x046642d8 in ?? () from /lib/libglib-2.0.so.0
#27 0x046644b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x00fbc5d5 in QEventDispatcherGlib::processEvents (this=0x86efb60, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#29 0x024b4135 in QGuiEventDispatcherGlib::processEvents (this=0x86efb60, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00f8f059 in QEventLoop::processEvents (this=0xbf8bab04, flags=) at kernel/qeventloop.cpp:149
#31 0x00f8f4aa in QEventLoop::exec (this=0xbf8bab04, flags=...) at kernel/qeventloop.cpp:201
#32 0x00f9369f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#33 0x023f4577 in QApplication::exec () at kernel/qapplication.cpp:3579
#34 0x0804ef09 in main (argc=6, argv=0xbf8badf4) at ../../../okular/shell/main.cpp:82

Possible duplicates by query: bug 240208.

Reported using DrKonqi
Comment 1 Albert Astals Cid 2010-08-19 23:32:01 UTC
Can you please run okular from the command line and attach the output one of those times that crashes?
Comment 2 georg.drews 2010-08-21 22:30:44 UTC
Yesterday, I could not reproduce the crash with the PDF-File
Comment 3 georg.drews 2010-08-21 22:35:48 UTC
Created attachment 50813 [details]
Commandline output of OKULAR while opening a PDF-File and immediate crash
Comment 4 georg.drews 2010-08-21 22:36:46 UTC
Created attachment 50814 [details]
Commandline output of OKULAR while opening a PDF-File and NO crash
Comment 5 Albert Astals Cid 2010-08-21 23:44:22 UTC
There are several okular crashes on startup fixed in later versions than KDE 4.4.2, is there any chance you can update to 4.4.5 and try again?
Comment 6 Pino Toscano 2010-08-26 11:52:26 UTC
Also, which version of the poppler library do you have?
Comment 7 Albert Astals Cid 2011-03-16 20:42:31 UTC
No answer from the user in 5 months, closing.