[okular] [Bug 399207] New: Okular: Shutdown crash when acknowledging "Unable to find file" dialog

Philipp Wagner bugzilla_noreply at kde.org
Sat Sep 29 11:35:20 BST 2018


https://bugs.kde.org/show_bug.cgi?id=399207

            Bug ID: 399207
           Summary: Okular: Shutdown crash when acknowledging "Unable to
                    find file" dialog
           Product: okular
           Version: 1.5.1
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: mail at philipp-wagner.com
  Target Milestone: ---

Application: okular (1.5.1)

Qt Version: 5.11.1
Frameworks Version: 5.49.0
Operating System: Linux 4.18.7-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
There might be other steps to reproduce this, but this is how I experience the
crash. It has been present for a bit now (could be a couple weeks).

STR:
- Open a PDF file from /tmp in Okular
- Leave Okular open and reboot
- During the reboot, /tmp is deleted and the PDF file does not exist any more.
- KDE session restore will reopen Okular
- Okular displays a message "PDF file not found" (not these exact words)
- After clicking "OK", Okular crashes

Expected behavior:
- Okular should just close itself, and not crash

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 0x7f563024c600 (LWP 5697))]

Thread 4 (Thread 0x7f561c3a4700 (LWP 5766)):
#0  0x00007f56333824dc in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x00007f561c836f5b in  () at /usr/lib64/dri/i965_dri.so
#2  0x00007f561c836c87 in  () at /usr/lib64/dri/i965_dri.so
#3  0x00007f563337c554 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f5634401ccf in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f5625f16700 (LWP 5706)):
#0  0x00007f56343f72c9 in poll () at /lib64/libc.so.6
#1  0x00007f5631f16206 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f5631f1632c in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#3  0x00007f5634b1c0bb in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib64/libQt5Core.so.5
#4  0x00007f5634ac909b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib64/libQt5Core.so.5
#5  0x00007f5634917e96 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f5634d6f545 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007f5634921a67 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f563337c554 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f5634401ccf in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f562d3e5700 (LWP 5701)):
#0  0x00007f56343f72c9 in poll () at /lib64/libc.so.6
#1  0x00007f56337a4cc7 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f56337a68ea in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f562e5b86d9 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f5634921a67 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f563337c554 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f5634401ccf in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f563024c600 (LWP 5697)):
[KCrash Handler]
#6  0x00007f5635b49050 in  () at /usr/lib64/libKF5ConfigCore.so.5
#7  0x00007f5635b5da63 in KConfigGroup::readEntry(char const*, QVariant const&)
const () at /usr/lib64/libKF5ConfigCore.so.5
#8  0x000056067c3c2df3 in KConfigGroup::readEntry<int>(char const*, int const&)
const (defaultValue=@0x7ffd4b1aeeec: 0, key=0x56067c3cc00c "ActiveTab",
this=0x7ffd4b1aefa0) at /usr/include/qt5/QtCore/qvariant.h:518
#9  0x000056067c3c2df3 in Shell::readProperties(KConfigGroup const&)
(this=0x56067d080e60, group=...) at
/usr/src/debug/okular-18.08.1-1.1.x86_64/shell/shell.cpp:392
#10 0x00007f5635dc2598 in KMainWindow::readPropertiesInternal(KConfig*, int) ()
at /usr/lib64/libKF5XmlGui.so.5
#11 0x00007f5635dc25e2 in KMainWindow::restore(int, bool) () at
/usr/lib64/libKF5XmlGui.so.5
#12 0x000056067c3be293 in kRestoreMainWindows<Shell>() () at
/usr/include/qt5/QtCore/qarraydata.h:255
#13 0x000056067c3bb913 in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at
/usr/src/debug/okular-18.08.1-1.1.x86_64/shell/main.cpp:64
[Inferior 1 (process 5697) detached]

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list