Bug 474466

Summary: Okular crashing when saving PDF after editing forms
Product: [Applications] okular Reporter: max-huntermann
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 23.08.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description max-huntermann 2023-09-12 22:07:48 UTC
Application: okular (23.08.0)

Qt Version: 5.15.10
Frameworks Version: 5.110.0
Operating System: Linux 6.5.2-zen1-1-zen x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 5.27.7 [KCrashBackend]

-- Information about the crash:
What I've done:
Downloaded a PDF with Forms
edited Forms in Librewolf
saved PDF
opened PDF in Okular
edited Forms
tried saving
Okular crashed, without saving edits

going out of Form edit mode does not help.

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#6  QString::QString(QString const&) (other=<error reading variable: Cannot access memory at address 0x8>, this=0x7f68bbf7e980, this=<optimized out>, other=<optimized out>) at /usr/include/qt/QtCore/qstring.h:1093
#7  KMountPoint::mountType() const (this=0x0) at /usr/src/debug/kio/kio-5.110.0/src/core/kmountpoint.cpp:411
#8  0x00007f688a71b87d in isOnCifsMount (filePath=...) at /usr/include/qt/QtCore/qshareddata.h:161
#9  FileProtocol::copy(QUrl const&, QUrl const&, int, QFlags<KIO::JobFlag>) (this=0x7f688c124e30, srcUrl=..., destUrl=<optimized out>, _mode=-1, _flags=...) at /usr/src/debug/kio/kio-5.110.0/src/ioslaves/file/file_unix.cpp:743
#10 0x00007f68fd1228db in KIO::SlaveBase::dispatch(int, QByteArray const&) (this=0x7f688c124e40, command=<optimized out>, data=...) at /usr/src/debug/kio/kio-5.110.0/src/core/slavebase.cpp:1364
#11 0x00007f68fd11b20e in KIO::SlaveBase::dispatchLoop() (this=0x7f688c124e40) at /usr/src/debug/kio/kio-5.110.0/src/core/slavebase.cpp:342
#12 0x00007f68fd19be87 in KIO::WorkerThread::run() (this=0x5655159491e0) at /usr/src/debug/kio/kio-5.110.0/src/core/workerthread.cpp:62
#13 0x00007f68fb6f35da in operator() (__closure=<optimized out>) at thread/qthread_unix.cpp:350
#14 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at thread/qthread_unix.cpp:287
#15 QThreadPrivate::start(void*) (arg=0x5655159491e0) at thread/qthread_unix.cpp:310
#16 0x00007f68fae8c9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#17 0x00007f68faf10dfc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 17 (Thread 0x7f68cd7fa6c0 (LWP 5931) "okular:sh11"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x565513498038, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f68fae8952f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x565513498038, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f68fae8bd40 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x565513497fe8, cond=0x565513498010) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x565513498010, mutex=0x565513497fe8) at pthread_cond_wait.c:618
#5  0x00007f68e00c794c in cnd_wait () at ../mesa-23.1.7/src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func() () at ../mesa-23.1.7/src/util/u_queue.c:290
#7  0x00007f68e011485c in impl_thrd_routine() () at ../mesa-23.1.7/src/c11/impl/threads_posix.c:67
#8  0x00007f68fae8c9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007f68faf10dfc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 16 (Thread 0x7f68cdffb6c0 (LWP 5930) "okular:sh10"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x565513498038, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f68fae8952f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x565513498038, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f68fae8bd40 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x565513497fe8, cond=0x565513498010) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x565513498010, mutex=0x565513497fe8) at pthread_cond_wait.c:618
#5  0x00007f68e00c794c in cnd_wait () at ../mesa-23.1.7/src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func() () at ../mesa-23.1.7/src/util/u_queue.c:290
#7  0x00007f68e011485c in impl_thrd_routine() () at ../mesa-23.1.7/src/c11/impl/threads_posix.c:67
#8  0x00007f68fae8c9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007f68faf10dfc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 15 (Thread 0x7f68ce7fc6c0 (LWP 5929) "okular:sh9"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x565513498038, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f68fae8952f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x565513498038, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f68fae8bd40 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x565513497fe8, cond=0x565513498010) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x565513498010, mutex=0x565513497fe8) at pthread_cond_wait.c:618
#5  0x00007f68e00c794c in cnd_wait () at ../mesa-23.1.7/src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func() () at ../mesa-23.1.7/src/util/u_queue.c:290
#7  0x00007f68e011485c in impl_thrd_routine() () at ../mesa-23.1.7/src/c11/impl/threads_posix.c:67
#8  0x00007f68fae8c9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007f68faf10dfc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 14 (Thread 0x7f68ceffd6c0 (LWP 5928) "okular:sh8"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x565513498038, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f68fae8952f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x565513498038, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f68fae8bd40 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x565513497fe8, cond=0x565513498010) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x565513498010, mutex=0x565513497fe8) at pthread_cond_wait.c:618
#5  0x00007f68e00c794c in cnd_wait () at ../mesa-23.1.7/src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func() () at ../mesa-23.1.7/src/util/u_queue.c:290
#7  0x00007f68e011485c in impl_thrd_routine() () at ../mesa-23.1.7/src/c11/impl/threads_posix.c:67
#8  0x00007f68fae8c9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007f68faf10dfc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 13 (Thread 0x7f68cf7fe6c0 (LWP 5927) "okular:sh7"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x565513498038, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f68fae8952f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x565513498038, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f68fae8bd40 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x565513497fe8, cond=0x565513498010) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x565513498010, mutex=0x565513497fe8) at pthread_cond_wait.c:618
#5  0x00007f68e00c794c in cnd_wait () at ../mesa-23.1.7/src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func() () at ../mesa-23.1.7/src/util/u_queue.c:290
#7  0x00007f68e011485c in impl_thrd_routine() () at ../mesa-23.1.7/src/c11/impl/threads_posix.c:67
#8  0x00007f68fae8c9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007f68faf10dfc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 12 (Thread 0x7f68cffff6c0 (LWP 5926) "okular:sh6"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x565513498038, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f68fae8952f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x565513498038, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f68fae8bd40 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x565513497fe8, cond=0x565513498010) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x565513498010, mutex=0x565513497fe8) at pthread_cond_wait.c:618
#5  0x00007f68e00c794c in cnd_wait () at ../mesa-23.1.7/src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func() () at ../mesa-23.1.7/src/util/u_queue.c:290
#7  0x00007f68e011485c in impl_thrd_routine() () at ../mesa-23.1.7/src/c11/impl/threads_posix.c:67
#8  0x00007f68fae8c9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007f68faf10dfc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 11 (Thread 0x7f68d4bf96c0 (LWP 5925) "okular:sh5"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x565513498038, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f68fae8952f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x565513498038, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f68fae8bd40 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x565513497fe8, cond=0x565513498010) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x565513498010, mutex=0x565513497fe8) at pthread_cond_wait.c:618
#5  0x00007f68e00c794c in cnd_wait () at ../mesa-23.1.7/src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func() () at ../mesa-23.1.7/src/util/u_queue.c:290
#7  0x00007f68e011485c in impl_thrd_routine() () at ../mesa-23.1.7/src/c11/impl/threads_posix.c:67
#8  0x00007f68fae8c9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007f68faf10dfc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 10 (Thread 0x7f68d53fa6c0 (LWP 5924) "okular:sh4"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x565513498038, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f68fae8952f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x565513498038, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f68fae8bd40 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x565513497fe8, cond=0x565513498010) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x565513498010, mutex=0x565513497fe8) at pthread_cond_wait.c:618
#5  0x00007f68e00c794c in cnd_wait () at ../mesa-23.1.7/src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func() () at ../mesa-23.1.7/src/util/u_queue.c:290
#7  0x00007f68e011485c in impl_thrd_routine() () at ../mesa-23.1.7/src/c11/impl/threads_posix.c:67
#8  0x00007f68fae8c9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007f68faf10dfc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 9 (Thread 0x7f68d5bfb6c0 (LWP 5923) "okular:sh3"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x565513498038, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f68fae8952f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x565513498038, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f68fae8bd40 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x565513497fe8, cond=0x565513498010) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x565513498010, mutex=0x565513497fe8) at pthread_cond_wait.c:618
#5  0x00007f68e00c794c in cnd_wait () at ../mesa-23.1.7/src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func() () at ../mesa-23.1.7/src/util/u_queue.c:290
#7  0x00007f68e011485c in impl_thrd_routine() () at ../mesa-23.1.7/src/c11/impl/threads_posix.c:67
#8  0x00007f68fae8c9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007f68faf10dfc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 8 (Thread 0x7f68d63fc6c0 (LWP 5922) "okular:sh2"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x565513498038, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f68fae8952f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x565513498038, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f68fae8bd40 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x565513497fe8, cond=0x565513498010) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x565513498010, mutex=0x565513497fe8) at pthread_cond_wait.c:618
#5  0x00007f68e00c794c in cnd_wait () at ../mesa-23.1.7/src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func() () at ../mesa-23.1.7/src/util/u_queue.c:290
#7  0x00007f68e011485c in impl_thrd_routine() () at ../mesa-23.1.7/src/c11/impl/threads_posix.c:67
#8  0x00007f68fae8c9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007f68faf10dfc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 7 (Thread 0x7f68d6bfd6c0 (LWP 5921) "okular:sh1"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x565513498038, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f68fae8952f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x565513498038, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f68fae8bd40 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x565513497fe8, cond=0x565513498010) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x565513498010, mutex=0x565513497fe8) at pthread_cond_wait.c:618
#5  0x00007f68e00c794c in cnd_wait () at ../mesa-23.1.7/src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func() () at ../mesa-23.1.7/src/util/u_queue.c:290
#7  0x00007f68e011485c in impl_thrd_routine() () at ../mesa-23.1.7/src/c11/impl/threads_posix.c:67
#8  0x00007f68fae8c9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007f68faf10dfc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 6 (Thread 0x7f68d73fe6c0 (LWP 5920) "okular:sh0"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x565513498038, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f68fae8952f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x565513498038, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f68fae8bd40 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x565513497fe8, cond=0x565513498010) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x565513498010, mutex=0x565513497fe8) at pthread_cond_wait.c:618
#5  0x00007f68e00c794c in cnd_wait () at ../mesa-23.1.7/src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func() () at ../mesa-23.1.7/src/util/u_queue.c:290
#7  0x00007f68e011485c in impl_thrd_routine() () at ../mesa-23.1.7/src/c11/impl/threads_posix.c:67
#8  0x00007f68fae8c9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007f68faf10dfc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 5 (Thread 0x7f68d7bff6c0 (LWP 5919) "okular:disk$0"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x565513417540, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f68fae8952f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x565513417540, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f68fae8bd40 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5655134174f0, cond=0x565513417518) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x565513417518, mutex=0x5655134174f0) at pthread_cond_wait.c:618
#5  0x00007f68e00c794c in cnd_wait () at ../mesa-23.1.7/src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func() () at ../mesa-23.1.7/src/util/u_queue.c:290
#7  0x00007f68e011485c in impl_thrd_routine() () at ../mesa-23.1.7/src/c11/impl/threads_posix.c:67
#8  0x00007f68fae8c9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007f68faf10dfc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x7f68f4e5f6c0 (LWP 5918) "WaylandEventThr"):
#1  __GI___lll_lock_wait (futex=futex@entry=0x565513385de8, private=0) at lowlevellock.c:49
#2  0x00007f68fae8fec2 in lll_mutex_lock_optimized (mutex=0x565513385de8) at pthread_mutex_lock.c:48
#3  ___pthread_mutex_lock (mutex=mutex@entry=0x565513385de8) at pthread_mutex_lock.c:93
#4  0x00007f68f9d9781d in wl_display_cancel_read (display=0x565513385cd0) at ../wayland-1.22.0/src/wayland-client.c:1898
#5  0x00007f68f9e14e66 in QtWaylandClient::EventThread::run() (this=0x5655133a50d0) at /usr/src/debug/qt5-wayland/qtwayland/src/client/qwaylanddisplay.cpp:224
#6  0x00007f68fb6f35da in operator() (__closure=<optimized out>) at thread/qthread_unix.cpp:350
#7  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at thread/qthread_unix.cpp:287
#8  QThreadPrivate::start(void*) (arg=0x5655133a50d0) at thread/qthread_unix.cpp:310
#9  0x00007f68fae8c9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#10 0x00007f68faf10dfc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x7f68f56606c0 (LWP 5917) "WaylandEventThr"):
#1  __GI___lll_lock_wait (futex=futex@entry=0x565513385de8, private=0) at lowlevellock.c:49
#2  0x00007f68fae8fec2 in lll_mutex_lock_optimized (mutex=0x565513385de8) at pthread_mutex_lock.c:48
#3  ___pthread_mutex_lock (mutex=mutex@entry=0x565513385de8) at pthread_mutex_lock.c:93
#4  0x00007f68f9d9781d in wl_display_cancel_read (display=0x565513385cd0) at ../wayland-1.22.0/src/wayland-client.c:1898
#5  0x00007f68f9e14e66 in QtWaylandClient::EventThread::run() (this=0x565513383fb0) at /usr/src/debug/qt5-wayland/qtwayland/src/client/qwaylanddisplay.cpp:224
#6  0x00007f68fb6f35da in operator() (__closure=<optimized out>) at thread/qthread_unix.cpp:350
#7  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at thread/qthread_unix.cpp:287
#8  QThreadPrivate::start(void*) (arg=0x565513383fb0) at thread/qthread_unix.cpp:310
#9  0x00007f68fae8c9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#10 0x00007f68faf10dfc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x7f68f6d6d6c0 (LWP 5916) "QDBusConnection"):
#1  0x00007f68fa36c206 in g_main_context_poll_unlocked (priority=2147483647, n_fds=1, fds=0x7f68f00015c0, timeout=<optimized out>, context=0x7f68f0000c50) at ../glib/glib/gmain.c:4653
#2  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f68f0000c50, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4344
#3  0x00007f68fa30c112 in g_main_context_iteration (context=0x7f68f0000c50, may_block=1) at ../glib/glib/gmain.c:4414
#4  0x00007f68fb8eb53f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f68f0000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f68fb89b404 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f68f6d6cc90, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007f68fb6f73b6 in QThread::exec() (this=this@entry=0x7f68fcc6e660 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f68fcc06a9a in QDBusConnectionManager::run() (this=0x7f68fcc6e660 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /usr/src/debug/qt5-base/qtbase/src/dbus/qdbusconnection.cpp:179
#8  0x00007f68fb6f35da in operator() (__closure=<optimized out>) at thread/qthread_unix.cpp:350
#9  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at thread/qthread_unix.cpp:287
#10 QThreadPrivate::start(void*) (arg=0x7f68fcc6e660 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:310
#11 0x00007f68fae8c9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#12 0x00007f68faf10dfc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7f68f6d73280 (LWP 5915) "okular"):
#1  ___pthread_mutex_lock (mutex=mutex@entry=0x565513385de8) at pthread_mutex_lock.c:93
#2  0x00007f68f9d980e8 in wl_display_dispatch_queue_pending (display=0x565513385cd0, queue=0x565513385dc0) at ../wayland-1.22.0/src/wayland-client.c:2017
#3  0x00007f68f9e14c76 in QtWaylandClient::QWaylandDisplay::flushRequests() (this=<optimized out>) at /usr/src/debug/qt5-wayland/qtwayland/src/client/qwaylanddisplay.cpp:255
#4  0x00007f68fb8d17f3 in doActivate<false>(QObject*, int, void**) (sender=0x5655133a4cd0, signal_index=4, argv=0x7fffaadb1350) at kernel/qobject.cpp:3937
#5  0x00007f68fb8eb557 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5655133a4cd0, flags=...) at kernel/qeventdispatcher_glib.cpp:430
#6  0x00007f68fb89b404 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fffaadb1470, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#7  0x00007f68fccd420e in KJob::exec() (this=this@entry=0x565515782ce0) at /usr/include/qt/QtCore/qflags.h:121
#8  0x00007f68d42e6703 in Okular::Part::saveAs(QUrl const&, QFlags<Okular::Part::SaveAsFlag>) (this=this@entry=0x56551357e300, saveUrl=..., flags=...) at /usr/src/debug/okular/okular-23.08.0/part/part.cpp:2903
#9  0x00007f68d42e7d85 in Okular::Part::saveAs(QUrl const&) (saveUrl=..., this=0x56551357e300) at /usr/src/debug/okular/okular-23.08.0/part/part.cpp:2639
#10 Okular::Part::saveFile() (this=0x56551357e300) at /usr/src/debug/okular/okular-23.08.0/part/part.cpp:2577
#11 Okular::Part::saveFile() (this=0x56551357e300) at /usr/src/debug/okular/okular-23.08.0/part/part.cpp:2572
#12 0x00007f68fb8d1637 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffaadb1760, r=<optimized out>, this=0x5655150d6cd0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#13 doActivate<false>(QObject*, int, void**) (sender=0x565515086e60, signal_index=4, argv=0x7fffaadb1760) at kernel/qobject.cpp:3925
#14 0x00007f68fc56bbb7 in QAction::triggered(bool) (this=this@entry=0x565515086e60, _t1=<optimized out>) at .moc/moc_qaction.cpp:376
#15 0x00007f68fc57160b in QAction::activate(QAction::ActionEvent) (this=0x565515086e60, event=<optimized out>) at kernel/qaction.cpp:1161
#16 0x00007f68fc6f400b in QMenuPrivate::activateCausedStack(QVector<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) (this=this@entry=0x565515583f00, causedStack=..., action=action@entry=0x565515086e60, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1384
#17 0x00007f68fc6f412d in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) (this=0x565515583f00, action=0x565515086e60, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1461
#18 0x00007f68fc5af1e1 in QWidget::event(QEvent*) (this=0x5655155a9390, event=0x7fffaadb1d60) at kernel/qwidget.cpp:8671
#19 0x00007f68fc57893f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x56551337f650, receiver=receiver@entry=0x5655155a9390, e=e@entry=0x7fffaadb1d60) at kernel/qapplication.cpp:3640
#20 0x00007f68fc57ddef in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x5655155a9390, e=0x7fffaadb1d60) at kernel/qapplication.cpp:3084
#21 0x00007f68fb89c6f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5655155a9390, event=0x7fffaadb1d60) at kernel/qcoreapplication.cpp:1064
#22 0x00007f68fb89c783 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#23 0x00007f68fc57c12a in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) (receiver=0x5655155a9390, event=0x7fffaadb1d60, alienWidget=<optimized out>, nativeWidget=0x5655155a9390, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2622
#24 0x00007f68fc5cd9d4 in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=this@entry=0x5655158fcc10, event=event@entry=0x7fffaadb20c0) at kernel/qwidgetwindow.cpp:580
#25 0x00007f68fc5cec27 in QWidgetWindow::event(QEvent*) (this=0x5655158fcc10, event=0x7fffaadb20c0) at kernel/qwidgetwindow.cpp:300
#26 0x00007f68fc57893f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x5655158fcc10, e=0x7fffaadb20c0) at kernel/qapplication.cpp:3640
#27 0x00007f68fb89c6f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5655158fcc10, event=0x7fffaadb20c0) at kernel/qcoreapplication.cpp:1064
#28 0x00007f68fb89c783 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#29 0x00007f68fbd4193c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x7f68ec001fd0) at kernel/qguiapplication.cpp:2285
#30 0x00007f68fbd2a6c5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at kernel/qwindowsysteminterface.cpp:1169
#31 0x00007f68f9e50c25 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /usr/lib/libQt5WaylandClient.so.5
#32 0x00007f68fa30df19 in g_main_dispatch (context=0x7f68f0000ec0) at ../glib/glib/gmain.c:3476
#33 0x00007f68fa36c2b7 in g_main_context_dispatch_unlocked (context=0x7f68f0000ec0) at ../glib/glib/gmain.c:4284
#34 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f68f0000ec0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349
#35 0x00007f68fa30c112 in g_main_context_iteration (context=0x7f68f0000ec0, may_block=1) at ../glib/glib/gmain.c:4414
#36 0x00007f68fb8eb51c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5655133a4cd0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#37 0x00007f68fb89b404 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffaadb2460, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#38 0x00007f68fb89c8a3 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#39 0x00007f68fbd3bef2 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#40 0x00007f68fc576cda in QApplication::exec() () at kernel/qapplication.cpp:2832
#41 0x0000565511ddb4ca in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/okular/okular-23.08.0/shell/main.cpp:109
[Inferior 1 (process 5915) detached]

Reported using DrKonqi
Comment 1 Antonio Rojas 2023-09-13 06:37:21 UTC

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