Bug 395684

Summary: Segfault after closing "file not found" dialog after reboot
Product: [Applications] okular Reporter: Dennis Irrgang <me>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 1.4.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dennis Irrgang 2018-06-21 10:12:18 UTC
Application: okular (1.4.2)

Qt Version: 5.11.0
Frameworks Version: 5.46.0
Operating System: Linux 4.17.1-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
I zypper dup'd my system and did a reboot. A file was not found (I had moved it to a different folder after opening the file and forgot about that) after booting and KDE recreated the session. I closed the dialog and that's when Okular crashed.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f569785a180 (LWP 3747))]

Thread 2 (Thread 0x7f567bdbf700 (LWP 3775)):
#0  0x00007f568df3cb44 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f568def6790 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f568def71fb in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f568def73ec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f5693e8f90b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f5674000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f5693e3f9fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f567bdbed90, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f5693c9e356 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f56942e0f45 in QDBusConnectionManager::run() (this=0x7f5694556d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007f5693ca793c in QThreadPrivate::start(void*) (arg=0x7f5694556d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:367
#9  0x00007f5690512554 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f569358cfdf in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f569785a180 (LWP 3747)):
[KCrash Handler]
#6  0x00007f5695c6a7e0 in  () at /usr/lib64/libKF5ConfigCore.so.5
#7  0x00007f5695c7f1f3 in KConfigGroup::readEntry(char const*, QVariant const&) const () at /usr/lib64/libKF5ConfigCore.so.5
#8  0x00005561fd4d07c3 in KConfigGroup::readEntry<int>(char const*, int const&) const (defaultValue=@0x7ffdaad7edac: 0, key=0x5561fd4d8a4c "ActiveTab", this=0x7ffdaad7ee60) at /usr/include/qt5/QtCore/qvariant.h:518
#9  0x00005561fd4d07c3 in Shell::readProperties(KConfigGroup const&) (this=0x5561ff239c70, group=...) at /usr/src/debug/okular-18.04.2-1.1.x86_64/shell/shell.cpp:392
#10 0x00007f56969a8b78 in KMainWindow::readPropertiesInternal(KConfig*, int) () at /usr/lib64/libKF5XmlGui.so.5
#11 0x00007f56969a8bc2 in KMainWindow::restore(int, bool) () at /usr/lib64/libKF5XmlGui.so.5
#12 0x00005561fd4cbcd3 in kRestoreMainWindows<Shell>() () at /usr/include/qt5/QtCore/qarraydata.h:255
#13 0x00005561fd4c9353 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/okular-18.04.2-1.1.x86_64/shell/main.cpp:66

Reported using DrKonqi
Comment 1 Christoph Feck 2018-07-18 19:33:11 UTC

*** This bug has been marked as a duplicate of bug 395765 ***