Summary: | kgpg crashes on startup and otherwise | ||
---|---|---|---|
Product: | [Applications] kgpg | Reporter: | Sebastian Kenn <s.kenn> |
Component: | general | Assignee: | Rolf Eike Beer <kde> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | dennis, hrvoje.senjan, moi, texstar |
Priority: | NOR | Keywords: | drkonqi |
Version: | git | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | 9f742e350e87618400a815e77b91fddb4220d9b6 | Version Fixed In: | 16.11.90 |
Sentry Crash Report: |
Description
Sebastian Kenn
2016-10-21 11:28:06 UTC
There has been a fix for something like this, can you check if this still happens with the latest git version? Yes, the problem still exists in the same way on every start of KDE Application: kgpg (16.07.70) Qt Version: 5.7.0 Frameworks Version: 5.28.0 Operating System: Linux 4.4.0-45-generic x86_64 Distribution: KDE neon Developer Edition -- Information about the crash: Occurs directly after boot up and upon any subsequent attempt to start application either via plasma or konsole The crash can be reproduced every time. Yes -- Backtrace: Application: KGpg (kgpg), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7f24af497980 (LWP 1329))] Thread 3 (Thread 0x7f249d2c9700 (LWP 1400)): #0 0x00007f24cd1b6b5d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f24c752639c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f24c75264ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f24cdcf723b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f24cdca1cea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f24cdac6fb4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f24cdacbb98 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f24c9a1570a in start_thread (arg=0x7f249d2c9700) at pthread_create.c:333 #8 0x00007f24cd1c282d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 2 (Thread 0x7f24a5671700 (LWP 1365)): #0 0x00007f24cd1b6b5d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f24c752639c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f24c75264ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f24cdcf723b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f24cdca1cea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f24cdac6fb4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f24d29057a5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #7 0x00007f24cdacbb98 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007f24c9a1570a in start_thread (arg=0x7f24a5671700) at pthread_create.c:333 #9 0x00007f24cd1c282d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1 (Thread 0x7f24af497980 (LWP 1329)): [KCrash Handler] #6 0x0000000000436707 in ?? () #7 0x0000000000436821 in ?? () #8 0x00000000004ab284 in ?? () #9 0x00000000004ada28 in ?? () #10 0x0000000000440179 in ?? () #11 0x000000000045353c in ?? () #12 0x00000000004880a0 in ?? () #13 0x00000000004e5ec3 in ?? () #14 0x00007f24cdccfa19 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #15 0x00007f24ce83358b in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #16 0x00007f24ce9304cb in QMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #17 0x00007f24d0b72fc7 in KMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5 #18 0x00007f24d0bb7485 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5 #19 0x00007f24ce7ec89c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #20 0x00007f24ce7f4296 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #21 0x00007f24cdca3cf8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #22 0x00007f24cdca63bb in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #23 0x00007f24cdcf6e13 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #24 0x00007f24c75261a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #25 0x00007f24c7526400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #26 0x00007f24c75264ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #27 0x00007f24cdcf721f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #28 0x00007f24cdca1cea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #29 0x00007f24cdcaa2fc in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #30 0x0000000000433719 in ?? () #31 0x00007f24cd0dc830 in __libc_start_main (main=0x432b40, argc=2, argv=0x7fff39bf8f68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff39bf8f58) at ../csu/libc-start.c:291 #32 0x00000000004340f9 in _start () Still here on master: Thread 1 (Thread 0x7f6a26eb2900 (LWP 4651)): [KCrash Handler] #6 std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x500000001) at /usr/include/c++/4.8/bits/atomic_base.h:496 #7 QAtomicOps<int>::load<int> (_q_value=...) at /usr/include/qt5/QtCore/qatomic_cxx11.h:227 #8 QBasicAtomicInteger<int>::load (this=0x500000001) at /usr/include/qt5/QtCore/qbasicatomic.h:99 #9 QtPrivate::RefCount::ref (this=0x500000001) at /usr/include/qt5/QtCore/qrefcount.h:55 #10 QString::QString (other=..., this=0x2ad1c80) at /usr/include/qt5/QtCore/qstring.h:901 #11 KgpgCore::KgpgKeyPrivate::KgpgKeyPrivate (this=0x2ad1c20, id=..., size=<optimized out>, trust=..., algo=..., subtype=..., keytype=..., creationDate=..., curve=...) at /home/hrvoje/kdesrc/kde/kdeutils/kgpg/core/kgpgkey.cpp:178 #12 0x00000000004393c5 in KgpgCore::KgpgKey::KgpgKey (this=0x7fffae3f9950, id=..., size=2048, trust=..., algo=..., subtype=..., keytype=..., creationDate=..., curve=...) at /home/hrvoje/kdesrc/kde/kdeutils/kgpg/core/kgpgkey.cpp:205 #13 0x00000000004ad9a9 in readPublicKeysProcess (p=..., readNode=readNode@entry=0x0) at /home/hrvoje/kdesrc/kde/kdeutils/kgpg/kgpginterface.cpp:171 #14 0x00000000004b0620 in KgpgInterface::readPublicKeys (ids=...) at /home/hrvoje/kdesrc/kde/kdeutils/kgpg/kgpginterface.cpp:301 #15 0x0000000000441d16 in KGpgRootNode::addKeys (this=0x2960ad0, ids=...) at /home/hrvoje/kdesrc/kde/kdeutils/kgpg/core/KGpgRootNode.cpp:70 #16 0x000000000045508c in KGpgItemModel::refreshAllKeys (this=0x2963f30) at /home/hrvoje/kdesrc/kde/kdeutils/kgpg/model/kgpgitemmodel.cpp:474 #17 0x000000000048afe0 in KeysManager::refreshkey (this=0x2966060) at /home/hrvoje/kdesrc/kde/kdeutils/kgpg/keysmanager.cpp:2648 #18 0x00000000004ec80a in KeysManager::qt_static_metacall (_o=0x2966060, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /home/hrvoje/kdesrc/build/kde/kdeutils/kgpg/kgpg_automoc.dir/moc_keysmanager_JJLQ3BCMM25HUV.cpp:431 #19 0x00007f6a215ba726 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5 #20 0x00007f6a2275fabb in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #21 0x00007f6a2285658b in QMainWindow::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #22 0x00007f6a250cefc7 in KMainWindow::event (this=this@entry=0x2966060, ev=ev@entry=0x2b0e690) at /home/hrvoje/kdesrc/frameworks/kxmlgui/src/kmainwindow.cpp:867 #23 0x00007f6a2510af05 in KXmlGuiWindow::event (this=0x2966060, ev=0x2b0e690) at /home/hrvoje/kdesrc/frameworks/kxmlgui/src/kxmlguiwindow.cpp:118 #24 0x00007f6a2271c21c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #25 0x00007f6a227231a0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #26 0x00007f6a21591005 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #27 0x00007f6a21593063 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5 #28 0x00007f6a215e0183 in ?? () from /usr/lib64/libQt5Core.so.5 #29 0x00007f6a19b68134 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #30 0x00007f6a19b68388 in ?? () from /usr/lib64/libglib-2.0.so.0 #31 0x00007f6a19b6842c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #32 0x00007f6a215df9cc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #33 0x00007f6a2158f2db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #34 0x00007f6a215970d6 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5 #35 0x0000000000435ac2 in main (argc=1, argv=<optimized out>) at /home/hrvoje/kdesrc/kde/kdeutils/kgpg/main.cpp:84 Git commit 9f742e350e87618400a815e77b91fddb4220d9b6 by Rolf Eike Beer. Committed on 29/11/2016 at 09:49. Pushed by dakon into branch 'Applications/16.12'. fix crash when GnuPG does not output curve fields for keys FIXED-IN:16.11.90 M +2 -1 kgpginterface.cpp https://commits.kde.org/kgpg/9f742e350e87618400a815e77b91fddb4220d9b6 See also bug 373408 FYI: 16.12.0 crashes at login but can be started fine from the menu AFTER login. Git commit ac2ca301c6ef2d02810b762c618f1ce504382c4e by Rolf Eike Beer. Committed on 03/01/2017 at 21:47. Pushed by dakon into branch 'Applications/16.12'. fix crash when GnuPG does not output curve fields for keys, take 3 secret keys, it is. Related: bug 374509, bug 373408 FIXED-IN:16.12.1 M +2 -1 kgpginterface.cpp https://commits.kde.org/kgpg/ac2ca301c6ef2d02810b762c618f1ce504382c4e *** Bug 374587 has been marked as a duplicate of this bug. *** The error still occurs, so why is the status set to "fixed/resolved"? I can NOT start it fine from the menu AFTER login. It is marked as fixed, because the bug at this point was fixed. Sadly, there were 2 more, that also crash the program when loading the keys (sadly I was not able to reproduce any of these crashes, probably because I have a different GnuPG version). The last one is linked in comment 8. Git commit ac2ca301c6ef2d02810b762c618f1ce504382c4e fixed our kgpg autostart crash. Thank you! |