Application: okular (23.08.1) Qt Version: 5.15.10 Frameworks Version: 5.110.0 Operating System: Linux 6.5.0-28-generic x86_64 Windowing System: X11 Distribution: Ubuntu 23.10 DrKonqi: 5.27.8 [KCrashBackend] -- Information about the crash: Okular crashes when trying to save PDF with annotations The reporter is unsure if this crash is reproducible. -- Backtrace: Application: Okular (okular), signal: Segmentation fault [KCrash Handler] #4 0x0000705161c083e4 in KMountPoint::mountType() const () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5 #5 0x000070512c1a72de in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/kio_file.so #6 0x0000705161b93d16 in KIO::SlaveBase::dispatch(int, QByteArray const&) () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5 #7 0x0000705161b948e6 in KIO::SlaveBase::dispatchLoop() () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5 #8 0x0000705161c31904 in ?? () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5 #9 0x00007051600daeb1 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #10 0x000070515f897b5a in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444 #11 0x000070515f9285fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 7 (Thread 0x7051515fe6c0 (LWP 611768) "okular:sh2"): #1 __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x61ae8a939e48) at ./nptl/futex-internal.c:87 #2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x61ae8a939e48, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139 #3 0x000070515f896a7e in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x61ae8a939df8, cond=0x61ae8a939e20) at ./nptl/pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=0x61ae8a939e20, mutex=0x61ae8a939df8) at ./nptl/pthread_cond_wait.c:627 #5 0x0000705151f1ed2d in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #6 0x0000705151ecf1bb in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #7 0x0000705151f1ec5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #8 0x000070515f897b5a in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444 #9 0x000070515f9285fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 6 (Thread 0x705151dff6c0 (LWP 611767) "okular:sh1"): #1 __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x61ae8a939e48) at ./nptl/futex-internal.c:87 #2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x61ae8a939e48, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139 #3 0x000070515f896a7e in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x61ae8a939df8, cond=0x61ae8a939e20) at ./nptl/pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=0x61ae8a939e20, mutex=0x61ae8a939df8) at ./nptl/pthread_cond_wait.c:627 #5 0x0000705151f1ed2d in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #6 0x0000705151ecf1bb in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #7 0x0000705151f1ec5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #8 0x000070515f897b5a in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444 #9 0x000070515f9285fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 5 (Thread 0x7051588106c0 (LWP 611766) "okular:sh0"): #1 __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x61ae8a939e48) at ./nptl/futex-internal.c:87 #2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x61ae8a939e48, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139 #3 0x000070515f896a7e in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x61ae8a939df8, cond=0x61ae8a939e20) at ./nptl/pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=0x61ae8a939e20, mutex=0x61ae8a939df8) at ./nptl/pthread_cond_wait.c:627 #5 0x0000705151f1ed2d in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #6 0x0000705151ecf1bb in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #7 0x0000705151f1ec5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #8 0x000070515f897b5a in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444 #9 0x000070515f9285fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 4 (Thread 0x7051590116c0 (LWP 611765) "okular:disk$0"): #1 __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x61ae8a9434a0) at ./nptl/futex-internal.c:87 #2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x61ae8a9434a0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139 #3 0x000070515f896a7e in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x61ae8a943450, cond=0x61ae8a943478) at ./nptl/pthread_cond_wait.c:503 #4 ___pthread_cond_wait (cond=0x61ae8a943478, mutex=0x61ae8a943450) at ./nptl/pthread_cond_wait.c:627 #5 0x0000705151f1ed2d in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #6 0x0000705151ecf1bb in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #7 0x0000705151f1ec5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #8 0x000070515f897b5a in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444 #9 0x000070515f9285fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 3 (Thread 0x705159c636c0 (LWP 611764) "QDBusConnection"): #1 __GI___libc_read (fd=7, buf=0x705159c62980, nbytes=8) at ../sysdeps/unix/sysv/linux/read.c:24 #2 0x000070515eb5f92f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x000070515eb149c4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x000070515eb6f388 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x000070515eb11d20 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #6 0x0000705160327dc6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007051602cb15b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007051600d9c52 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #9 0x00007051616221bb in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5 #10 0x00007051600daeb1 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #11 0x000070515f897b5a in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444 #12 0x000070515f9285fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 2 (Thread 0x70515b4846c0 (LWP 611763) "QXcbEventQueue"): #1 0x00007051614d786a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1 #2 0x00007051614d928c in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1 #3 0x000070515b4f8eb8 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #4 0x00007051600daeb1 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x000070515f897b5a in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444 #6 0x000070515f9285fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 Thread 1 (Thread 0x70515bd569c0 (LWP 611762) "okular"): #1 0x000070515eb6f3cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x000070515eb11d20 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x0000705160327dc6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007051602cb15b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007051617059a5 in KJob::exec() () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5 #6 0x00007051504ef25a in Okular::Part::saveAs(QUrl const&, QFlags<Okular::Part::SaveAsFlag>) () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so #7 0x00007051504f0843 in Okular::Part::saveFile() () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so #8 0x0000705160306312 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #9 0x0000705160f65256 in QAction::triggered(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #10 0x0000705160f67f57 in QAction::activate(QAction::ActionEvent) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #11 0x00007051602f99a0 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #12 0x0000705160f6bc82 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #13 0x00007051602cc7a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #14 0x00007051602cfeb1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #15 0x00007051603286f7 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #16 0x000070515eb13b2c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #17 0x000070515eb6f46f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #18 0x000070515eb11d20 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #19 0x0000705160327daa in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #20 0x00007051602cb15b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #21 0x00007051602d3904 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5 #22 0x000061ae89b1ebef in ?? () #23 0x000070515f828150 in __libc_start_call_main (main=main@entry=0x61ae89b1d7e0, argc=argc@entry=2, argv=argv@entry=0x7fff572f4078) at ../sysdeps/nptl/libc_start_call_main.h:58 #24 0x000070515f828209 in __libc_start_main_impl (main=0x61ae89b1d7e0, argc=2, argv=0x7fff572f4078, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff572f4068) at ../csu/libc-start.c:360 #25 0x000061ae89b1fa05 in ?? () [Inferior 1 (process 611762) detached] The reporter indicates this bug may be a duplicate of or related to bug 474536. Reported using DrKonqi
You okular is very old, any chance you can try a newer one even if it is through flathub? https://flathub.org/apps/org.kde.okular and see if this still happens for you?
very old -> relatively old
My distro made an minor version update for Okular, and the problem does not recur. Thank you for the suggestion about the flatpak version though!