https://bugs.kde.org/show_bug.cgi?id=391499
--- Comment #5 from yves.can...@ens-lyon.fr --- (In reply to Rolf Eike Beer from comment #4) > > I recompiled kgpg. > > I killed the running kgpg and ran it from Konsole. Got the following: > > $ kgpg > > This could very likely run the kgpg binary in your path, which probably > is the distro one. Try "./kgpg" in your build directory. > > Please also make sure to have debug symbols and messages enabled, see > https://utils.kde.org/projects/kgpg/building.php > Please use "-D CMAKE_BUILD_TYPE=Debug" instead of DebugFull, this is > obsolete and does not work anymore (will fix it later). I use Gentoo, so kgpg was the distro but also the correct binary. Here I used git and everything as explained here: https://utils.kde.org/projects/kgpg/building.php When clicking on a key, opening the dialog via a right click and trying to set the new trust level, then apply, and then cancel. In terminal, a lot of line like these (until it ends) log_kgpg: KGpgChangeTrust(0x55ae25fdb4e0) "[GNUPG:] GOT_IT" log_kgpg: old 0 new 0 log_kgpg: KGpgChangeTrust(0x55ae25fdb4e0) "[GNUPG:] GET_LINE edit_ownertrust.value" log_kgpg: KGpgChangeTrust(0x55ae25fdb4e0) "5\n" log_kgpg: old 0 new 0 log_kgpg: KGpgChangeTrust(0x55ae25fdb4e0) "[GNUPG:] GOT_IT" log_kgpg: old 0 new 0 log_kgpg: KGpgChangeTrust(0x55ae25fdb4e0) "[GNUPG:] GET_BOOL edit_ownertrust.set_ultimate.okay" log_kgpg: KGpgChangeTrust(0x55ae25fdb4e0) "YES\n" log_kgpg: KGpgChangeTrust(0x55ae25fdb4e0) "[GNUPG:] GOT_IT" log_kgpg: old 0 new 0 log_kgpg: KGpgChangeTrust(0x55ae25fdb4e0) "[GNUPG:] GET_LINE edit_ownertrust.value" log_kgpg: KGpgChangeTrust(0x55ae25fdb4e0) "5\n" log_kgpg: old 0 new 0 log_kgpg: KGpgChangeTrust(0x55ae25fdb4e0) "[GNUPG:] GOT_IT" log_kgpg: old 0 new 0 log_kgpg: KGpgChangeTrust(0x55ae25fdb4e0) "[GNUPG:] GET_LINE edit_ownertrust.value" log_kgpg: KGpgChangeTrust(0x55ae25fdb4e0) "5\n" log_kgpg: old 0 new 0 log_kgpg: KGpgChangeTrust(0x55ae25fdb4e0) "[GNUPG:] GOT_IT" log_kgpg: old 0 new 0 log_kgpg: KGpgChangeTrust(0x55ae25fdb4e0) "[GNUPG:] GET_BOOL edit_ownertrust.set_ultimate.okay" log_kgpg: KGpgChangeTrust(0x55ae25fdb4e0) "YES\n" QProcess: Destroyed while process ("gpg") is still running. gpg: signal Terminated caught ... exiting log_kgpg: KGpgTransaction(0x55ae25fdb4e0) "[GNUPG:] GOT_IT" pure virtual method called terminate called without an active exception KCrash: Application 'kgpg' crashing... KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit sock_file=/run/user/1000/kdeinit5__0 QSocketNotifier: Invalid socket 8 and type 'Read', disabling... QSocketNotifier: Invalid socket 10 and type 'Read', disabling... QSocketNotifier: Invalid socket 9 and type 'Read', disabling... QSocketNotifier: Invalid socket 11 and type 'Read', disabling... [1]+ Stoppé ./kgpg And the log: Application: KGpg (kgpg), signal: Aborted Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f20bceaf780 (LWP 28160))] Thread 6 (Thread 0x7f2092032700 (LWP 28172)): #0 0x00007f20b523a920 in poll () from /lib64/libc.so.6 #1 0x00007f20afc4c966 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0 #2 0x00007f20afc4ca7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007f20b60bb00b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #4 0x00007f20b606a01a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #5 0x00007f20b5ec8583 in QThread::exec() () from /usr/lib64/libQt5Core.so.5 #6 0x00007f20b5ecca41 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5 #7 0x00007f20b26a6907 in start_thread () from /lib64/libpthread.so.0 #8 0x00007f20b5245ccf in clone () from /lib64/libc.so.6 Thread 5 (Thread 0x7f209471f700 (LWP 28170)): #0 0x00007f20b26ad876 in pthread_cond_wait () from /lib64/libpthread.so.0 #1 0x00007f209f1b1ef3 in thread_function () from /usr/lib64/dri/swrast_dri.so #2 0x00007f209f1b1d57 in impl_thrd_routine () from /usr/lib64/dri/swrast_dri.so #3 0x00007f20b26a6907 in start_thread () from /lib64/libpthread.so.0 #4 0x00007f20b5245ccf in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7f2094f20700 (LWP 28169)): #0 0x00007f20b26ad876 in pthread_cond_wait () from /lib64/libpthread.so.0 #1 0x00007f209f1b1ef3 in thread_function () from /usr/lib64/dri/swrast_dri.so #2 0x00007f209f1b1d57 in impl_thrd_routine () from /usr/lib64/dri/swrast_dri.so #3 0x00007f20b26a6907 in start_thread () from /lib64/libpthread.so.0 #4 0x00007f20b5245ccf in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7f20a57d1700 (LWP 28162)): #0 0x00007f20afc921a9 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0 #1 0x00007f20afc4c922 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0 #2 0x00007f20afc4ca7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007f20b60bb00b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #4 0x00007f20b606a01a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #5 0x00007f20b5ec8583 in QThread::exec() () from /usr/lib64/libQt5Core.so.5 #6 0x00007f20b672cec5 in QDBusConnectionManager::run() () from /usr/lib64/libQt5DBus.so.5 #7 0x00007f20b5ecca41 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5 #8 0x00007f20b26a6907 in start_thread () from /lib64/libpthread.so.0 #9 0x00007f20b5245ccf in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7f20a82a8700 (LWP 28161)): #0 0x00007f20b523a94d in poll () from /lib64/libc.so.6 #1 0x00007f20b199c860 in _xcb_conn_wait () from /usr/lib64/libxcb.so.1 #2 0x00007f20b199e5f9 in xcb_wait_for_event () from /usr/lib64/libxcb.so.1 #3 0x00007f20aa6051b9 in QXcbEventReader::run() () from /usr/lib64/libQt5XcbQpa.so.5 #4 0x00007f20b5ecca41 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5 #5 0x00007f20b26a6907 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f20b5245ccf in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7f20bceaf780 (LWP 28160)): [KCrash Handler] #6 0x00007f20b5181f80 in raise () from /lib64/libc.so.6 #7 0x00007f20b5183c4a in abort () from /lib64/libc.so.6 #8 0x00007f20b5ade0fd in __gnu_cxx::__verbose_terminate_handler () at /var/tmp/portage/sys-devel/gcc-6.4.0-r1/work/gcc-6.4.0/libstdc++-v3/libsupc++/vterminate.cc:95 #9 0x00007f20b5adbec6 in __cxxabiv1::__terminate (handler=<optimized out>) at /var/tmp/portage/sys-devel/gcc-6.4.0-r1/work/gcc-6.4.0/libstdc++-v3/libsupc++/eh_terminate.cc:47 #10 0x00007f20b5adbf11 in std::terminate () at /var/tmp/portage/sys-devel/gcc-6.4.0-r1/work/gcc-6.4.0/libstdc++-v3/libsupc++/eh_terminate.cc:57 #11 0x00007f20b5adca7f in __cxxabiv1::__cxa_pure_virtual () at /var/tmp/portage/sys-devel/gcc-6.4.0-r1/work/gcc-6.4.0/libstdc++-v3/libsupc++/pure.cc:50 #12 0x000055ae24e881f2 in KGpgTransactionPrivate::slotReadReady() () #13 0x000055ae24e86057 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (KGpgTransactionPrivate::*)()>::call(void (KGpgTransactionPrivate::*)(), KGpgTransactionPrivate*, void**) () #14 0x000055ae24e85ee0 in void QtPrivate::FunctionPointer<void (KGpgTransactionPrivate::*)()>::call<QtPrivate::List<>, void>(void (KGpgTransactionPrivate::*)(), KGpgTransactionPrivate*, void**) () #15 0x000055ae24e85bb7 in QtPrivate::QSlotObject<void (KGpgTransactionPrivate::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () #16 0x00007f20b6093a0e in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #17 0x000055ae24f3a311 in GPGProc::readReady() () #18 0x000055ae24ef8b57 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (GPGProc::*)()>::call(void (GPGProc::*)(), GPGProc*, void**) () #19 0x000055ae24ef898b in void QtPrivate::FunctionPointer<void (GPGProc::*)()>::call<QtPrivate::List<>, void>(void (GPGProc::*)(), GPGProc*, void**) () #20 0x000055ae24ef8791 in QtPrivate::QSlotObject<void (GPGProc::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () #21 0x00007f20b6093a0e in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #22 0x000055ae24f3dec1 in KLineBufferedProcess::lineReadyStandardOutput() () #23 0x000055ae24ef9694 in KLineBufferedProcessPrivate::_k_receivedStdout() () #24 0x000055ae24ef94d4 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (KLineBufferedProcessPrivate::*)()>::call(void (KLineBufferedProcessPrivate::*)(), KLineBufferedProcessPrivate*, void**) () #25 0x000055ae24ef9457 in void QtPrivate::FunctionPointer<void (KLineBufferedProcessPrivate::*)()>::call<QtPrivate::List<>, void>(void (KLineBufferedProcessPrivate::*)(), KLineBufferedProcessPrivate*, void**) () #26 0x000055ae24ef93c1 in QtPrivate::QSlotObject<void (KLineBufferedProcessPrivate::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () #27 0x00007f20b6093a0e in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #28 0x00007f20b5ffa1ca in QProcess::readyReadStandardOutput(QProcess::QPrivateSignal) () from /usr/lib64/libQt5Core.so.5 #29 0x00007f20b5fff8b0 in QProcessPrivate::tryReadFromChannel(QProcessPrivate::Channel*) () from /usr/lib64/libQt5Core.so.5 #30 0x00007f20b6005b80 in QProcessPrivate::waitForFinished(int) () from /usr/lib64/libQt5Core.so.5 #31 0x00007f20b5ffaa6b in QProcess::waitForFinished(int) () from /usr/lib64/libQt5Core.so.5 #32 0x00007f20b5ffb108 in QProcess::~QProcess() () from /usr/lib64/libQt5Core.so.5 #33 0x000055ae24ef8ee6 in KLineBufferedProcess::~KLineBufferedProcess() () #34 0x000055ae24ef69d0 in GPGProc::~GPGProc() () #35 0x000055ae24ef69ec in GPGProc::~GPGProc() () #36 0x000055ae24e8734d in KGpgTransactionPrivate::~KGpgTransactionPrivate() () #37 0x000055ae24e873c4 in KGpgTransactionPrivate::~KGpgTransactionPrivate() () #38 0x000055ae24e82ccc in KGpgTransaction::~KGpgTransaction() () #39 0x000055ae24e89e46 in KGpgEditKeyTransaction::~KGpgEditKeyTransaction() () #40 0x000055ae24e8b59a in KGpgChangeTrust::~KGpgChangeTrust() () #41 0x000055ae24e8b5b6 in KGpgChangeTrust::~KGpgChangeTrust() () #42 0x00007f20b609a19c in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5 #43 0x00007f20b71dab4b in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5 #44 0x000055ae24f045a3 in KgpgKeyInfo::~KgpgKeyInfo() () #45 0x000055ae24f045cc in KgpgKeyInfo::~KgpgKeyInfo() () #46 0x000055ae24ed06b1 in KeysManager::keyproperties() () #47 0x000055ae24ee51a3 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (KeysManager::*)()>::call(void (KeysManager::*)(), KeysManager*, void**) () #48 0x000055ae24ee40a3 in void QtPrivate::FunctionPointer<void (KeysManager::*)()>::call<QtPrivate::List<>, void>(void (KeysManager::*)(), KeysManager*, void**) () #49 0x000055ae24ee2a8f in QtPrivate::QSlotObject<void (KeysManager::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () #50 0x00007f20b6093a0e in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #51 0x00007f20b71997c2 in QAction::triggered(bool) () from /usr/lib64/libQt5Widgets.so.5 #52 0x00007f20b719be60 in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQt5Widgets.so.5 #53 0x00007f20b731aa7a in QMenuPrivate::activateCausedStack(QVector<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) () from /usr/lib64/libQt5Widgets.so.5 #54 0x00007f20b7321f94 in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) () from /usr/lib64/libQt5Widgets.so.5 #55 0x00007f20b7323076 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5 #56 0x00007f20b71defe0 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #57 0x00007f20b7325503 in QMenu::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #58 0x00007f20b719fd7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #59 0x00007f20b71a8458 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #60 0x00007f20b606b2da in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #61 0x00007f20b71a6b7d in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQt5Widgets.so.5 #62 0x00007f20b71f9416 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5 #63 0x00007f20b71fb9f3 in QWidgetWindow::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #64 0x00007f20b719fd7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #65 0x00007f20b71a7611 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #66 0x00007f20b606b2da in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #67 0x00007f20b6a9d1d3 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib64/libQt5Gui.so.5 #68 0x00007f20b6a9ed85 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5 #69 0x00007f20b6a7af1b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5 #70 0x00007f20aa6636f0 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/libQt5XcbQpa.so.5 #71 0x00007f20afc4c767 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #72 0x00007f20afc4c9d0 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0 #73 0x00007f20afc4ca7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #74 0x00007f20b60bafef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #75 0x00007f20b606a01a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #76 0x00007f20b731fc1d in QMenu::exec(QPoint const&, QAction*) () from /usr/lib64/libQt5Widgets.so.5 #77 0x000055ae24ecce14 in KeysManager::slotMenu(QPoint const&) () #78 0x000055ae24ee50fc in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QPoint const&>, void, void (KeysManager::*)(QPoint const&)>::call(void (KeysManager::*)(QPoint const&), KeysManager*, void**) () #79 0x000055ae24ee405e in void QtPrivate::FunctionPointer<void (KeysManager::*)(QPoint const&)>::call<QtPrivate::List<QPoint const&>, void>(void (KeysManager::*)(QPoint const&), KeysManager*, void**) () #80 0x000055ae24ee29b3 in QtPrivate::QSlotObject<void (KeysManager::*)(QPoint const&), QtPrivate::List<QPoint const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () #81 0x00007f20b6093a0e in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #82 0x00007f20b71c4f45 in QWidget::customContextMenuRequested(QPoint const&) () from /usr/lib64/libQt5Widgets.so.5 #83 0x00007f20b71dfdcd in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #84 0x00007f20b7284e3e in QFrame::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #85 0x00007f20b73f3fb3 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #86 0x00007f20b745c3dc in QTreeView::viewportEvent(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #87 0x00007f20b606b0c2 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #88 0x00007f20b719fd55 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #89 0x00007f20b71a8730 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #90 0x00007f20b606b2da in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #91 0x00007f20b71f9162 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5 #92 0x00007f20b71fb9f3 in QWidgetWindow::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #93 0x00007f20b719fd7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #94 0x00007f20b71a7611 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #95 0x00007f20b606b2da in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #96 0x00007f20b6a9d1d3 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib64/libQt5Gui.so.5 #97 0x00007f20b6a9ed85 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5 #98 0x00007f20b6a7af1b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5 #99 0x00007f20aa6636f0 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/libQt5XcbQpa.so.5 #100 0x00007f20afc4c767 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #101 0x00007f20afc4c9d0 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0 #102 0x00007f20afc4ca7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #103 0x00007f20b60bafef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #104 0x00007f20b606a01a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #105 0x00007f20b6072484 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5 #106 0x000055ae24eeaf5c in main () Hope this helps. -- You are receiving this mail because: You are watching all bug changes.