https://bugs.kde.org/show_bug.cgi?id=335413
Bug ID: 335413
Summary: Okular crashed when closing one (out of two) instances
Classification: Unclassified
Product: okular
Version: 0.19.1
Platform: Ubuntu Packages
OS: Linux
Status: UNCONFIRMED
Keywords: drkonqi
Severity: crash
Priority: NOR
Component: general
Assignee: okular-devel@kde.org
Reporter: maarten.beze...@gmail.com
Application: okular (0.19.1)
KDE Platform Version: 4.13.1
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-generic x86_64
Distribution: Ubuntu 14.04 LTS
-- Information about the crash:
- What I was doing when the application crashed:
With 2 okular instances opened (one with a 'unique' instance (it does not allow
other tabbed documents) and the other as a 'regular' instance), I closed
the'regular' instance and okular crashed (the 'unique' instance was lost
afterwards as well)
The 'unique' instance contained my LaTeX output/PDF, but I do not think it was
being rebuild (and thus reloaded at the same time).
-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f29c5ac37c0 (LWP 11862))]
Thread 2 (Thread 0x7f29a7b8e700 (LWP 11890)):
#0 0x7f29bf6fb62a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x7f29bf6fb9b9 in g_mutex_unlock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x7f29bf6b98f9 in g_main_context_query () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x7f29bf6b9f52 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x7f29bf6ba0ec in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x7f29c34d27be in QEventDispatcherGlib::processEvents
(this=0x7f299c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6 0x7f29c34a40af in QEventLoop::processEvents
(this=this@entry=0x7f29a7b8dde0, flags=...) at kernel/qeventloop.cpp:149
#7 0x7f29c34a43a5 in QEventLoop::exec (this=this@entry=0x7f29a7b8dde0,
flags=...) at kernel/qeventloop.cpp:204
#8 0x7f29c33a0c5f in QThread::exec (this=this@entry=0x1087040) at
thread/qthread.cpp:537
#9 0x7f29c3485823 in QInotifyFileSystemWatcherEngine::run (this=0x1087040)
at io/qfilesystemwatcher_inotify.cpp:265
#10 0x7f29c33a332f in QThreadPrivate::start (arg=0x1087040) at
thread/qthread_unix.cpp:349
#11 0x7f29bfb99182 in start_thread (arg=0x7f29a7b8e700) at
pthread_create.c:312
#12 0x7f29c2ade30d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 1 (Thread 0x7f29c5ac37c0 (LWP 11862)):
[KCrash Handler]
#6 XRef::getNumEntry (this=0x0, offset=-1) at XRef.cc:1300
#7 0x7f29aec1681e in Lexer::getObj (this=0x1648760,
obj=obj@entry=0x1bdf978, cmdA=cmdA@entry=0x7f29aeca66c8 "endstream",
objNum=objNum@entry=0) at Lexer.cc:594
#8 0x7f29aec20dfd in Parser::shift (this=this@entry=0x1bdf950,
cmdA=cmdA@entry=0x7f29aeca66c8 "endstream", objNum=objNum@entry=0) at
Parser.cc:323
#9 0x7f29aec20fde in Parser::makeStream (this=this@entry=0x1bdf950,
dict=dict@entry=0x7fff2541cad0, fileKey=fileKey@entry=0x0,
encAlgorithm=encAlgorithm@entry=cryptRC4, keyLength=keyLength@entry=0,
objNum=objNum@entry=0, objGen=objGen@entry=0, recursion=recursion@entry=1,
strict=strict@entry=false) at Parser.cc:245
#10 0x7f29aec216b8 in Parser::getObj (this=this@entry=0x1bdf950,
obj=obj@entry=0x7fff2541cad0, simpleOnly=simpleOnly@entry=false,
fileKey=fileKey@entry=0x0, encAlgorithm=encAlgorithm@entry=cryptRC4,
keyLength=keyLength@entry=0, objNum=objNum@entry=0, objGen=objGen@entry=0,
recursion=recursion@entry=0, strict=strict@entry=false) at Parser.cc:131
#11 0x7f29aec350fc in XRef::readXRef (this=this@entry=0xfe43a0,
pos=pos@entry=0xfe4438, followedXRefStm=followedXRefStm@entry=0x7fff2541cb30,
xrefStreamObjsNum=xrefStreamObjsNum@entry=0x0) at XRef.cc:551
#12 0x7f29aec35319 in XRef::XRef (this=0xfe43a0, strA=0x1c54ff0,
pos=, mainXRefEntriesOffsetA=0, wasReconstructed=0x7fff2541cbaf,
reconstruct=) at XRef.cc:342
#13 0x7f29aec2534f in PDFDoc::setup (this=this@entry=0x311e1b0,
ownerPassword=ownerPassword@entry=0x1165830,
userPassword=userPassword@entry=0x447f550) at PDFDoc.cc:262
#14 0x7f29aec25578 in PDFDoc::PDFDoc (this=0x311e1b0, fileNameA=, ownerPassword=0x1165830, userPassword=0x447f550, guiDataA=) at PDFDoc.cc:167
#15 0x7f29aef64d99 in DocumentData (userPassword=0x447f550,
ownerPassword=0x1165830, filePath=..., this=0x15f0a00) at poppler-private.h:94
#16 Poppler::Document::load (filePath=..., ownerPassword=..., userPassword=...)
at poppler-document.cc:62
#17 0x7f29af1dbd83 in PDFGenerator::loadDocument (this=0xe4ce00,
filePath=..., pagesVector=...) at
../../../generators/poppler/generator_pdf.cpp:466
#18 0x7f29b3789449 in Okular::DocumentPrivate::openDocumentInternal
(this=0x9819e0, offer=..., isstdin=isstdin@e