https://bugs.kde.org/show_bug.cgi?id=447409
Bug ID: 447409 Summary: okular crash when try to insert annotation stamp Product: okular Version: 21.12.0 Platform: Neon Packages OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: okular-devel@kde.org Reporter: codice...@gmail.com Target Milestone: --- Application: okular (21.12.0) Qt Version: 5.15.3 Frameworks Version: 5.89.0 Operating System: Linux 5.11.0-43-generic x86_64 Windowing System: X11 Distribution: KDE neon User - Plasma 25th Anniversary Edition DrKonqi: 5.23.4 [KCrashBackend] -- Information about the crash: - What I was doing when the application crashed: in annotation option i selected stamp to insert and okular is crashed The crash can be reproduced every time. -- Backtrace: Application: Okular (okular), signal: Segmentation fault [New LWP 24844] [New LWP 24851] [New LWP 24852] [New LWP 24853] [New LWP 24854] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 0x00007fd1df7fdaff in __GI___poll (fds=0x7ffc0f5b23f8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29 __preamble__ [Current thread is 1 (Thread 0x7fd1dbc92980 (LWP 24839))] Thread 6 (Thread 0x7fd1c6048700 (LWP 24854)): #0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55e06661ac18) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e06661abc8, cond=0x55e06661abf0) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x55e06661abf0, mutex=0x55e06661abc8) at pthread_cond_wait.c:638 #3 0x00007fd1d0f56e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #4 0x00007fd1d0f56a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #5 0x00007fd1ded18609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #6 0x00007fd1df80a293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 5 (Thread 0x7fd1c6849700 (LWP 24853)): #0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55e06661ac18) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e06661abc8, cond=0x55e06661abf0) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x55e06661abf0, mutex=0x55e06661abc8) at pthread_cond_wait.c:638 #3 0x00007fd1d0f56e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #4 0x00007fd1d0f56a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #5 0x00007fd1ded18609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #6 0x00007fd1df80a293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 4 (Thread 0x7fd1c2849700 (LWP 24852)): #0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55e06661ac18) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e06661abc8, cond=0x55e06661abf0) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x55e06661abf0, mutex=0x55e06661abc8) at pthread_cond_wait.c:638 #3 0x00007fd1d0f56e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #4 0x00007fd1d0f56a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #5 0x00007fd1ded18609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #6 0x00007fd1df80a293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7fd1d0bbc700 (LWP 24851)): #0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55e06661ac18) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e06661abc8, cond=0x55e06661abf0) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x55e06661abf0, mutex=0x55e06661abc8) at pthread_cond_wait.c:638 #3 0x00007fd1d0f56e7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #4 0x00007fd1d0f56a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so #5 0x00007fd1ded18609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #6 0x00007fd1df80a293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7fd1d9792700 (LWP 24844)): #0 0x00007fd1df7fdaff in __GI___poll (fds=0x7fd1cc004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007fd1de2f636e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fd1de2f64a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fd1dfdcb61b in QEventDispatcherGlib::processEvents (this=0x7fd1cc000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #4 0x00007fd1dfd6f8ab in QEventLoop::exec (this=this@entry=0x7fd1d9791bf0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141 #5 0x00007fd1dfb892c2 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #6 0x00007fd1e002cf4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5 #7 0x00007fd1dfb8a45c in QThreadPrivate::start (arg=0x7fd1e00b0d80) at thread/qthread_unix.cpp:329 #8 0x00007fd1ded18609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #9 0x00007fd1df80a293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7fd1dbc92980 (LWP 24839)): [KCrash Handler] #4 0x00007fd1d846ec69 in StampAnnotationWidget::createStyleWidget (this=0x55e0669c6be0, formlayout=0x55e0669c8d60) at ./part/annotationwidgets.cpp:442 #5 0x00007fd1d84699c4 in AnnotationWidget::createAppearanceWidget (this=this@entry=0x55e0669c6be0) at ./part/annotationwidgets.cpp:247 #6 0x00007fd1d84699e9 in AnnotationWidget::appearanceWidget (this=0x55e0669c6be0) at ./part/annotationwidgets.cpp:219 #7 0x00007fd1d8422207 in EditAnnotToolDialog::rebuildAppearanceBox (this=this@entry=0x7ffc0f5b4490) at ./part/editannottooldialog.cpp:337 #8 0x00007fd1d8424045 in EditAnnotToolDialog::slotTypeChanged (this=0x7ffc0f5b4490) at ./part/editannottooldialog.cpp:460 #9 0x00007fd1dfda7dce in QtPrivate::QSlotObjectBase::call (a=0x7ffc0f5b3370, r=0x7ffc0f5b4490, this=0x55e0669c2170) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #10 doActivate<false> (sender=0x55e06699cab0, signal_index=12, argv=0x7ffc0f5b3370) at kernel/qobject.cpp:3886 #11 0x00007fd1dfda1197 in QMetaObject::activate (sender=sender@entry=0x55e06699cab0, m=m@entry=0x7fd1e0e01a60 <QComboBox::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7ffc0f5b3370) at kernel/qobject.cpp:3946 #12 0x00007fd1e09f3035 in QComboBox::currentIndexChanged (this=this@entry=0x55e06699cab0, _t1=<optimized out>) at .moc/moc_qcombobox.cpp:538 #13 0x00007fd1e09f5526 in QComboBoxPrivate::_q_emitCurrentIndexChanged (this=this@entry=0x55e0669ae930, index=...) at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:62 #14 0x00007fd1e09f7f8d in QComboBoxPrivate::setCurrentIndex (this=this@entry=0x55e0669ae930, mi=...) at widgets/qcombobox.cpp:2327 #15 0x00007fd1e09f81ad in QComboBoxPrivate::_q_itemSelected (this=0x55e0669ae930, item=...) at widgets/qcombobox.cpp:1428 #16 0x00007fd1e09fde35 in QComboBox::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7ffc0f5b3620) at widgets/qcombobox.h:276 #17 0x00007fd1dfda7e00 in doActivate<false> (sender=0x7fd1d4008f00, signal_index=7, argv=0x7ffc0f5b3620) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395 #18 0x00007fd1dfda1197 in QMetaObject::activate (sender=sender@entry=0x7fd1d4008f00, m=m@entry=0x7fd1e0e019a0 <QComboBoxPrivateContainer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc0f5b3620) at kernel/qobject.cpp:3946 #19 0x00007fd1e09f30e6 in QComboBoxPrivateContainer::itemSelected (this=this@entry=0x7fd1d4008f00, _t1=...) at .moc/moc_qcombobox_p.cpp:348 #20 0x00007fd1e09f395a in QComboBoxPrivateContainer::eventFilter (this=0x7fd1d4008f00, o=0x55e0669bad50, e=0x7ffc0f5b3b90) at widgets/qcombobox.cpp:820 #21 0x00007fd1dfd70b13 in QCoreApplicationPrivate::sendThroughObjectEventFilters (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.cpp:1190 #22 QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x55e0669bad50, event=event@entry=0x7ffc0f5b3b90) at kernel/qcoreapplication.cpp:1179 #23 0x00007fd1e08e8db2 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55e0669bad50, e=0x7ffc0f5b3b90) at kernel/qapplication.cpp:3626 #24 0x00007fd1e08f1e77 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3076 #25 0x00007fd1dfd70daa in QCoreApplication::notifyInternal2 (receiver=0x55e0669bad50, event=0x7ffc0f5b3b90) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325 #26 0x00007fd1e08f10a7 in QApplicationPrivate::sendMouseEvent (receiver=0x55e0669bad50, event=event@entry=0x7ffc0f5b3b90, alienWidget=0x55e0669bad50, nativeWidget=0x7fd1d4008f00, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2614 #27 0x00007fd1e09479de in QWidgetWindow::handleMouseEvent (this=0x55e066803370, event=0x7ffc0f5b4010) at /usr/include/c++/9/bits/atomic_base.h:413 #28 0x00007fd1e094a264 in QWidgetWindow::event (event=0x7ffc0f5b4010, this=0x55e066803370) at kernel/qwidgetwindow.cpp:300 #29 QWidgetWindow::event (this=0x55e066803370, event=0x7ffc0f5b4010) at kernel/qwidgetwindow.cpp:239 #30 0x00007fd1e08e8dc3 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55e066803370, e=0x7ffc0f5b4010) at kernel/qapplication.cpp:3632 #31 0x00007fd1e08f1bb8 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3156 #32 0x00007fd1dfd70daa in QCoreApplication::notifyInternal2 (receiver=0x55e066803370, event=0x7ffc0f5b4010) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325 #33 0x00007fd1e01f24d8 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at kernel/qguiapplication.cpp:2282 #34 0x00007fd1e01f3b45 in QGuiApplicationPrivate::processWindowSystemEvent (e=0x55e0669b6330) at kernel/qguiapplication.cpp:2002 #35 0x00007fd1e01cb7ac in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169 #36 0x00007fd1db870eae in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105 #37 0x00007fd1de2f617d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #38 0x00007fd1de2f6400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #39 0x00007fd1de2f64a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #40 0x00007fd1dfdcb602 in QEventDispatcherGlib::processEvents (this=0x55e065d2f300, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #41 0x00007fd1dfd6f8ab in QEventLoop::exec (this=this@entry=0x7ffc0f5b43b0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141 #42 0x00007fd1e0af48fd in QDialog::exec (this=0x7ffc0f5b4490) at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #43 0x00007fd1d8427fed in WidgetAnnotTools::slotAdd (this=0x55e0668f63c0) at ./part/widgetannottools.cpp:143 #44 0x00007fd1dfda7dce in QtPrivate::QSlotObjectBase::call (a=0x7ffc0f5b4630, r=0x55e0668f63c0, this=0x55e0668ffe30) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #45 doActivate<false> (sender=0x55e0668fce40, signal_index=9, argv=0x7ffc0f5b4630) at kernel/qobject.cpp:3886 #46 0x00007fd1dfda1197 in QMetaObject::activate (sender=sender@entry=0x55e0668fce40, m=m@entry=0x7fd1e0dff600 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffc0f5b4630) at kernel/qobject.cpp:3946 #47 0x00007fd1e09e0cb6 in QAbstractButton::clicked (this=this@entry=0x55e0668fce40, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:308 #48 0x00007fd1e09e0ede in QAbstractButtonPrivate::emitClicked (this=0x55e0668fd910) at widgets/qabstractbutton.cpp:415 #49 0x00007fd1e09e23b3 in QAbstractButtonPrivate::click (this=0x55e0668fd910) at widgets/qabstractbutton.cpp:408 #50 0x00007fd1e09e2575 in QAbstractButton::mouseReleaseEvent (this=0x55e0668fce40, e=0x7ffc0f5b4bf0) at widgets/qabstractbutton.cpp:1044 #51 0x00007fd1e092bcf6 in QWidget::event (this=0x55e0668fce40, event=0x7ffc0f5b4bf0) at kernel/qwidget.cpp:8664 #52 0x00007fd1e09e37a3 in QAbstractButton::event (this=this@entry=0x55e0668fce40, e=e@entry=0x7ffc0f5b4bf0) at widgets/qabstractbutton.cpp:1001 #53 0x00007fd1e0a86dd3 in QPushButton::event (this=0x55e0668fce40, e=0x7ffc0f5b4bf0) at widgets/qpushbutton.cpp:709 #54 0x00007fd1e08e8dc3 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55e0668fce40, e=0x7ffc0f5b4bf0) at kernel/qapplication.cpp:3632 #55 0x00007fd1e08f1e77 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3076 #56 0x00007fd1dfd70daa in QCoreApplication::notifyInternal2 (receiver=0x55e0668fce40, event=0x7ffc0f5b4bf0) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325 #57 0x00007fd1e08f10a7 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x55e0668fce40, event=event@entry=0x7ffc0f5b4bf0, alienWidget=alienWidget@entry=0x55e0668fce40, nativeWidget=0x55e0667c3e50, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2614 #58 0x00007fd1e0946f44 in QWidgetWindow::handleMouseEvent (this=0x55e06681c470, event=0x7ffc0f5b5070) at /usr/include/c++/9/bits/atomic_base.h:413 #59 0x00007fd1e094a264 in QWidgetWindow::event (event=0x7ffc0f5b5070, this=0x55e06681c470) at kernel/qwidgetwindow.cpp:300 #60 QWidgetWindow::event (this=0x55e06681c470, event=0x7ffc0f5b5070) at kernel/qwidgetwindow.cpp:239 #61 0x00007fd1e08e8dc3 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55e06681c470, e=0x7ffc0f5b5070) at kernel/qapplication.cpp:3632 #62 0x00007fd1e08f1bb8 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3156 #63 0x00007fd1dfd70daa in QCoreApplication::notifyInternal2 (receiver=0x55e06681c470, event=0x7ffc0f5b5070) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325 #64 0x00007fd1e01f24d8 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at kernel/qguiapplication.cpp:2282 #65 0x00007fd1e01f3b45 in QGuiApplicationPrivate::processWindowSystemEvent (e=0x55e0669a56c0) at kernel/qguiapplication.cpp:2002 #66 0x00007fd1e01cb7ac in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169 #67 0x00007fd1db870eae in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105 #68 0x00007fd1de2f617d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #69 0x00007fd1de2f6400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #70 0x00007fd1de2f64a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #71 0x00007fd1dfdcb602 in QEventDispatcherGlib::processEvents (this=0x55e065d2f300, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #72 0x00007fd1dfd6f8ab in QEventLoop::exec (this=this@entry=0x7ffc0f5b5410, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141 #73 0x00007fd1dfd77a64 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #74 0x000055e064da0e3a in main (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:103 [Inferior 1 (process 24839) detached] Reported using DrKonqi -- You are receiving this mail because: You are the assignee for the bug.