https://bugs.kde.org/show_bug.cgi?id=391499

Kavinda <harindudilsha...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |harindudilsha...@gmail.com

--- Comment #7 from Kavinda <harindudilsha...@gmail.com> ---
(In reply to Vadim A. Misbakh-Soloviov (mva) from comment #0)
> Application: kgpg (17.12.2)
>  (Compiled from sources)
> Qt Version: 5.9.4
> Frameworks Version: 5.43.0
> Operating System: Linux 4.15.4 x86_64
> Distribution: "Gentoo GNU/Linux"
> 
> -- Information about the crash:
> - What I was doing when the application crashed:
> Set trust level fo own keys to "Absolute". Then it freezed, and then I
> pressed "Cancel", that, in turn, caused crash.
> 
> The crash can be reproduced every time.
> 
> -- Backtrace:
> Application: KGpg (kgpg), signal: Aborted
> Using host libthread_db library "/lib64/libthread_db.so.1".
> [Current thread is 1 (Thread 0x7f0b1acf8880 (LWP 44436))]
> 
> Thread 3 (Thread 0x7f0af1727700 (LWP 44525)):
> #0  0x00007f0b0d77d003 in g_main_context_prepare () from
> /usr/lib64/libglib-2.0.so.0
> #1  0x00007f0b0d77da3b in g_main_context_iterate.isra () from
> /usr/lib64/libglib-2.0.so.0
> #2  0x00007f0b0d77dc1c in g_main_context_iteration () from
> /usr/lib64/libglib-2.0.so.0
> #3  0x00007f0b15448a7b in
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> () from /usr/lib64/libQt5Core.so.5
> #4  0x00007f0b153f6baa in
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
> /usr/lib64/libQt5Core.so.5
> #5  0x00007f0b152517fa in QThread::exec() () from /usr/lib64/libQt5Core.so.5
> #6  0x00007f0b15255c75 in QThreadPrivate::start(void*) () from
> /usr/lib64/libQt5Core.so.5
> #7  0x00007f0b106d292b in start_thread () from /lib64/libpthread.so.0
> #8  0x00007f0b1495165f in clone () from /lib64/libc.so.6
> 
> Thread 2 (Thread 0x7f0afbfff700 (LWP 44488)):
> #0  0x00007f0b14945c95 in poll () from /lib64/libc.so.6
> #1  0x00007f0b0d77db09 in g_main_context_iterate.isra () from
> /usr/lib64/libglib-2.0.so.0
> #2  0x00007f0b0d77dc1c in g_main_context_iteration () from
> /usr/lib64/libglib-2.0.so.0
> #3  0x00007f0b15448a7b in
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> () from /usr/lib64/libQt5Core.so.5
> #4  0x00007f0b153f6baa in
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
> /usr/lib64/libQt5Core.so.5
> #5  0x00007f0b152517fa in QThread::exec() () from /usr/lib64/libQt5Core.so.5
> #6  0x00007f0b15ab8ce5 in QDBusConnectionManager::run() () from
> /usr/lib64/libQt5DBus.so.5
> #7  0x00007f0b15255c75 in QThreadPrivate::start(void*) () from
> /usr/lib64/libQt5Core.so.5
> #8  0x00007f0b106d292b in start_thread () from /lib64/libpthread.so.0
> #9  0x00007f0b1495165f in clone () from /lib64/libc.so.6
> 
> Thread 1 (Thread 0x7f0b1acf8880 (LWP 44436)):
> [KCrash Handler]
> #6  0x00007f0b14884fa0 in raise () from /lib64/libc.so.6
> #7  0x00007f0b14886af7 in abort () from /lib64/libc.so.6
> #8  0x00007f0b14ebc035 in __gnu_cxx::__verbose_terminate_handler () at
> /var/tmp/portage/sys-devel/gcc-7.3.0/work/gcc-7.3.0/libstdc++-v3/libsupc++/
> vterminate.cc:95
> #9  0x00007f0b14eb9c26 in __cxxabiv1::__terminate (handler=<optimized out>)
> at
> /var/tmp/portage/sys-devel/gcc-7.3.0/work/gcc-7.3.0/libstdc++-v3/libsupc++/
> eh_terminate.cc:47
> #10 0x00007f0b14eb9c71 in std::terminate () at
> /var/tmp/portage/sys-devel/gcc-7.3.0/work/gcc-7.3.0/libstdc++-v3/libsupc++/
> eh_terminate.cc:57
> #11 0x00007f0b14ebaa5f in __cxxabiv1::__cxa_pure_virtual () at
> /var/tmp/portage/sys-devel/gcc-7.3.0/work/gcc-7.3.0/libstdc++-v3/libsupc++/
> pure.cc:50
> #12 0x0000559be77eeeb7 in KGpgTransactionPrivate::slotReadReady() ()
> #13 0x00007f0b15420507 in QMetaObject::activate(QObject*, int, int, void**)
> () from /usr/lib64/libQt5Core.so.5
> #14 0x00007f0b15420507 in QMetaObject::activate(QObject*, int, int, void**)
> () from /usr/lib64/libQt5Core.so.5
> #15 0x0000559be7843c79 in KLineBufferedProcessPrivate::_k_receivedStdout() ()
> #16 0x00007f0b15420507 in QMetaObject::activate(QObject*, int, int, void**)
> () from /usr/lib64/libQt5Core.so.5
> #17 0x00007f0b153845fa in
> QProcess::readyReadStandardOutput(QProcess::QPrivateSignal) () from
> /usr/lib64/libQt5Core.so.5
> #18 0x00007f0b153890b1 in
> QProcessPrivate::tryReadFromChannel(QProcessPrivate::Channel*) () from
> /usr/lib64/libQt5Core.so.5
> #19 0x00007f0b1538e9f8 in QProcessPrivate::waitForFinished(int) () from
> /usr/lib64/libQt5Core.so.5
> #20 0x00007f0b15384eeb in QProcess::waitForFinished(int) () from
> /usr/lib64/libQt5Core.so.5
> #21 0x00007f0b153855ea in QProcess::~QProcess() () from
> /usr/lib64/libQt5Core.so.5
> #22 0x0000559be7840adf in GPGProc::~GPGProc() ()
> #23 0x0000559be77eda45 in KGpgTransactionPrivate::~KGpgTransactionPrivate()
> ()
> #24 0x0000559be77edad9 in KGpgTransactionPrivate::~KGpgTransactionPrivate()
> ()
> #25 0x0000559be77e9f71 in KGpgTransaction::~KGpgTransaction() ()
> #26 0x0000559be77f1237 in KGpgChangeTrust::~KGpgChangeTrust() ()
> #27 0x00007f0b15426ba8 in QObjectPrivate::deleteChildren() () from
> /usr/lib64/libQt5Core.so.5
> #28 0x00007f0b16579b4c in QWidget::~QWidget() () from
> /usr/lib64/libQt5Widgets.so.5
> #29 0x0000559be784bad2 in KgpgKeyInfo::~KgpgKeyInfo() ()
> #30 0x0000559be784bb09 in KgpgKeyInfo::~KgpgKeyInfo() ()
> #31 0x0000559be7822a68 in KeysManager::keyproperties() ()
> #32 0x00007f0b15420507 in QMetaObject::activate(QObject*, int, int, void**)
> () from /usr/lib64/libQt5Core.so.5
> #33 0x00007f0b16539022 in QAction::triggered(bool) () from
> /usr/lib64/libQt5Widgets.so.5
> #34 0x00007f0b1653b70c in QAction::activate(QAction::ActionEvent) () from
> /usr/lib64/libQt5Widgets.so.5
> #35 0x00007f0b166b7a4c in
> QMenuPrivate::activateCausedStack(QVector<QPointer<QWidget> > const&,
> QAction*, QAction::ActionEvent, bool) () from /usr/lib64/libQt5Widgets.so.5
> #36 0x00007f0b166beefb in QMenuPrivate::activateAction(QAction*,
> QAction::ActionEvent, bool) () from /usr/lib64/libQt5Widgets.so.5
> #37 0x00007f0b166bfd23 in QMenu::mouseReleaseEvent(QMouseEvent*) () from
> /usr/lib64/libQt5Widgets.so.5
> #38 0x00007f0b1657de38 in QWidget::event(QEvent*) () from
> /usr/lib64/libQt5Widgets.so.5
> #39 0x00007f0b166c204b in QMenu::event(QEvent*) () from
> /usr/lib64/libQt5Widgets.so.5
> #40 0x00007f0b1653f72c in QApplicationPrivate::notify_helper(QObject*,
> QEvent*) () from /usr/lib64/libQt5Widgets.so.5
> #41 0x00007f0b1654754f in QApplication::notify(QObject*, QEvent*) () from
> /usr/lib64/libQt5Widgets.so.5
> #42 0x00007f0b153f7e17 in QCoreApplication::notifyInternal2(QObject*,
> QEvent*) () from /usr/lib64/libQt5Core.so.5
> #43 0x00007f0b16546522 in QApplicationPrivate::sendMouseEvent(QWidget*,
> QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
> from /usr/lib64/libQt5Widgets.so.5
> #44 0x00007f0b16598c85 in QWidgetWindow::handleMouseEvent(QMouseEvent*) ()
> from /usr/lib64/libQt5Widgets.so.5
> #45 0x00007f0b1659b5ba in QWidgetWindow::event(QEvent*) () from
> /usr/lib64/libQt5Widgets.so.5
> #46 0x00007f0b1653f72c in QApplicationPrivate::notify_helper(QObject*,
> QEvent*) () from /usr/lib64/libQt5Widgets.so.5
> #47 0x00007f0b16546ff4 in QApplication::notify(QObject*, QEvent*) () from
> /usr/lib64/libQt5Widgets.so.5
> #48 0x00007f0b153f7e17 in QCoreApplication::notifyInternal2(QObject*,
> QEvent*) () from /usr/lib64/libQt5Core.so.5
> #49 0x00007f0b15e2b723 in
> QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::
> MouseEvent*) () from /usr/lib64/libQt5Gui.so.5
> #50 0x00007f0b15e2d345 in
> QGuiApplicationPrivate::
> processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
> () from /usr/lib64/libQt5Gui.so.5
> #51 0x00007f0b15e0668b in
> QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::
> ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
> #52 0x00007f0b04d82070 in userEventSourceDispatch(_GSource*, int (*)(void*),
> void*) () from /usr/lib64/libQt5XcbQpa.so.5
> #53 0x00007f0b0d77d7e7 in g_main_context_dispatch () from
> /usr/lib64/libglib-2.0.so.0
> #54 0x00007f0b0d77db88 in g_main_context_iterate.isra () from
> /usr/lib64/libglib-2.0.so.0
> #55 0x00007f0b0d77dc1c in g_main_context_iteration () from
> /usr/lib64/libglib-2.0.so.0
> #56 0x00007f0b15448a5f in
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> () from /usr/lib64/libQt5Core.so.5
> #57 0x00007f0b153f6baa in
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
> /usr/lib64/libQt5Core.so.5
> #58 0x00007f0b166bcc40 in QMenu::exec(QPoint const&, QAction*) () from
> /usr/lib64/libQt5Widgets.so.5
> #59 0x0000559be78234bf in KeysManager::slotMenu(QPoint const&) ()
> #60 0x00007f0b15420507 in QMetaObject::activate(QObject*, int, int, void**)
> () from /usr/lib64/libQt5Core.so.5
> #61 0x00007f0b16564355 in QWidget::customContextMenuRequested(QPoint const&)
> () from /usr/lib64/libQt5Widgets.so.5
> #62 0x00007f0b1657ec8b in QWidget::event(QEvent*) () from
> /usr/lib64/libQt5Widgets.so.5
> #63 0x00007f0b1661f1ae in QFrame::event(QEvent*) () from
> /usr/lib64/libQt5Widgets.so.5
> #64 0x00007f0b1679244b in QAbstractItemView::viewportEvent(QEvent*) () from
> /usr/lib64/libQt5Widgets.so.5
> #65 0x00007f0b167fa5cc in QTreeView::viewportEvent(QEvent*) () from
> /usr/lib64/libQt5Widgets.so.5
> #66 0x00007f0b153f7bac in
> QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
> from /usr/lib64/libQt5Core.so.5
> #67 0x00007f0b1653f705 in QApplicationPrivate::notify_helper(QObject*,
> QEvent*) () from /usr/lib64/libQt5Widgets.so.5
> #68 0x00007f0b16547d5e in QApplication::notify(QObject*, QEvent*) () from
> /usr/lib64/libQt5Widgets.so.5
> #69 0x00007f0b153f7e17 in QCoreApplication::notifyInternal2(QObject*,
> QEvent*) () from /usr/lib64/libQt5Core.so.5
> #70 0x00007f0b16599089 in QWidgetWindow::handleMouseEvent(QMouseEvent*) ()
> from /usr/lib64/libQt5Widgets.so.5
> #71 0x00007f0b1659b5ba in QWidgetWindow::event(QEvent*) () from
> /usr/lib64/libQt5Widgets.so.5
> #72 0x00007f0b1653f72c in QApplicationPrivate::notify_helper(QObject*,
> QEvent*) () from /usr/lib64/libQt5Widgets.so.5
> #73 0x00007f0b16546ff4 in QApplication::notify(QObject*, QEvent*) () from
> /usr/lib64/libQt5Widgets.so.5
> #74 0x00007f0b153f7e17 in QCoreApplication::notifyInternal2(QObject*,
> QEvent*) () from /usr/lib64/libQt5Core.so.5
> #75 0x00007f0b15e2b723 in
> QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::
> MouseEvent*) () from /usr/lib64/libQt5Gui.so.5
> #76 0x00007f0b15e2d345 in
> QGuiApplicationPrivate::
> processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
> () from /usr/lib64/libQt5Gui.so.5
> #77 0x00007f0b15e0668b in
> QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::
> ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
> #78 0x00007f0b04d82070 in userEventSourceDispatch(_GSource*, int (*)(void*),
> void*) () from /usr/lib64/libQt5XcbQpa.so.5
> #79 0x00007f0b0d77d7e7 in g_main_context_dispatch () from
> /usr/lib64/libglib-2.0.so.0
> #80 0x00007f0b0d77db88 in g_main_context_iterate.isra () from
> /usr/lib64/libglib-2.0.so.0
> #81 0x00007f0b0d77dc1c in g_main_context_iteration () from
> /usr/lib64/libglib-2.0.so.0
> #82 0x00007f0b15448a5f in
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> () from /usr/lib64/libQt5Core.so.5
> #83 0x00007f0b153f6baa in
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
> /usr/lib64/libQt5Core.so.5
> #84 0x00007f0b153ff244 in QCoreApplication::exec() () from
> /usr/lib64/libQt5Core.so.5
> #85 0x0000559be77c32a4 in main ()
> 
> Possible duplicates by query: bug 389500, bug 382439, bug 377656.
> 
> Reported using DrKonqi

I have submitted a patch for this. https://phabricator.kde.org/D12624 
Can you verify if this works or not?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to