Bug 474536

Summary: Okular Crashes when trying to save PDF with an annotation
Product: [Applications] okular Reporter: Jay Tuckey <jay>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: danielpeck512
Priority: NOR Keywords: drkonqi
Version: 23.08.1   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Jay Tuckey 2023-09-15 02:19:09 UTC
Application: okular (23.08.1)

Qt Version: 5.15.10
Frameworks Version: 5.110.0
Operating System: Linux 6.2.0-32-generic x86_64
Windowing System: Wayland
Distribution: KDE neon 5.27
DrKonqi: 5.27.8 [KCrashBackend]

-- Information about the crash:
When trying to add text annotation to a PDF, then clicking save, okular crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f4f87ba87a4 in KMountPoint::mountType() const () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#5  0x00007f4f3c092028 in isOnCifsMount (filePath=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qshareddata.h:161
#6  FileProtocol::copy (this=0x7f4f380032b0, srcUrl=..., destUrl=..., _mode=-1, _flags=...) at ./src/ioslaves/file/file_unix.cpp:743
#7  0x00007f4f87b3508d in KIO::SlaveBase::dispatch(int, QByteArray const&) () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#8  0x00007f4f87b36196 in KIO::SlaveBase::dispatchLoop() () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#9  0x00007f4f87bd2a07 in ?? () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#10 0x00007f4f860cec03 in operator() (__closure=<optimized out>, __closure=<optimized out>) at thread/qthread_unix.cpp:350
#11 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=..., t=...) at thread/qthread_unix.cpp:287
#12 QThreadPrivate::start (arg=0x55d2b77b0f70) at thread/qthread_unix.cpp:310
#13 0x00007f4f85894b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#14 0x00007f4f85926a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 12 (Thread 0x7f4f61ff9640 (LWP 65483) "okular"):
#1  __pselect (nfds=nfds@entry=5, readfds=readfds@entry=0x7f4f61ff0a40, writefds=writefds@entry=0x0, exceptfds=exceptfds@entry=0x0, timeout=<optimized out>, timeout@entry=0x7f4f61ff0a30, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/pselect.c:56
#2  0x00007f4f8443103d in usbmuxd_listen_inotify () at /build/libusbmuxd-922SNR/libusbmuxd-2.0.2/src/libusbmuxd.c:923
#3  0x00007f4f84431d88 in usbmuxd_listen () at /build/libusbmuxd-922SNR/libusbmuxd-2.0.2/src/libusbmuxd.c:979
#4  device_monitor (data=<optimized out>) at /build/libusbmuxd-922SNR/libusbmuxd-2.0.2/src/libusbmuxd.c:1107
#5  0x00007f4f85894b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6  0x00007f4f85926a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 11 (Thread 0x7f4f627fa640 (LWP 65429) "okular:sh5"):
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x55d2b6ae4f48) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55d2b6ae4f48, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f4f85893ac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d2b6ae4ef8, cond=0x55d2b6ae4f20) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55d2b6ae4f20, mutex=0x55d2b6ae4ef8) at ./nptl/pthread_cond_wait.c:627
#5  0x00007f4f7910f89d in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:135
#6  0x00007f4f790bfb0b in util_queue_thread_func (input=input@entry=0x55d2b6aee210) at ../src/util/u_queue.c:290
#7  0x00007f4f7910f7cb in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#8  0x00007f4f85894b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f4f85926a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 10 (Thread 0x7f4f62ffb640 (LWP 65428) "okular:sh4"):
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x55d2b6ae4f48) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55d2b6ae4f48, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f4f85893ac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d2b6ae4ef8, cond=0x55d2b6ae4f20) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55d2b6ae4f20, mutex=0x55d2b6ae4ef8) at ./nptl/pthread_cond_wait.c:627
#5  0x00007f4f7910f89d in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:135
#6  0x00007f4f790bfb0b in util_queue_thread_func (input=input@entry=0x55d2b6ae8c40) at ../src/util/u_queue.c:290
#7  0x00007f4f7910f7cb in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#8  0x00007f4f85894b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f4f85926a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 9 (Thread 0x7f4f637fc640 (LWP 65427) "okular:sh3"):
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x55d2b6ae4f48) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55d2b6ae4f48, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f4f85893ac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d2b6ae4ef8, cond=0x55d2b6ae4f20) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55d2b6ae4f20, mutex=0x55d2b6ae4ef8) at ./nptl/pthread_cond_wait.c:627
#5  0x00007f4f7910f89d in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:135
#6  0x00007f4f790bfb0b in util_queue_thread_func (input=input@entry=0x55d2b6ae8db0) at ../src/util/u_queue.c:290
#7  0x00007f4f7910f7cb in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#8  0x00007f4f85894b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f4f85926a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 8 (Thread 0x7f4f63ffd640 (LWP 65426) "okular:sh2"):
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x55d2b6ae4f48) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55d2b6ae4f48, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f4f85893ac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d2b6ae4ef8, cond=0x55d2b6ae4f20) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55d2b6ae4f20, mutex=0x55d2b6ae4ef8) at ./nptl/pthread_cond_wait.c:627
#5  0x00007f4f7910f89d in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:135
#6  0x00007f4f790bfb0b in util_queue_thread_func (input=input@entry=0x55d2b6ae8310) at ../src/util/u_queue.c:290
#7  0x00007f4f7910f7cb in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#8  0x00007f4f85894b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f4f85926a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 7 (Thread 0x7f4f647fe640 (LWP 65425) "okular:sh1"):
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x55d2b6ae4f48) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55d2b6ae4f48, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f4f85893ac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d2b6ae4ef8, cond=0x55d2b6ae4f20) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55d2b6ae4f20, mutex=0x55d2b6ae4ef8) at ./nptl/pthread_cond_wait.c:627
#5  0x00007f4f7910f89d in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:135
#6  0x00007f4f790bfb0b in util_queue_thread_func (input=input@entry=0x55d2b6ae5080) at ../src/util/u_queue.c:290
#7  0x00007f4f7910f7cb in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#8  0x00007f4f85894b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f4f85926a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 6 (Thread 0x7f4f64fff640 (LWP 65424) "okular:sh0"):
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x55d2b6ae4f48) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55d2b6ae4f48, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f4f85893ac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d2b6ae4ef8, cond=0x55d2b6ae4f20) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55d2b6ae4f20, mutex=0x55d2b6ae4ef8) at ./nptl/pthread_cond_wait.c:627
#5  0x00007f4f7910f89d in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:135
#6  0x00007f4f790bfb0b in util_queue_thread_func (input=input@entry=0x55d2b6ae82f0) at ../src/util/u_queue.c:290
#7  0x00007f4f7910f7cb in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#8  0x00007f4f85894b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f4f85926a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x7f4f78fff640 (LWP 65423) "okular:disk$0"):
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x55d2b6af0458) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55d2b6af0458, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f4f85893ac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d2b6af0408, cond=0x55d2b6af0430) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55d2b6af0430, mutex=0x55d2b6af0408) at ./nptl/pthread_cond_wait.c:627
#5  0x00007f4f7910f89d in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:135
#6  0x00007f4f790bfb0b in util_queue_thread_func (input=input@entry=0x55d2b6ae8730) at ../src/util/u_queue.c:290
#7  0x00007f4f7910f7cb in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#8  0x00007f4f85894b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f4f85926a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7f4f7b7fe640 (LWP 65420) "WaylandEventThr"):
#1  0x00007f4f848afaa4 in poll (__timeout=-1, __nfds=2, __fds=0x7f4f7b7fdb30) at /usr/include/x86_64-linux-gnu/bits/poll2.h:39
#2  QtWaylandClient::EventThread::run (this=0x55d2b6a5dd00) at ./src/client/qwaylanddisplay.cpp:210
#3  0x00007f4f860cec03 in operator() (__closure=<optimized out>, __closure=<optimized out>) at thread/qthread_unix.cpp:350
#4  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=..., t=...) at thread/qthread_unix.cpp:287
#5  QThreadPrivate::start (arg=0x55d2b6a5dd00) at thread/qthread_unix.cpp:310
#6  0x00007f4f85894b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x00007f4f85926a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7f4f7bfff640 (LWP 65419) "WaylandEventThr"):
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x55d2b6a6b104) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55d2b6a6b104, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f4f85893ac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d2b6a6b0b0, cond=0x55d2b6a6b0d8) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55d2b6a6b0d8, mutex=0x55d2b6a6b0b0) at ./nptl/pthread_cond_wait.c:627
#5  0x00007f4f860d4c3b in QWaitConditionPrivate::wait (deadline=..., deadline=..., this=0x55d2b6a6b0b0) at thread/qwaitcondition_unix.cpp:146
#6  QWaitCondition::wait (this=this@entry=0x55d2b6a633e0, mutex=mutex@entry=0x55d2b6a633d8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#7  0x00007f4f848afa47 in QtWaylandClient::EventThread::waitForReading (this=0x55d2b6a633a0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#8  QtWaylandClient::EventThread::run (this=0x55d2b6a633a0) at ./src/client/qwaylanddisplay.cpp:208
#9  0x00007f4f860cec03 in operator() (__closure=<optimized out>, __closure=<optimized out>) at thread/qthread_unix.cpp:350
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=..., t=...) at thread/qthread_unix.cpp:287
#11 QThreadPrivate::start (arg=0x55d2b6a633a0) at thread/qthread_unix.cpp:310
#12 0x00007f4f85894b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#13 0x00007f4f85926a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7f4f81bff640 (LWP 65417) "QDBusConnection"):
#1  0x00007f4f84b761f6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4f84b1e3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4f86316368 in QEventDispatcherGlib::processEvents (this=0x7f4f7c000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007f4f862bb79b in QEventLoop::exec (this=this@entry=0x7f4f81bfeb10, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#5  0x00007f4f860cd992 in QThread::exec (this=this@entry=0x7f4f87642d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f4f875ca0eb in QDBusConnectionManager::run (this=0x7f4f87642d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ./src/dbus/qdbusconnection.cpp:179
#7  0x00007f4f860cec03 in operator() (__closure=<optimized out>, __closure=<optimized out>) at thread/qthread_unix.cpp:350
#8  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=..., t=...) at thread/qthread_unix.cpp:287
#9  QThreadPrivate::start (arg=0x7f4f87642d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:310
#10 0x00007f4f85894b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#11 0x00007f4f85926a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7f4f81f889c0 (LWP 65416) "okular"):
#1  0x00007f4f85899b8d in lll_mutex_unlock_optimized (mutex=0x55d2b6a423a8) at ./nptl/pthread_mutex_unlock.c:43
#2  __GI___pthread_mutex_unlock_usercnt (decr=1, mutex=0x55d2b6a423a8) at ./nptl/pthread_mutex_unlock.c:68
#3  ___pthread_mutex_unlock (mutex=0x55d2b6a423a8) at ./nptl/pthread_mutex_unlock.c:368
#4  0x00007f4f848264db in wl_display_dispatch_queue_pending () from /lib/x86_64-linux-gnu/libwayland-client.so.0
#5  0x00007f4f848ab49a in QtWaylandClient::QWaylandDisplay::flushRequests (this=<optimized out>) at ./src/client/qwaylanddisplay.cpp:255
#6  0x00007f4f862f4958 in doActivate<false> (sender=0x55d2b6a6b450, signal_index=4, argv=0x7ffdc3a08760) at kernel/qobject.cpp:3937
#7  0x00007f4f862ed9f7 in QMetaObject::activate (sender=sender@entry=0x55d2b6a6b450, m=m@entry=0x7f4f8655d820 <QAbstractEventDispatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3985
#8  0x00007f4f862b9937 in QAbstractEventDispatcher::awake (this=this@entry=0x55d2b6a6b450) at .moc/moc_qabstracteventdispatcher.cpp:149
#9  0x00007f4f863163fb in QEventDispatcherGlib::processEvents (this=0x55d2b6a6b450, flags=...) at kernel/qeventdispatcher_glib.cpp:430
#10 0x00007f4f862bb79b in QEventLoop::exec (this=0x7ffdc3a08880, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#11 0x00007f4f876a8acd in KJob::exec (this=this@entry=0x55d2b74ff010) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:121
#12 0x00007f4f785d45c1 in Okular::Part::saveAs (this=this@entry=0x55d2b6b38ec0, saveUrl=..., flags=...) at ./part/part.cpp:2903
#13 0x00007f4f785d5364 in Okular::Part::saveAs (saveUrl=..., this=0x55d2b6b38ec0) at ./part/part.cpp:2639
#14 Okular::Part::saveFile (this=0x55d2b6b38ec0) at ./part/part.cpp:2577
#15 Okular::Part::saveFile (this=0x55d2b6b38ec0) at ./part/part.cpp:2572
#16 0x00007f4f862f4924 in QtPrivate::QSlotObjectBase::call (a=0x7ffdc3a08b70, r=0x55d2b6b38ec0, this=0x55d2b6e86fb0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#17 doActivate<false> (sender=0x55d2b6b55680, signal_index=4, argv=0x7ffdc3a08b70) at kernel/qobject.cpp:3925
#18 0x00007f4f862ed9f7 in QMetaObject::activate (sender=sender@entry=0x55d2b6b55680, m=m@entry=0x7f4f87496cc0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffdc3a08b70) at kernel/qobject.cpp:3985
#19 0x00007f4f86f65c26 in QAction::triggered (this=this@entry=0x55d2b6b55680, _t1=<optimized out>) at .moc/moc_qaction.cpp:376
#20 0x00007f4f86f6891c in QAction::activate (this=0x55d2b6b55680, event=<optimized out>) at kernel/qaction.cpp:1161
#21 0x00007f4f870f4d52 in QMenuPrivate::activateCausedStack (this=this@entry=0x55d2b7339bf0, causedStack=..., action=action@entry=0x55d2b6b55680, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1407
#22 0x00007f4f870fc929 in QMenuPrivate::activateAction (this=0x55d2b7339bf0, action=0x55d2b6b55680, action_e=QAction::Trigger, self=<optimized out>) at widgets/qmenu.cpp:1484
#23 0x00007f4f86faf95e in QWidget::event (this=0x55d2b7361520, event=0x7ffdc3a09170) at kernel/qwidget.cpp:9045
#24 0x00007f4f86f6c763 in QApplicationPrivate::notify_helper (this=this@entry=0x55d2b6a3b020, receiver=receiver@entry=0x55d2b7361520, e=e@entry=0x7ffdc3a09170) at kernel/qapplication.cpp:3640
#25 0x00007f4f86f743a4 in QApplication::notify (this=<optimized out>, receiver=0x55d2b7361520, e=0x7ffdc3a09170) at kernel/qapplication.cpp:3084
#26 0x00007f4f862bce7a in QCoreApplication::notifyInternal2 (receiver=0x55d2b7361520, event=0x7ffdc3a09170) at kernel/qcoreapplication.cpp:1064
#27 0x00007f4f86f72e87 in QApplicationPrivate::sendMouseEvent (receiver=0x55d2b7361520, event=event@entry=0x7ffdc3a09170, alienWidget=0x0, nativeWidget=0x55d2b7361520, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2622
#28 0x00007f4f86fc9d3b in QWidgetWindow::handleMouseEvent (this=0x55d2b6a74c40, event=0x7ffdc3a09440) at kernel/qwidgetwindow.cpp:580
#29 0x00007f4f86fcc535 in QWidgetWindow::event (this=0x55d2b6a74c40, event=0x7ffdc3a09440) at kernel/qwidgetwindow.cpp:300
#30 0x00007f4f86f6c763 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55d2b6a74c40, e=0x7ffdc3a09440) at kernel/qapplication.cpp:3640
#31 0x00007f4f862bce7a in QCoreApplication::notifyInternal2 (receiver=0x55d2b6a74c40, event=0x7ffdc3a09440) at kernel/qcoreapplication.cpp:1064
#32 0x00007f4f867431e7 in QGuiApplicationPrivate::processMouseEvent (e=0x7f4f6c004f70) at kernel/qguiapplication.cpp:2278
#33 0x00007f4f86716dbc in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1169
#34 0x00007f4f848e7b24 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#35 0x00007f4f84b20d3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f4f84b76258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f4f84b1e3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f4f86316368 in QEventDispatcherGlib::processEvents (this=0x55d2b6a6b450, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#39 0x00007f4f862bb79b in QEventLoop::exec (this=this@entry=0x7ffdc3a09770, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#40 0x00007f4f862c3d44 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#41 0x00007f4f86736d50 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1863
#42 0x00007f4f86f6c6d9 in QApplication::exec () at kernel/qapplication.cpp:2832
#43 0x000055d2b4cb1ec8 in main (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:109
[Inferior 1 (process 65416) detached]

The reporter indicates this bug may be a duplicate of or related to bug 474429, bug 474466.

Reported using DrKonqi
Comment 1 Antonio Rojas 2023-09-15 06:38:24 UTC

*** This bug has been marked as a duplicate of bug 474451 ***
Comment 2 danielpeck512 2023-10-14 15:18:09 UTC
Created attachment 162299 [details]
New crash information added by DrKonqi

okular (23.08.0) using Qt 5.15.10

opened a pdf from my GP, Wrote on it with the typewriter function and the freehand line function. Hit Cntrl + S and it crashed. Happened twice in a row.

-- Backtrace (Reduced):
#4  0x00007febda9fb154 in KMountPoint::mountType() const () at /usr/lib/libKF5KIOCore.so.5
[...]
#6  0x00007febda9a88db in KIO::SlaveBase::dispatch(int, QByteArray const&) () at /usr/lib/libKF5KIOCore.so.5
#7  0x00007febda9a120e in KIO::SlaveBase::dispatchLoop() () at /usr/lib/libKF5KIOCore.so.5
[...]
#3  0x00007febd92eb51c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007febd929b404 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5