https://bugs.kde.org/show_bug.cgi?id=402397
Bug ID: 402397 Summary: Okular crashes while trying to re-open already deleted document at startup Product: okular Version: 1.5.3 Platform: Compiled Sources OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: okular-de...@kde.org Reporter: matth...@heizmann.name Target Milestone: --- Application: okular (1.5.3) (Compiled from sources) Qt Version: 5.11.1 Frameworks Version: 5.52.0 Operating System: Linux 4.15.15-gentoo x86_64 Distribution (Platform): Gentoo Packages -- Information about the crash: At startup the desktop environment tries to re-open all documents that were opened when I logged out from the desktop environent (good). This includes pdfs that firefox downloaded and saved to /tmp. However after a reboot these documents are gone (good). Now Okular should show an error that the document does not exist, instead Okular crashes with a segfault (bad) The crash can be reproduced every time. -- Backtrace: Application: Okular (okular), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7fa9eb310280 (LWP 4725))] Thread 3 (Thread 0x7fa9c35f0700 (LWP 4732)): #0 0x00007fa9e435057c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007fa9c3d97f0b in util_queue_thread_func () from /usr/lib64/dri/i965_dri.so #2 0x00007fa9c3d97c37 in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so #3 0x00007fa9e434996a in start_thread () from /lib64/libpthread.so.0 #4 0x00007fa9e70e31af in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7fa9ce981700 (LWP 4730)): #0 0x00007fa9e70d2cd0 in read () from /lib64/libc.so.6 #1 0x00007fa9e2064440 in g_wakeup_acknowledge () from /usr/lib64/libglib-2.0.so.0 #2 0x00007fa9e201fa37 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0 #3 0x00007fa9e201fef0 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0 #4 0x00007fa9e202005c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #5 0x00007fa9e7a3aaeb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #6 0x00007fa9e79e6a4a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #7 0x00007fa9e7848bda in QThread::exec() () from /usr/lib64/libQt5Core.so.5 #8 0x00007fa9e7e73de5 in QDBusConnectionManager::run() () from /usr/lib64/libQt5DBus.so.5 #9 0x00007fa9e785263f in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5 #10 0x00007fa9e434996a in start_thread () from /lib64/libpthread.so.0 #11 0x00007fa9e70e31af in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7fa9eb310280 (LWP 4725)): [KCrash Handler] #6 0x00007fa9e7854626 in qstrcmp(QByteArray const&, QByteArray const&) () from /usr/lib64/libQt5Core.so.5 #7 0x00007fa9e95269ed in QMapData<KEntryKey, KEntry>::findNode(KEntryKey const&) const () from /usr/lib64/libKF5ConfigCore.so.5 #8 0x00007fa9e952bcab in KEntryMap::findEntry(QByteArray const&, QByteArray const&, QFlags<KEntryMap::SearchFlag>) const () from /usr/lib64/libKF5ConfigCore.so.5 #9 0x00007fa9e95202f7 in KConfigPrivate::lookupData(QByteArray const&, char const*, QFlags<KEntryMap::SearchFlag>) const () from /usr/lib64/libKF5ConfigCore.so.5 #10 0x00007fa9e95357dc in KConfigGroup::readEntry(char const*, QVariant const&) const () from /usr/lib64/libKF5ConfigCore.so.5 #11 0x000055783ab42de3 in Shell::readProperties(KConfigGroup const&) () #12 0x00007fa9ea4aca48 in KMainWindow::readPropertiesInternal(KConfig*, int) () from /usr/lib64/libKF5XmlGui.so.5 #13 0x00007fa9ea4aca92 in KMainWindow::restore(int, bool) () from /usr/lib64/libKF5XmlGui.so.5 #14 0x000055783ab3e0db in void kRestoreMainWindows<Shell>() () #15 0x000055783ab3b822 in main () Possible duplicates by query: bug 395539. Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.