Bug 458530 - Crash when trying to open certificate database
Summary: Crash when trying to open certificate database
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 22.08.0
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-08-31 03:35 UTC by apaulfox
Modified: 2023-07-14 12:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description apaulfox 2022-08-31 03:35:22 UTC
Application: okular (22.08.0)

Qt Version: 5.15.5
Frameworks Version: 5.97.0
Operating System: Linux 5.15.0-46-generic x86_64
Windowing System: X11
Distribution: KDE neon User - 5.25
DrKonqi: 5.25.4 [KCrashBackend]

-- Information about the crash:
When trying to open a certificate database in the default location of ~/pki/nssdb, after entering the passphrase, Okular crashes.

The crash can be reproduced every time.

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

[New LWP 541151]
[New LWP 541152]
[New LWP 541182]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f6a9cc5899f in __GI___poll (fds=0x7fff05808cf8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7f6a990cf9c0 (LWP 541150))]

Thread 4 (Thread 0x7f6a3542a700 (LWP 541182)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f6a9cfea701 in QtLinuxFutex::_q_futex (val3=0, addr2=0x0, val2=0, val=<optimized out>, op=0, addr=<optimized out>) at thread/qfutex_p.h:133
#2  QtLinuxFutex::futexWait<QBasicAtomicInteger<unsigned int> > (expectedValue=<optimized out>, futex=...) at thread/qfutex_p.h:135
#3  futexSemaphoreTryAcquire_loop<false> (timeout=-1, nn=8589934593, curValue=<optimized out>, u=...) at thread/qsemaphore.cpp:219
#4  futexSemaphoreTryAcquire<false> (timeout=-1, n=<optimized out>, u=...) at thread/qsemaphore.cpp:262
#5  QSemaphore::acquire (this=0x5622f5ee92b0, n=<optimized out>) at thread/qsemaphore.cpp:326
#6  0x00007f6a9403ee06 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okular/generators/okularGenerator_ghostview.so
#7  0x00007f6a9cfe8553 in QThreadPrivate::start (arg=0x5622f5ee92a0) at thread/qthread_unix.cpp:331
#8  0x00007f6a9c158609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f6a9cc65133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f6a96a0f700 (LWP 541152)):
#0  0x00007f6a9b73e25d in g_source_ref () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f6a9b73e328 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6a9b73f82b in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6a9b74029b in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6a9b7404a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f6a9d2295bb in QEventDispatcherGlib::processEvents (this=0x7f6a88000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f6a9d1cd76b in QEventLoop::exec (this=this@entry=0x7f6a96a0ebb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007f6a9cfe7372 in QThread::exec (this=this@entry=0x7f6a9d50fd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f6a9d48bf4b in QDBusConnectionManager::run (this=0x7f6a9d50fd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#9  0x00007f6a9cfe8553 in QThreadPrivate::start (arg=0x7f6a9d50fd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:331
#10 0x00007f6a9c158609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x00007f6a9cc65133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f6a982d8700 (LWP 541151)):
#0  0x00007f6a9cc5899f in __GI___poll (fds=0x7f6a982d7ae8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f6a9c437c1a in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f6a9c43990a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f6a98a033e8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f6a9cfe8553 in QThreadPrivate::start (arg=0x5622f4d59d70) at thread/qthread_unix.cpp:331
#5  0x00007f6a9c158609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f6a9cc65133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f6a990cf9c0 (LWP 541150)):
[KCrash Handler]
#4  0x00007f6a9dd8e110 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#5  0x00007f6a9dd8edd3 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#6  0x00007f6a9dd8d6ec in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007f6a9dd8edd3 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007f6a9dd8d6ec in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007f6a9dd8edd3 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f6a9dd8d6ec in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f6a9dd8edd3 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f6a9dd8d6ec in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f6a9dd8edd3 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f6a9dd8ecb6 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f6a9dd8ecb6 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f6a9dd8ecb6 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f6a9dd8d6ec in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f6a9dd8edd3 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f6a9dd8d6ec in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f6a9dd64769 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f6a9dd6505f in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f6a9ddb29ec in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f6a9ddb33e8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f6a9dd51e83 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f6a9dd5ac98 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007f6a9d1cec6a in QCoreApplication::notifyInternal2 (receiver=0x5622f5fc1f50, event=0x7fff0580b4b0) at ../../include/QtCore/5.15.5/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:332
#27 0x00007f6a9d653a73 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#28 0x00007f6a9d653cab in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#29 0x00007f6a9d62a66c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#30 0x00007f6a98a0440e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#31 0x00007f6a9b74017d in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f6a9b740400 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f6a9b7404a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f6a9d2295a2 in QEventDispatcherGlib::processEvents (this=0x5622f4e7ae10, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#35 0x00007f6a9d1cd76b in QEventLoop::exec (this=this@entry=0x7fff0580b790, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#36 0x00007f6a9d1d5914 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#37 0x00005622f3874cba in ?? ()
#38 0x00007f6a9cb6a083 in __libc_start_main (main=0x5622f38744f0, argc=2, argv=0x7fff0580b9b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff0580b9a8) at ../csu/libc-start.c:308
#39 0x00005622f3875cae in ?? ()
[Inferior 1 (process 541150) detached]

Reported using DrKonqi
Comment 1 Albert Astals Cid 2022-08-31 11:39:41 UTC
> When trying to open a certificate database in the default location of ~/pki/nssdb

What does this mean? 

What are you doing? Opening the settings dialog? Signing a file?

Also could you please install debug packages so the backtrace crash is better? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
Comment 2 Bug Janitor Service 2022-09-17 04:36:01 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 apaulfox 2022-09-19 23:11:25 UTC
This crash happens when I go to the menu 
    Settings > Configure Backends > PDF

Because I have a nssdb at the default location, it prompts me for the NSS Certificate DB password. Whether I enter the password and click "OK, or click "Cancel", Okular crashes.

I installed debug symbols for Okular and qt5core, so hopefully the following trace is more helpful, though there still seem to be a few missing symbols that I can't find packages for:

Application: Okular (okular), signal: Segmentation fault

[New LWP 11026]
[New LWP 11045]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f772b4d699f in __GI___poll (fds=0x7ffe2aa8cfb8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7f772794e000 (LWP 11025))]

Thread 3 (Thread 0x7f76cbfff700 (LWP 11045)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f772b8686f1 in QtLinuxFutex::_q_futex (val3=0, addr2=0x0, val2=0, val=<optimized out>, op=0, addr=<optimized out>) at thread/qfutex_p.h:133
#2  QtLinuxFutex::futexWait<QBasicAtomicInteger<unsigned int> > (expectedValue=<optimized out>, futex=...) at thread/qfutex_p.h:135
#3  futexSemaphoreTryAcquire_loop<false> (timeout=-1, nn=8589934593, curValue=<optimized out>, u=...) at thread/qsemaphore.cpp:219
#4  futexSemaphoreTryAcquire<false> (timeout=-1, n=<optimized out>, u=...) at thread/qsemaphore.cpp:262
#5  QSemaphore::acquire (this=0x55a207e08c30, n=<optimized out>) at thread/qsemaphore.cpp:326
#6  0x00007f771c6cbe06 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okular/generators/okularGenerator_ghostview.so
#7  0x00007f772b866543 in QThreadPrivate::start (arg=0x55a207e08c20) at thread/qthread_unix.cpp:330
#8  0x00007f772a9d6609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f772b4e3133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f7726b52700 (LWP 11026)):
#0  0x00007f772b4d699f in __GI___poll (fds=0x7f77200053c0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f7729fbe36e in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7729fbe4a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f772baa7b6b in QEventDispatcherGlib::processEvents (this=0x7f7720000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f772ba4bb0b in QEventLoop::exec (this=this@entry=0x7f7726b51bb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f772b865342 in QThread::exec (this=this@entry=0x7f772bd8dd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f772bd09f4b in QDBusConnectionManager::run (this=0x7f772bd8dd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#7  0x00007f772b866543 in QThreadPrivate::start (arg=0x7f772bd8dd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:330
#8  0x00007f772a9d6609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f772b4e3133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f772794e000 (LWP 11025)):
[KCrash Handler]
#4  0x00007f772c60d0d0 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#5  0x00007f772c60dd93 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#6  0x00007f772c60c6ac in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007f772c60dd93 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007f772c60c6ac in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007f772c60dd93 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f772c60c6ac in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f772c60dd93 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007f772c60c6ac in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f772c60dd93 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f772c60dc76 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f772c60c6ac in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f772c60dd93 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f772c60c6ac in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f772c5e3729 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f772c5e41c4 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f772c60d835 in QWidgetPrivate::syncBackingStore() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f772c6147ac in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f772c5d0e43 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f772c5d9c58 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f772ba4d00a in QCoreApplication::notifyInternal2 (receiver=0x55a207c5b1f0, event=0x7f77180081d0) at ../../include/QtCore/5.15.6/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:332
#25 0x00007f772ba4f911 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55a20701c3e0) at kernel/qcoreapplication.cpp:1821
#26 0x00007f772baa84f7 in postEventSourceDispatch (s=0x55a20713e510) at kernel/qeventdispatcher_glib.cpp:277
#27 0x00007f7729fbe17d in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f7729fbe400 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f7729fbe4a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f772baa7b52 in QEventDispatcherGlib::processEvents (this=0x55a20714b420, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#31 0x00007f772ba4bb0b in QEventLoop::exec (this=this@entry=0x7ffe2aa8f780, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#32 0x00007f772ba53cb4 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#33 0x000055a206250cba in main (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:102
[Inferior 1 (process 11025) detached]
Comment 4 Albert Astals Cid 2022-09-26 20:57:22 UTC
Please try installing the debug symbols for qt5-widgets or whatever the lib is called in neon, it's super weird that it may be crashing there.

If you run okular from the a terminal (e.g. konsole) do you get any output before/when okular crashes?
Comment 5 apaulfox 2022-09-27 00:18:46 UTC
The command line output is just the following:

Unable to open QuickAnnotatingTools XML definition
QWidget::repaint: Recursive repaint detected
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = okular path = /usr/bin pid = 48724
KCrash: Arguments: /usr/bin/okular 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi

[1]+  Stopped                 okular

It looks like maybe something is calling repaint() when it shouldn't be? But it doesn't seem to be anything in the trace, so maybe a repaint is getting triggered accidentally somewhere else, and it just isn't causing a crash until later.

Here's a dump with a bit more information, but okularGenerator_ghostview.so doesn't seem to have any debug symbols included in the package, and the other missing frame is unclear what's missing:

Application: Okular (okular), signal: Segmentation fault

[New LWP 49309]
[New LWP 49313]
[New LWP 49314]
[New LWP 49315]
[New LWP 49316]
[New LWP 49317]
[New LWP 49318]
[New LWP 49319]
[New LWP 49320]
[New LWP 49321]
[New LWP 49322]
[New LWP 49323]
[New LWP 49324]
[New LWP 49325]
[New LWP 49326]
[New LWP 49327]
[New LWP 49328]
[New LWP 49330]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f0adcc9499f in __GI___poll (fds=0x7fff530bddf8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7f0ad910a000 (LWP 49308))]

Thread 19 (Thread 0x7f0a811c5700 (LWP 49330)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f0add0266f1 in QtLinuxFutex::_q_futex (val3=0, addr2=0x0, val2=0, val=<optimized out>, op=0, addr=<optimized out>) at thread/qfutex_p.h:133
#2  QtLinuxFutex::futexWait<QBasicAtomicInteger<unsigned int> > (expectedValue=<optimized out>, futex=...) at thread/qfutex_p.h:135
#3  futexSemaphoreTryAcquire_loop<false> (timeout=-1, nn=8589934593, curValue=<optimized out>, u=...) at thread/qsemaphore.cpp:219
#4  futexSemaphoreTryAcquire<false> (timeout=-1, n=<optimized out>, u=...) at thread/qsemaphore.cpp:262
#5  QSemaphore::acquire (this=0x555f00799480, n=<optimized out>) at thread/qsemaphore.cpp:326
#6  0x00007f0acde78e06 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okular/generators/okularGenerator_ghostview.so
#7  0x00007f0add024543 in QThreadPrivate::start (arg=0x555f00799470) at thread/qthread_unix.cpp:330
#8  0x00007f0adc194609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f0adcca1133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 18 (Thread 0x7f0aa0ff9700 (LWP 49328)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f0aa0ff8b50, clockid=<optimized out>, expected=0, futex_word=0x555f00490df0) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f0aa0ff8b50, clockid=<optimized out>, mutex=0x555f00490da0, cond=0x555f00490dc8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x555f00490dc8, mutex=0x555f00490da0, abstime=0x7f0aa0ff8b50) at pthread_cond_wait.c:665
#3  0x00007f0add02a578 in QWaitConditionPrivate::wait_relative (this=0x555f00490da0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x555f00490da0) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x555f0048bb60, mutex=mutex@entry=0x555effc4d3c8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f0add027a91 in QThreadPoolThread::run (this=0x555f0048bb50) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007f0add024543 in QThreadPrivate::start (arg=0x555f0048bb50) at thread/qthread_unix.cpp:330
#8  0x00007f0adc194609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f0adcca1133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 17 (Thread 0x7f0aa17fa700 (LWP 49327)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f0aa17f9b50, clockid=<optimized out>, expected=0, futex_word=0x555f00490904) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f0aa17f9b50, clockid=<optimized out>, mutex=0x555f004908b0, cond=0x555f004908d8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x555f004908d8, mutex=0x555f004908b0, abstime=0x7f0aa17f9b50) at pthread_cond_wait.c:665
#3  0x00007f0add02a578 in QWaitConditionPrivate::wait_relative (this=0x555f004908b0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x555f004908b0) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x555f0048bb00, mutex=mutex@entry=0x555effc4d3c8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f0add027a91 in QThreadPoolThread::run (this=0x555f0048baf0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007f0add024543 in QThreadPrivate::start (arg=0x555f0048baf0) at thread/qthread_unix.cpp:330
#8  0x00007f0adc194609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f0adcca1133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 16 (Thread 0x7f0aa1ffb700 (LWP 49326)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f0aa1ffab50, clockid=<optimized out>, expected=0, futex_word=0x555f00490414) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f0aa1ffab50, clockid=<optimized out>, mutex=0x555f004903c0, cond=0x555f004903e8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x555f004903e8, mutex=0x555f004903c0, abstime=0x7f0aa1ffab50) at pthread_cond_wait.c:665
#3  0x00007f0add02a578 in QWaitConditionPrivate::wait_relative (this=0x555f004903c0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x555f004903c0) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x555f0048bde0, mutex=mutex@entry=0x555effc4d3c8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f0add027a91 in QThreadPoolThread::run (this=0x555f0048bdd0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007f0add024543 in QThreadPrivate::start (arg=0x555f0048bdd0) at thread/qthread_unix.cpp:330
#8  0x00007f0adc194609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f0adcca1133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7f0aa27fc700 (LWP 49325)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f0aa27fbb50, clockid=<optimized out>, expected=0, futex_word=0x555f0048ff20) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f0aa27fbb50, clockid=<optimized out>, mutex=0x555f0048fed0, cond=0x555f0048fef8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x555f0048fef8, mutex=0x555f0048fed0, abstime=0x7f0aa27fbb50) at pthread_cond_wait.c:665
#3  0x00007f0add02a578 in QWaitConditionPrivate::wait_relative (this=0x555f0048fed0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x555f0048fed0) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x555f0048b990, mutex=mutex@entry=0x555effc4d3c8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f0add027a91 in QThreadPoolThread::run (this=0x555f0048b980) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007f0add024543 in QThreadPrivate::start (arg=0x555f0048b980) at thread/qthread_unix.cpp:330
#8  0x00007f0adc194609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f0adcca1133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7f0aa2ffd700 (LWP 49324)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f0aa2ffcb50, clockid=<optimized out>, expected=0, futex_word=0x555f0048fa30) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f0aa2ffcb50, clockid=<optimized out>, mutex=0x555f0048f9e0, cond=0x555f0048fa08) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x555f0048fa08, mutex=0x555f0048f9e0, abstime=0x7f0aa2ffcb50) at pthread_cond_wait.c:665
#3  0x00007f0add02a578 in QWaitConditionPrivate::wait_relative (this=0x555f0048f9e0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x555f0048f9e0) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x555f0048e970, mutex=mutex@entry=0x555effc4d3c8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f0add027a91 in QThreadPoolThread::run (this=0x555f0048e960) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007f0add024543 in QThreadPrivate::start (arg=0x555f0048e960) at thread/qthread_unix.cpp:330
#8  0x00007f0adc194609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f0adcca1133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7f0aa37fe700 (LWP 49323)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f0aa37fdb50, clockid=<optimized out>, expected=0, futex_word=0x555f0048f544) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f0aa37fdb50, clockid=<optimized out>, mutex=0x555f0048f4f0, cond=0x555f0048f518) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x555f0048f518, mutex=0x555f0048f4f0, abstime=0x7f0aa37fdb50) at pthread_cond_wait.c:665
#3  0x00007f0add02a578 in QWaitConditionPrivate::wait_relative (this=0x555f0048f4f0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x555f0048f4f0) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x555f0048e940, mutex=mutex@entry=0x555effc4d3c8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f0add027a91 in QThreadPoolThread::run (this=0x555f0048e930) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007f0add024543 in QThreadPrivate::start (arg=0x555f0048e930) at thread/qthread_unix.cpp:330
#8  0x00007f0adc194609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f0adcca1133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7f0aa3fff700 (LWP 49322)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f0aa3ffeb50, clockid=<optimized out>, expected=0, futex_word=0x555f0048f054) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f0aa3ffeb50, clockid=<optimized out>, mutex=0x555f0048f000, cond=0x555f0048f028) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x555f0048f028, mutex=0x555f0048f000, abstime=0x7f0aa3ffeb50) at pthread_cond_wait.c:665
#3  0x00007f0add02a578 in QWaitConditionPrivate::wait_relative (this=0x555f0048f000, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x555f0048f000) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x555f0048b7d0, mutex=mutex@entry=0x555effc4d3c8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f0add027a91 in QThreadPoolThread::run (this=0x555f0048b7c0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007f0add024543 in QThreadPrivate::start (arg=0x555f0048b7c0) at thread/qthread_unix.cpp:330
#8  0x00007f0adc194609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f0adcca1133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f0ab8ac4700 (LWP 49321)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f0ab8ac3b50, clockid=<optimized out>, expected=0, futex_word=0x555f0048eb84) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f0ab8ac3b50, clockid=<optimized out>, mutex=0x555f0048eb30, cond=0x555f0048eb58) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x555f0048eb58, mutex=0x555f0048eb30, abstime=0x7f0ab8ac3b50) at pthread_cond_wait.c:665
#3  0x00007f0add02a578 in QWaitConditionPrivate::wait_relative (this=0x555f0048eb30, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x555f0048eb30) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x555f0048cfd0, mutex=mutex@entry=0x555effc4d3c8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f0add027a91 in QThreadPoolThread::run (this=0x555f0048cfc0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007f0add024543 in QThreadPrivate::start (arg=0x555f0048cfc0) at thread/qthread_unix.cpp:330
#8  0x00007f0adc194609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f0adcca1133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f0ab92c5700 (LWP 49320)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f0ab92c4b50, clockid=<optimized out>, expected=0, futex_word=0x555f0048e504) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f0ab92c4b50, clockid=<optimized out>, mutex=0x555f0048e4b0, cond=0x555f0048e4d8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x555f0048e4d8, mutex=0x555f0048e4b0, abstime=0x7f0ab92c4b50) at pthread_cond_wait.c:665
#3  0x00007f0add02a578 in QWaitConditionPrivate::wait_relative (this=0x555f0048e4b0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x555f0048e4b0) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x555f0048ce50, mutex=mutex@entry=0x555effc4d3c8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f0add027a91 in QThreadPoolThread::run (this=0x555f0048ce40) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007f0add024543 in QThreadPrivate::start (arg=0x555f0048ce40) at thread/qthread_unix.cpp:330
#8  0x00007f0adc194609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f0adcca1133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f0ab9ac6700 (LWP 49319)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f0ab9ac5b50, clockid=<optimized out>, expected=0, futex_word=0x555f0048e050) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f0ab9ac5b50, clockid=<optimized out>, mutex=0x555f0048e000, cond=0x555f0048e028) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x555f0048e028, mutex=0x555f0048e000, abstime=0x7f0ab9ac5b50) at pthread_cond_wait.c:665
#3  0x00007f0add02a578 in QWaitConditionPrivate::wait_relative (this=0x555f0048e000, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x555f0048e000) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x555f0048bb30, mutex=mutex@entry=0x555effc4d3c8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f0add027a91 in QThreadPoolThread::run (this=0x555f0048bb20) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007f0add024543 in QThreadPrivate::start (arg=0x555f0048bb20) at thread/qthread_unix.cpp:330
#8  0x00007f0adc194609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f0adcca1133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f0acce4d700 (LWP 49318)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f0acce4cb50, clockid=<optimized out>, expected=0, futex_word=0x555f0048dba4) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f0acce4cb50, clockid=<optimized out>, mutex=0x555f0048db50, cond=0x555f0048db78) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x555f0048db78, mutex=0x555f0048db50, abstime=0x7f0acce4cb50) at pthread_cond_wait.c:665
#3  0x00007f0add02a578 in QWaitConditionPrivate::wait_relative (this=0x555f0048db50, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x555f0048db50) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x555f0048bd60, mutex=mutex@entry=0x555effc4d3c8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f0add027a91 in QThreadPoolThread::run (this=0x555f0048bd50) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007f0add024543 in QThreadPrivate::start (arg=0x555f0048bd50) at thread/qthread_unix.cpp:330
#8  0x00007f0adc194609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f0adcca1133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f0acd64e700 (LWP 49317)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f0acd64db50, clockid=<optimized out>, expected=0, futex_word=0x555f003f9844) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f0acd64db50, clockid=<optimized out>, mutex=0x555f003f97f0, cond=0x555f003f9818) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x555f003f9818, mutex=0x555f003f97f0, abstime=0x7f0acd64db50) at pthread_cond_wait.c:665
#3  0x00007f0add02a578 in QWaitConditionPrivate::wait_relative (this=0x555f003f97f0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x555f003f97f0) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x555f0048bad0, mutex=mutex@entry=0x555effc4d3c8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f0add027a91 in QThreadPoolThread::run (this=0x555f0048bac0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007f0add024543 in QThreadPrivate::start (arg=0x555f0048bac0) at thread/qthread_unix.cpp:330
#8  0x00007f0adc194609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f0adcca1133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f0ace774700 (LWP 49316)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f0ace773b50, clockid=<optimized out>, expected=0, futex_word=0x555f003c7ff0) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f0ace773b50, clockid=<optimized out>, mutex=0x555f003c7fa0, cond=0x555f003c7fc8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x555f003c7fc8, mutex=0x555f003c7fa0, abstime=0x7f0ace773b50) at pthread_cond_wait.c:665
#3  0x00007f0add02a578 in QWaitConditionPrivate::wait_relative (this=0x555f003c7fa0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x555f003c7fa0) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x555f003c2ee0, mutex=mutex@entry=0x555effc4d3c8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f0add027a91 in QThreadPoolThread::run (this=0x555f003c2ed0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007f0add024543 in QThreadPrivate::start (arg=0x555f003c2ed0) at thread/qthread_unix.cpp:330
#8  0x00007f0adc194609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f0adcca1133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f0acef75700 (LWP 49315)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f0acef74b50, clockid=<optimized out>, expected=0, futex_word=0x555f003c7c74) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f0acef74b50, clockid=<optimized out>, mutex=0x555f003c7c20, cond=0x555f003c7c48) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x555f003c7c48, mutex=0x555f003c7c20, abstime=0x7f0acef74b50) at pthread_cond_wait.c:665
#3  0x00007f0add02a578 in QWaitConditionPrivate::wait_relative (this=0x555f003c7c20, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x555f003c7c20) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x555f003c7180, mutex=mutex@entry=0x555effc4d3c8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f0add027a91 in QThreadPoolThread::run (this=0x555f003c7170) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007f0add024543 in QThreadPrivate::start (arg=0x555f003c7170) at thread/qthread_unix.cpp:330
#8  0x00007f0adc194609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f0adcca1133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f0acf776700 (LWP 49314)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f0acf775b50, clockid=<optimized out>, expected=0, futex_word=0x555f003c77d4) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f0acf775b50, clockid=<optimized out>, mutex=0x555f003c7780, cond=0x555f003c77a8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x555f003c77a8, mutex=0x555f003c7780, abstime=0x7f0acf775b50) at pthread_cond_wait.c:665
#3  0x00007f0add02a578 in QWaitConditionPrivate::wait_relative (this=0x555f003c7780, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x555f003c7780) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x555f003c7300, mutex=mutex@entry=0x555effc4d3c8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f0add027a91 in QThreadPoolThread::run (this=0x555f003c72f0) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007f0add024543 in QThreadPrivate::start (arg=0x555f003c72f0) at thread/qthread_unix.cpp:330
#8  0x00007f0adc194609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f0adcca1133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f0acff77700 (LWP 49313)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7f0acff76b50, clockid=<optimized out>, expected=0, futex_word=0x555efffabe40) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7f0acff76b50, clockid=<optimized out>, mutex=0x555efffabdf0, cond=0x555efffabe18) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x555efffabe18, mutex=0x555efffabdf0, abstime=0x7f0acff76b50) at pthread_cond_wait.c:665
#3  0x00007f0add02a578 in QWaitConditionPrivate::wait_relative (this=0x555efffabdf0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x555efffabdf0) at thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x555f003c7360, mutex=mutex@entry=0x555effc4d3c8, deadline=...) at thread/qwaitcondition_unix.cpp:225
#6  0x00007f0add027a91 in QThreadPoolThread::run (this=0x555f003c7350) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007f0add024543 in QThreadPrivate::start (arg=0x555f003c7350) at thread/qthread_unix.cpp:330
#8  0x00007f0adc194609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f0adcca1133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f0ad830e700 (LWP 49309)):
#0  0x00007f0adcc9499f in __GI___poll (fds=0x7f0ad00053c0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f0adb77b36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f0ad00053c0, timeout=<optimized out>, context=0x7f0ad0001ce0) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f0ad0001ce0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f0adb77b4a3 in g_main_context_iteration (context=0x7f0ad0001ce0, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f0add265b9b in QEventDispatcherGlib::processEvents (this=0x7f0ad0000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f0add209b3b in QEventLoop::exec (this=this@entry=0x7f0ad830dbb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f0add023342 in QThread::exec (this=this@entry=0x7f0add54bd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f0add4c7f4b in QDBusConnectionManager::run (this=0x7f0add54bd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#8  0x00007f0add024543 in QThreadPrivate::start (arg=0x7f0add54bd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:330
#9  0x00007f0adc194609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f0adcca1133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f0ad910a000 (LWP 49308)):
[KCrash Handler]
#4  0x0000555f008cfb50 in ?? ()
#5  0x00007f0adddca9fd in QWidgetPrivate::drawWidget (this=0x555f007f6850, pdev=0x555f00852e00, rgn=..., offset=..., flags=..., sharedPainter=<optimized out>, repaintManager=<optimized out>) at kernel/qwidget.cpp:5432
#6  0x00007f0adddcbd93 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x555f008171c0, pdev=pdev@entry=0x555f00852e00, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555f007b7ed0) at ../../include/QtCore/../../src/corelib/tools/qpoint.h:124
#7  0x00007f0adddca6ac in QWidgetPrivate::drawWidget (this=0x555f008171c0, pdev=0x555f00852e00, rgn=..., offset=..., flags=..., sharedPainter=<optimized out>, repaintManager=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:176
#8  0x00007f0adddcbd93 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x555efffbbd90, pdev=pdev@entry=0x555f00852e00, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555f007b7ed0) at ../../include/QtCore/../../src/corelib/tools/qpoint.h:124
#9  0x00007f0adddca6ac in QWidgetPrivate::drawWidget (this=0x555efffbbd90, pdev=0x555f00852e00, rgn=..., offset=..., flags=..., sharedPainter=<optimized out>, repaintManager=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:176
#10 0x00007f0adddcbd93 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x555f00816df0, pdev=pdev@entry=0x555f00852e00, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555f007b7ed0) at ../../include/QtCore/../../src/corelib/tools/qpoint.h:124
#11 0x00007f0adddca6ac in QWidgetPrivate::drawWidget (this=0x555f00816df0, pdev=0x555f00852e00, rgn=..., offset=..., flags=..., sharedPainter=<optimized out>, repaintManager=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:176
#12 0x00007f0adddcbd93 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x555f005ed410, pdev=pdev@entry=0x555f00852e00, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555f007b7ed0) at ../../include/QtCore/../../src/corelib/tools/qpoint.h:124
#13 0x00007f0adddca6ac in QWidgetPrivate::drawWidget (this=0x555f005ed410, pdev=0x555f00852e00, rgn=..., offset=..., flags=..., sharedPainter=<optimized out>, repaintManager=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:176
#14 0x00007f0adddcbd93 in QWidgetPrivate::paintSiblingsRecursive (this=0x555f007074c0, pdev=0x555f00852e00, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555f007b7ed0) at ../../include/QtCore/../../src/corelib/tools/qpoint.h:124
#15 0x00007f0adddcbc76 in QWidgetPrivate::paintSiblingsRecursive (this=0x555f007074c0, pdev=0x555f00852e00, siblings=..., index=1, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555f007b7ed0) at kernel/qwidget.cpp:5585
#16 0x00007f0adddcbc76 in QWidgetPrivate::paintSiblingsRecursive (this=0x555f007074c0, pdev=0x555f00852e00, siblings=..., index=3, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555f007b7ed0) at kernel/qwidget.cpp:5585
#17 0x00007f0adddcbc76 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x555f007074c0, pdev=pdev@entry=0x555f00852e00, siblings=..., index=4, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555f007b7ed0) at kernel/qwidget.cpp:5585
#18 0x00007f0adddca6ac in QWidgetPrivate::drawWidget (this=0x555f007074c0, pdev=0x555f00852e00, rgn=..., offset=..., flags=..., sharedPainter=<optimized out>, repaintManager=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:176
#19 0x00007f0adddcbd93 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x555f005b3700, pdev=pdev@entry=0x555f00852e00, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x555f007b7ed0) at ../../include/QtCore/../../src/corelib/tools/qpoint.h:124
#20 0x00007f0adddca6ac in QWidgetPrivate::drawWidget (this=0x555f005b3700, pdev=0x555f00852e00, rgn=..., offset=..., flags=..., sharedPainter=<optimized out>, repaintManager=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:176
#21 0x00007f0addda1729 in QWidgetRepaintManager::paintAndFlush (this=this@entry=0x555f007b7ed0) at ../../include/QtCore/../../src/corelib/tools/qpoint.h:122
#22 0x00007f0addda21c4 in QWidgetRepaintManager::sync (this=0x555f007b7ed0) at kernel/qwidgetrepaintmanager.cpp:770
#23 0x00007f0adddcb835 in QWidgetPrivate::syncBackingStore (this=0x555f005b3700) at kernel/qwidget.cpp:1756
#24 0x00007f0adddd27ac in QWidget::event (this=0x555f007121a0, event=0x7f0ac80085b0) at kernel/qwidget.cpp:8979
#25 0x00007f0addd8ee43 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x555f007121a0, e=0x7f0ac80085b0) at kernel/qapplication.cpp:3637
#26 0x00007f0addd97c58 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3161
#27 0x00007f0add20b03a in QCoreApplication::notifyInternal2 (receiver=0x555f007121a0, event=0x7f0ac80085b0) at ../../include/QtCore/5.15.6/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:332
#28 0x00007f0add20d941 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x555eff9a73e0) at kernel/qcoreapplication.cpp:1821
#29 0x00007f0add266527 in postEventSourceDispatch (s=0x555effac9700) at kernel/qeventdispatcher_glib.cpp:277
#30 0x00007f0adb77b17d in g_main_dispatch (context=0x7f0ad0005000) at ../../../glib/gmain.c:3309
#31 g_main_context_dispatch (context=context@entry=0x7f0ad0005000) at ../../../glib/gmain.c:3974
#32 0x00007f0adb77b400 in g_main_context_iterate (context=context@entry=0x7f0ad0005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4047
#33 0x00007f0adb77b4a3 in g_main_context_iteration (context=0x7f0ad0005000, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#34 0x00007f0add265b82 in QEventDispatcherGlib::processEvents (this=0x555effad65c0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#35 0x00007f0add209b3b in QEventLoop::exec (this=this@entry=0x7fff530c07f0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#36 0x00007f0add211ce4 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#37 0x0000555efea93cba in main (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:102
[Inferior 1 (process 49308) detached]
Comment 6 Albert Astals Cid 2022-09-30 14:32:56 UTC
The "Unable to open QuickAnnotatingTools XML definition" may or may not be important, but it's also defenitely strange, did you self compile OKular or are you running a distribution one?
Comment 7 Laura David Hurka 2022-10-01 14:12:32 UTC
(In reply to Albert Astals Cid from comment #6)
> The "Unable to open QuickAnnotatingTools XML definition" may or may not be
> important, but it's also defenitely strange, did you self compile OKular or
> are you running a distribution one?

I guess the lazyness inherent to all humans still hasn’t shipped this file to Neon. ;)
https://bugs.kde.org/show_bug.cgi?id=425887
Comment 8 thilo 2023-07-14 12:48:24 UTC
I run in the same poblem. Trying to sign a pdf document with a smart card (d-trust and card reader REINERSCT cyberJack RFID komfort). When I want to open the module, okular crashes. My configuration (no self compiled software, just standard from openSuSE 15.5):
olular 23.04.0
kde framework 5.105.0
Qt Version 5.15.9 
poppler 23.01.0

Is there a simple solution for adding the missing QuickAnnotatingTools XML definition?