How to reproduce: 1) Start kleopatra 2) Click column header "Valid until" to sort the certificates based on the values of that column. 3) Uncheck "Hierarchical Certificate List" from the "view menu" QSortFilterProxyModel: index from wrong model passed to mapToSource ASSERT: "!"QSortFilterProxyModel: index from wrong model passed to mapToSource"" in file itemmodels/qsortfilterproxymodel.cpp, line 381 Kleopatra 18.04.2 KDE Frameworks 5.47.0 KDE Plasma 5.12.5 Qt 5.9.6 Gentoo Linux x86_64 #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 #1 0x00007ffff238af6f in __GI_abort () at abort.c:90 #2 0x00007ffff2dd9c17 in qt_message_fatal (context=..., message=<synthetic pointer>...) at global/qlogging.cpp:1690 #3 QMessageLogger::fatal (this=this@entry=0x7fffffffbf70, msg=msg@entry=0x7ffff3091ec0 "ASSERT: \"%s\" in file %s, line %d") at global/qlogging.cpp:796 #4 0x00007ffff2dd1dc6 in qt_assert (assertion=assertion@entry=0x7ffff3152848 "!\"QSortFilterProxyModel: index from wrong model passed to mapToSource\"", file=file@entry=0x7ffff31527b0 "itemmodels/qsortfilterproxymodel.cpp", line=line@entry=381) at global/qglobal.cpp:3080 #5 0x00007ffff2f97ff1 in QSortFilterProxyModelPrivate::proxy_to_source (this=0x555555fc7190, proxy_index=...) at itemmodels/qsortfilterproxymodel.cpp:381 #6 0x00007ffff2f98021 in QSortFilterProxyModel::mapToSource (this=<optimized out>, proxyIndex=...) at itemmodels/qsortfilterproxymodel.cpp:2673 #7 0x00007ffff78fd1c6 in Kleo::AbstractKeyListSortFilterProxyModel::key (this=this@entry=0x555555fc6840, idx=...) at /var/tmp/portage/kde-apps/libkleo-18.04.2/work/libkleo-18.04.2/src/models/keylistsortfilterproxymodel.cpp:77 #8 0x0000555555622414 in Kleo::KeyTreeView::setHierarchicalView (this=0x555555fc6f10, on=on@entry=false) at /var/tmp/portage/kde-apps/kleopatra-18.04.2/work/kleopatra-18.04.2/src/view/keytreeview.cpp:324 #9 0x00005555556407d5 in (anonymous namespace)::Page::setHierarchicalView (on=false, this=<optimized out>) at /var/tmp/portage/kde-apps/kleopatra-18.04.2/work/kleopatra-18.04.2/src/view/tabwidget.cpp:298 #10 Kleo::TabWidget::Private::toggleHierarchicalView (on=false, page=<optimized out>, this=<optimized out>) at /var/tmp/portage/kde-apps/kleopatra-18.04.2/work/kleopatra-18.04.2/src/view/tabwidget.cpp:642 #11 Kleo::TabWidget::Private::slotToggleHierarchicalView (on=false, this=<optimized out>) at /var/tmp/portage/kde-apps/kleopatra-18.04.2/work/kleopatra-18.04.2/src/view/tabwidget.cpp:359 #12 Kleo::TabWidget::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-apps/kleopatra-18.04.2/work/kleopatra-18.04.2_build/src/kleopatra_bin_autogen/include/moc_tabwidget.cpp:182 #13 0x00007ffff300a57e in QMetaObject::activate (sender=sender@entry=0x555555d834d0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7fffffffc2c0) at kernel/qobject.cpp:3767 #14 0x00007ffff300a94f in QMetaObject::activate (sender=sender@entry=0x555555d834d0, m=m@entry=0x7ffff4458960 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7fffffffc2c0) at kernel/qobject.cpp:3629 #15 0x00007ffff3d18382 in QAction::toggled (this=this@entry=0x555555d834d0, _t1=<optimized out>, _t1@entry=false) at .moc/moc_qaction.cpp:386 #16 0x00007ffff3d1b119 in QAction::setChecked (this=this@entry=0x555555d834d0, b=<optimized out>) at kernel/qaction.cpp:981 #17 0x00007ffff3d1b280 in QAction::activate (this=this@entry=0x555555d834d0, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1162 #18 0x00007ffff3ec03ac in QMenuPrivate::activateCausedStack (this=this@entry=0x555555c2b5d0, causedStack=..., action=action@entry=0x555555d834d0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1323 #19 0x00007ffff3ec80eb in QMenuPrivate::activateAction (this=this@entry=0x555555c2b5d0, action=action@entry=0x555555d834d0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1400 #20 0x00007ffff3ec8f83 in QMenu::mouseReleaseEvent (this=<optimized out>, e=0x7fffffffc940) at widgets/qmenu.cpp:2888 #21 0x00007ffff3d660d8 in QWidget::event (this=this@entry=0x555555d9a430, event=event@entry=0x7fffffffc940) at kernel/qwidget.cpp:9280 #22 0x00007ffff3ecb2bb in QMenu::event (this=0x555555d9a430, e=0x7fffffffc940) at widgets/qmenu.cpp:3010 #23 0x00007ffff3d2009c in QApplicationPrivate::notify_helper (this=this@entry=0x555555b21aa0, receiver=receiver@entry=0x555555d9a430, e=e@entry=0x7fffffffc940) at kernel/qapplication.cpp:3722 #24 0x00007ffff3d2848f in QApplication::notify (this=<optimized out>, receiver=0x555555d9a430, e=0x7fffffffc940) at kernel/qapplication.cpp:3198 #25 0x00007ffff2fd6d67 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x555555d9a430, event=event@entry=0x7fffffffc940) at kernel/qcoreapplication.cpp:1024 #26 0x00007ffff3d27462 in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233 #27 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x555555d9a430, event=event@entry=0x7fffffffc940, alienWidget=0x0, alienWidget@entry=0x555555d9a430, nativeWidget=0x555555d9a430, buttonDown=buttonDown@entry=0x7ffff4487330 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2704 #28 0x00007ffff3d84cf5 in QWidgetWindow::handleMouseEvent (this=this@entry=0x555555d00eb0, event=event@entry=0x7fffffffcd40) at kernel/qwidgetwindow.cpp:523 #29 0x00007ffff3d8766a in QWidgetWindow::event (this=0x555555d00eb0, event=0x7fffffffcd40) at kernel/qwidgetwindow.cpp:250 #30 0x00007ffff3d2009c in QApplicationPrivate::notify_helper (this=this@entry=0x555555b21aa0, receiver=receiver@entry=0x555555d00eb0, e=e@entry=0x7fffffffcd40) at kernel/qapplication.cpp:3722 #31 0x00007ffff3d27f34 in QApplication::notify (this=0x7fffffffd2e0, receiver=0x555555d00eb0, e=0x7fffffffcd40) at kernel/qapplication.cpp:3481 #32 0x00007ffff2fd6d67 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x555555d00eb0, event=event@entry=0x7fffffffcd40) at kernel/qcoreapplication.cpp:1024 #33 0x00007ffff3569d9b in QCoreApplication::sendSpontaneousEvent (event=0x7fffffffcd40, receiver=0x555555d00eb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236 #34 QGuiApplicationPrivate::processMouseEvent (e=0x555555b43db0) at kernel/qguiapplication.cpp:1952 #35 0x00007ffff356b9a5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x555555b43db0) at kernel/qguiapplication.cpp:1733 #36 0x00007ffff353cc3b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:946 #37 0x00007fffe4fddbf0 in userEventSourceDispatch (source=<optimized out>) at qeventdispatcher_glib.cpp:77 #38 0x00007fffec4354f7 in g_main_dispatch (context=0x7fffdc004ff0) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3234 #39 g_main_context_dispatch (context=context@entry=0x7fffdc004ff0) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3899 #40 0x00007fffec435758 in g_main_context_iterate (context=context@entry=0x7fffdc004ff0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3972 #41 0x00007fffec43585b in g_main_context_iteration (context=0x7fffdc004ff0, may_block=may_block@entry=1) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:4033 #42 0x00007ffff303a50f in QEventDispatcherGlib::processEvents (this=0x555555b88600, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #43 0x00007ffff2fd4e8b in QEventLoop::exec (this=this@entry=0x7fffffffd130, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 #44 0x00007ffff2fdf444 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1297 #45 0x00005555555df63f in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-apps/kleopatra-18.04.2/work/kleopatra-18.04.2/src/main.cpp:248 Full backtrace: #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 set = {__val = {0, 93824999848112, 232, 8, 63, 140736884430168, 4294967295, 140737268101931, 93825001181360, 5561851240636564736, 136, 5561851240636564736, 140737488338384, 140737260938464, 140737488338384, 140737488339008}} pid = <optimized out> tid = <optimized out> ret = <optimized out> #1 0x00007ffff238af6f in __GI_abort () at abort.c:90 save_stage = 2 act = {__sigaction_handler = {sa_handler = 0x7ffff78f1160 <non-virtual thunk to Kleo::AbstractKeyListModel::key(QModelIndex const&) const>, sa_sigaction = 0x7ffff78f1160 <non-virtual thunk to Kleo::AbstractKeyListModel::key(QModelIndex const&) const>}, sa_mask = {__val = {140737351951823, 140737488338800, 140737351972104, 140737488338568, 140737267990412, 93825003475408, 5561851240636564736, 140737346736480, 5561851240636564736, 140737488338800, 140737488338568, 3, 140737488338800, 140737488339008, 140737267990904, 140737488339008}}, sa_flags = 1135953152, sa_restorer = 0x7fffffffbe88} sigs = {__val = {32, 0 <repeats 15 times>}} #2 0x00007ffff2dd9c17 in qt_message_fatal (context=..., message=<synthetic pointer>...) at global/qlogging.cpp:1690 No locals. #3 QMessageLogger::fatal (this=this@entry=0x7fffffffbf70, msg=msg@entry=0x7ffff3091ec0 "ASSERT: \"%s\" in file %s, line %d") at global/qlogging.cpp:796 message = <optimized out> ap = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fffffffbf70, reg_save_area = 0x7fffffffbeb0}} #4 0x00007ffff2dd1dc6 in qt_assert (assertion=assertion@entry=0x7ffff3152848 "!\"QSortFilterProxyModel: index from wrong model passed to mapToSource\"", file=file@entry=0x7ffff31527b0 "itemmodels/qsortfilterproxymodel.cpp", line=line@entry=381) at global/qglobal.cpp:3080 No locals. #5 0x00007ffff2f97ff1 in QSortFilterProxyModelPrivate::proxy_to_source (this=0x555555fc7190, proxy_index=...) at itemmodels/qsortfilterproxymodel.cpp:381 it = <optimized out> m = <optimized out> source_row = <optimized out> source_col = <optimized out> #6 0x00007ffff2f98021 in QSortFilterProxyModel::mapToSource (this=<optimized out>, proxyIndex=...) at itemmodels/qsortfilterproxymodel.cpp:2673 d = <optimized out> #7 0x00007ffff78fd1c6 in Kleo::AbstractKeyListSortFilterProxyModel::key (this=this@entry=0x555555fc6840, idx=...) at /var/tmp/portage/kde-apps/libkleo-18.04.2/work/libkleo-18.04.2/src/models/keylistsortfilterproxymodel.cpp:77 klmi = 0x555555cb8d90 #8 0x0000555555622414 in Kleo::KeyTreeView::setHierarchicalView (this=0x555555fc6f10, on=on@entry=false) at /var/tmp/portage/kde-apps/kleopatra-18.04.2/work/kleopatra-18.04.2/src/view/keytreeview.cpp:324 selectedKeys = std::vector of length 0, capacity 0 currentKey = {static null = {<No data fields>}, key = std::shared_ptr<_gpgme_key> (use count 1437735584, weak count 21844) = {get() = 0x0}} #9 0x00005555556407d5 in (anonymous namespace)::Page::setHierarchicalView (on=false, this=<optimized out>) at /var/tmp/portage/kde-apps/kleopatra-18.04.2/work/kleopatra-18.04.2/src/view/tabwidget.cpp:298 No locals. #10 Kleo::TabWidget::Private::toggleHierarchicalView (on=false, page=<optimized out>, this=<optimized out>) at /var/tmp/portage/kde-apps/kleopatra-18.04.2/work/kleopatra-18.04.2/src/view/tabwidget.cpp:642 No locals. #11 Kleo::TabWidget::Private::slotToggleHierarchicalView (on=false, this=<optimized out>) at /var/tmp/portage/kde-apps/kleopatra-18.04.2/work/kleopatra-18.04.2/src/view/tabwidget.cpp:359 No locals. #12 Kleo::TabWidget::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-apps/kleopatra-18.04.2/work/kleopatra-18.04.2_build/src/kleopatra_bin_autogen/include/moc_tabwidget.cpp:182 _t = <optimized out> #13 0x00007ffff300a57e in QMetaObject::activate (sender=sender@entry=0x555555d834d0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7fffffffc2c0) at kernel/qobject.cpp:3767 methodIndex = <optimized out> method_relative = 20 callFunction = 0x555555640320 <Kleo::TabWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)> receiver = 0x555555c249a0 receiverInSameThread = <optimized out> sw = {receiver = 0x555555c249a0, previousSender = 0x0, currentSender = {sender = 0x555555d834d0, signal = 7, ref = 1}, switched = true} c = 0x555555cd0c90 last = 0x555555cd0c90 locker = {val = 140737274837960} connectionLists = {connectionLists = 0x555555c96be0} list = 0x555555de1d18 currentThreadId = 0x7ffff7f7c780 signal_index = 7 empty_argv = {0x0} __PRETTY_FUNCTION__ = "static void QMetaObject::activate(QObject*, int, int, void**)" #14 0x00007ffff300a94f in QMetaObject::activate (sender=sender@entry=0x555555d834d0, m=m@entry=0x7ffff4458960 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7fffffffc2c0) at kernel/qobject.cpp:3629 No locals. #15 0x00007ffff3d18382 in QAction::toggled (this=this@entry=0x555555d834d0, _t1=<optimized out>, _t1@entry=false) at .moc/moc_qaction.cpp:386 _a = {0x0, 0x7fffffffc2bc} #16 0x00007ffff3d1b119 in QAction::setChecked (this=this@entry=0x555555d834d0, b=<optimized out>) at kernel/qaction.cpp:981 d = <optimized out> guard = <optimized out> #17 0x00007ffff3d1b280 in QAction::activate (this=this@entry=0x555555d834d0, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1162 guard = <optimized out> d = <optimized out> #18 0x00007ffff3ec03ac in QMenuPrivate::activateCausedStack (this=this@entry=0x555555c2b5d0, causedStack=..., action=action@entry=0x555555d834d0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1323 guard = {block = @0x555555c2b920, reset = false} #19 0x00007ffff3ec80eb in QMenuPrivate::activateAction (this=this@entry=0x555555c2b5d0, action=action@entry=0x555555d834d0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1400 q = <optimized out> inWhatsThisMode = false causedStack = {d = 0x555555b444d0} #20 0x00007ffff3ec8f83 in QMenu::mouseReleaseEvent (this=<optimized out>, e=0x7fffffffc940) at widgets/qmenu.cpp:2888 d = <optimized out> action = 0x555555d834d0 #21 0x00007ffff3d660d8 in QWidget::event (this=this@entry=0x555555d9a430, event=event@entry=0x7fffffffc940) at kernel/qwidget.cpp:9280 d = <optimized out> #22 0x00007ffff3ecb2bb in QMenu::event (this=0x555555d9a430, e=0x7fffffffc940) at widgets/qmenu.cpp:3010 d = <optimized out> #23 0x00007ffff3d2009c in QApplicationPrivate::notify_helper (this=this@entry=0x555555b21aa0, receiver=receiver@entry=0x555555d9a430, e=e@entry=0x7fffffffc940) at kernel/qapplication.cpp:3722 consumed = <optimized out> #24 0x00007ffff3d2848f in QApplication::notify (this=<optimized out>, receiver=0x555555d9a430, e=0x7fffffffc940) at kernel/qapplication.cpp:3198 me = {<QInputEvent> = {<QEvent> = {_vptr.QEvent = 0x7ffff3bb5a78 <vtable for QMouseEvent+16>, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff3158c40 <qt_meta_stringdata_QEvent>, data = 0x7ffff3158680 <qt_meta_data_QEvent>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 3, posted = 0, spont = 1, m_accept = 1, reserved = 0}, modState = {i = 0}, ts = 1284770}, l = {xp = 53, yp = 103}, w = {xp = 93, yp = 133}, s = {xp = 333, yp = 394}, b = Qt::LeftButton, mouseState = {i = 0}, caps = 0, velocity = {xp = 0, yp = 0}} w = 0x555555d9a430 mouse = 0x7fffffffc940 eventAccepted = <optimized out> relpos = {xp = 53, yp = 103} pw = {wp = {d = 0x555555d3c870, value = 0x555555d9a430}} d = <optimized out> res = false me = <optimized out> #25 0x00007ffff2fd6d67 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x555555d9a430, event=event@entry=0x7fffffffc940) at kernel/qcoreapplication.cpp:1024 selfRequired = true result = false cbdata = {0x555555d9a430, 0x7fffffffc940, 0x7fffffffc79f} d = <optimized out> threadData = 0x555555b1fac0 scopeLevelCounter = {threadData = 0x555555b1fac0} #26 0x00007ffff3d27462 in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233 No locals. #27 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x555555d9a430, event=event@entry=0x7fffffffc940, alienWidget=0x0, alienWidget@entry=0x555555d9a430, nativeWidget=0x555555d9a430, buttonDown=buttonDown@entry=0x7ffff4487330 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2704 receiverGuard = {wp = {d = 0x555555d3c870, value = 0x555555d9a430}} nativeGuard = {wp = {d = 0x555555d3c870, value = 0x555555d9a430}} alienGuard = {wp = {d = 0x0, value = 0x0}} activePopupWidget = {wp = {d = 0x555555d3c870, value = 0x555555d9a430}} graphicsWidget = <optimized out> widgetUnderMouse = <optimized out> wasLeaveAfterRelease = false result = <optimized out> #28 0x00007ffff3d84cf5 in QWidgetWindow::handleMouseEvent (this=this@entry=0x555555d00eb0, event=event@entry=0x7fffffffcd40) at kernel/qwidgetwindow.cpp:523 reallyUnderMouse = <optimized out> e = {<QInputEvent> = {<QEvent> = {_vptr.QEvent = 0x7ffff3bb5a78 <vtable for QMouseEvent+16>, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff3158c40 <qt_meta_stringdata_QEvent>, data = 0x7ffff3158680 <qt_meta_data_QEvent>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 3, posted = 0, spont = 1, m_accept = 1, reserved = 7466}, modState = {i = 0}, ts = 1284770}, l = {xp = 53, yp = 103}, w = {xp = 93, yp = 133}, s = {xp = 333, yp = 394}, b = Qt::LeftButton, mouseState = {i = 0}, caps = 0, velocity = {xp = 0, yp = 0}} receiver = 0x555555d9a430 widgetPos = <optimized out> underMouse = <optimized out> popupChild = 0x0 activePopupWidget = 0x555555d9a430 mapped = {xp = 53, yp = 103} releaseAfter = true oldOpenPopupCount = 3 contextMenuTrigger = QEvent::MouseButtonPress widget = <optimized out> mapped = {xp = 1437926096, yp = 21845} receiver = <optimized out> #29 0x00007ffff3d8766a in QWidgetWindow::event (this=0x555555d00eb0, event=0x7fffffffcd40) at kernel/qwidgetwindow.cpp:250 event = 0x7fffffffcd40 this = 0x555555d00eb0 state = <optimized out> ev = <optimized out> widgetEvent = <optimized out> #30 0x00007ffff3d2009c in QApplicationPrivate::notify_helper (this=this@entry=0x555555b21aa0, receiver=receiver@entry=0x555555d00eb0, e=e@entry=0x7fffffffcd40) at kernel/qapplication.cpp:3722 consumed = <optimized out> #31 0x00007ffff3d27f34 in QApplication::notify (this=0x7fffffffd2e0, receiver=0x555555d00eb0, e=0x7fffffffcd40) at kernel/qapplication.cpp:3481 w = 0x555555d00eb0 extra = <optimized out> isProxyWidget = <optimized out> d = <optimized out> res = false me = <optimized out> #32 0x00007ffff2fd6d67 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x555555d00eb0, event=event@entry=0x7fffffffcd40) at kernel/qcoreapplication.cpp:1024 selfRequired = true result = false cbdata = {0x555555d00eb0, 0x7fffffffcd40, 0x7fffffffcc0f} d = <optimized out> threadData = 0x555555b1fac0 scopeLevelCounter = {threadData = 0x555555b1fac0} #33 0x00007ffff3569d9b in QCoreApplication::sendSpontaneousEvent (event=0x7fffffffcd40, receiver=0x555555d00eb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236 No locals. #34 QGuiApplicationPrivate::processMouseEvent (e=0x555555b43db0) at kernel/qguiapplication.cpp:1952 type = QEvent::MouseButtonRelease stateChange = <optimized out> window = 0x555555d00eb0 localPoint = {xp = 93, yp = 133} globalPoint = {xp = 333, yp = 394} button = Qt::LeftButton doubleClick = false frameStrut = false ev = {<QInputEvent> = {<QEvent> = {_vptr.QEvent = 0x7ffff3bb5a78 <vtable for QMouseEvent+16>, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff3158c40 <qt_meta_stringdata_QEvent>, data = 0x7ffff3158680 <qt_meta_data_QEvent>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 3, posted = 0, spont = 1, m_accept = 1, reserved = 7040}, modState = {i = 0}, ts = 1284770}, l = {xp = 93, yp = 133}, w = {xp = 93, yp = 133}, s = {xp = 333, yp = 394}, b = Qt::LeftButton, mouseState = {i = 0}, caps = 0, velocity = {xp = 0, yp = 0}} #35 0x00007ffff356b9a5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x555555b43db0) at kernel/qguiapplication.cpp:1733 __PRETTY_FUNCTION__ = "static void QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)" #36 0x00007ffff353cc3b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:946 event = 0x555555b43db0 nevents = 1 #37 0x00007fffe4fddbf0 in userEventSourceDispatch (source=<optimized out>) at qeventdispatcher_glib.cpp:77 userEventSource = <optimized out> dispatcher = <optimized out> #38 0x00007fffec4354f7 in g_main_dispatch (context=0x7fffdc004ff0) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3234 dispatch = 0x7fffe4fddbd0 <userEventSourceDispatch(GSource*, GSourceFunc, gpointer)> prev_source = 0x0 was_in_call = 0 user_data = 0x0 callback = 0x0 cb_funcs = <optimized out> cb_data = <optimized out> need_destroy = <optimized out> source = 0x555555b81290 current = 0x555555b90f80 i = 1 current = <optimized out> i = <optimized out> source = <optimized out> _g_boolean_var_ = <optimized out> was_in_call = <optimized out> user_data = <optimized out> callback = <optimized out> cb_funcs = <optimized out> cb_data = <optimized out> need_destroy = <optimized out> dispatch = <optimized out> prev_source = <optimized out> _g_boolean_var_ = <optimized out> #39 g_main_context_dispatch (context=context@entry=0x7fffdc004ff0) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3899 No locals. #40 0x00007fffec435758 in g_main_context_iterate (context=context@entry=0x7fffdc004ff0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3972 max_priority = 0 timeout = 0 some_ready = 1 nfds = 5 allocated_nfds = 5 fds = <optimized out> got_ownership = <optimized out> __n = <optimized out> __s = <optimized out> __p = <optimized out> __n = <optimized out> __s = <optimized out> __p = <optimized out> #41 0x00007fffec43585b in g_main_context_iteration (context=0x7fffdc004ff0, may_block=may_block@entry=1) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:4033 retval = <optimized out> #42 0x00007ffff303a50f in QEventDispatcherGlib::processEvents (this=0x555555b88600, flags=...) at kernel/qeventdispatcher_glib.cpp:423 d = 0x555555b807b0 canWait = true savedFlags = {i = 0} result = <optimized out> #43 0x00007ffff2fd4e8b in QEventLoop::exec (this=this@entry=0x7fffffffd130, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 d = 0x555555fc1070 locker = {val = 93824998308816} __PRETTY_FUNCTION__ = "int QEventLoop::exec(QEventLoop::ProcessEventsFlags)" ref = {d = 0x555555fc1070, locker = @0x7fffffffd0b8, exceptionCaught = true} app = <optimized out> #44 0x00007ffff2fdf444 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1297 threadData = 0x555555b1fac0 __PRETTY_FUNCTION__ = "static int QCoreApplication::exec()" eventLoop = {<QObject> = {_vptr.QObject = 0x7ffff3458be8 <vtable for QEventLoop+16>, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff315eb60 <qt_meta_stringdata_QObject>, data = 0x7ffff315ea40 <qt_meta_data_QObject>, static_metacall = 0x7ffff3012360 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x555555fc1070}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff3161800 <qt_meta_stringdata_Qt>, data = 0x7ffff315ec80 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7ffff34512a0 <QObject::staticMetaObject>, stringdata = 0x7ffff3157600 <qt_meta_stringdata_QEventLoop>, data = 0x7ffff31575a0 <qt_meta_data_QEventLoop>, static_metacall = 0x7ffff2fd4a80 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}} returnCode = <optimized out> #45 0x00005555555df63f in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-apps/kleopatra-18.04.2/work/kleopatra-18.04.2/src/main.cpp:248 app = {<QApplication> = {<QGuiApplication> = {<QCoreApplication> = {<QObject> = {_vptr.QObject = 0x555555afe3b8 <vtable for KleopatraApplication+16>, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff315eb60 <qt_meta_stringdata_QObject>, data = 0x7ffff315ea40 <qt_meta_data_QObject>, static_metacall = 0x7ffff3012360 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x555555b21aa0}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff3161800 <qt_meta_stringdata_Qt>, data = 0x7ffff315ec80 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7ffff34512a0 <QObject::staticMetaObject>, stringdata = 0x7ffff3158340 <qt_meta_stringdata_QCoreApplication>, data = 0x7ffff3158220 <qt_meta_data_QCoreApplication>, static_metacall = 0x7ffff2fd9020 <QCoreApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, static self = 0x7fffffffd2e0}, static staticMetaObject = {d = {superdata = 0x7ffff3458d80 <QCoreApplication::staticMetaObject>, stringdata = 0x7ffff38d42c0 <qt_meta_stringdata_QGuiApplication>, data = 0x7ffff38d4060 <qt_meta_data_QGuiApplication>, static_metacall = 0x7ffff356bb80 <QGuiApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7ffff3bb5380 <QGuiApplication::staticMetaObject>, stringdata = 0x7ffff40fe240 <qt_meta_stringdata_QApplication>, data = 0x7ffff40fe0c0 <qt_meta_data_QApplication>, static_metacall = 0x7ffff3d25510 <QApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7ffff4458ba0 <QApplication::staticMetaObject>, stringdata = 0x555555873dc0 <qt_meta_stringdata_KleopatraApplication>, data = 0x555555873ba0 <qt_meta_data_KleopatraApplication>, static_metacall = 0x555555826a60 <KleopatraApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d = {d = 0x555555b98b00}} timer = {mds = 41720081} service = {<QObject> = {_vptr.QObject = 0x555555afdb40 <vtable for KUniqueService+16>, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff315eb60 <qt_meta_stringdata_QObject>, data = 0x7ffff315ea40 <qt_meta_data_QObject>, static_metacall = 0x7ffff3012360 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x555555b9f420}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff3161800 <qt_meta_stringdata_Qt>, data = 0x7ffff315ec80 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7ffff34512a0 <QObject::staticMetaObject>, stringdata = 0x555555874bc0 <qt_meta_stringdata_KUniqueService>, data = 0x555555874b20 <qt_meta_data_KUniqueService>, static_metacall = 0x555555826520 <KUniqueService::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = 0x555555b98e00} aboutData = {<KAboutData> = {d = 0x555555c44ef0}, <No data fields>} parser = {d = 0x555555c34710} migrate = {d = 0x555555c312c0} gpgmeInitError = {mErr = 0, mMessage = ""} rc = <optimized out> server = {<QObject> = {_vptr.QObject = 0x555555afe040 <vtable for Kleo::UiServer+16>, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff315eb60 <qt_meta_stringdata_QObject>, data = 0x7ffff315ea40 <qt_meta_data_QObject>, static_metacall = 0x7ffff3012360 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x555555c22410}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7ffff3161800 <qt_meta_stringdata_Qt>, data = 0x7ffff315ec80 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7ffff34512a0 <QObject::staticMetaObject>, stringdata = 0x555555874380 <qt_meta_stringdata_Kleo__UiServer>, data = 0x555555874280 <qt_meta_data_Kleo__UiServer>, static_metacall = 0x555555826800 <Kleo::UiServer::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d = {d = 0x555555c456f0}} daemon = false
I can reproduce it and will look into it.