Bug 374587

Summary: KGPG crashes everytime
Product: [Applications] kgpg Reporter: moi
Component: generalAssignee: Rolf Eike Beer <kde>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description moi 2017-01-05 11:35:59 UTC
Application: kgpg (16.11.90)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.4.36-8-default x86_64
Distribution: "openSUSE Leap 42.2"

-- Information about the crash:
- What I was doing when the application crashed:

Kgpg freshly installed (opensuse leap 42.2). Crashed just after the keys were generated and crashes every time since then, even after a new login or a reboot.

The crash can be reproduced every time.

-- Backtrace:
Application: KGpg (kgpg), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f69ff2e8900 (LWP 3419))]

Thread 4 (Thread 0x7f69ceead700 (LWP 3427)):
#0  0x00007f69f8e6e51d in read () from /lib64/libc.so.6
#1  0x00007f69f3aad670 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f69f3a6ce49 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f69f3a6d2a8 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f69f3a6d42c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f69f999532b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007f69f9942fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#7  0x00007f69f977df1a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#8  0x00007f69f97829e9 in ?? () from /usr/lib64/libQt5Core.so.5
#9  0x00007f69f4ea1734 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f69f8e7ad3d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f69dc82f700 (LWP 3421)):
#0  0x00007f69f8e7249d in poll () from /lib64/libc.so.6
#1  0x00007f69f3a6d314 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f69f3a6d42c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f69f999532b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f69f9942fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f69f977df1a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f69fa0051d5 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f69f97829e9 in ?? () from /usr/lib64/libQt5Core.so.5
#8  0x00007f69f4ea1734 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f69f8e7ad3d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f69de6c3700 (LWP 3420)):
#0  0x00007f69f8e7249d in poll () from /lib64/libc.so.6
#1  0x00007f69f41903e2 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f69f4191fcf in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f69e0bd7839 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f69f97829e9 in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007f69f4ea1734 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f69f8e7ad3d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f69ff2e8900 (LWP 3419)):
[KCrash Handler]
#6  std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x0) 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:96
#8  QBasicAtomicInteger<int>::load (this=0x0) at /usr/include/qt5/QtCore/qbasicatomic.h:116
#9  QtPrivate::RefCount::ref (this=0x0) at /usr/include/qt5/QtCore/qrefcount.h:49
#10 QString::QString (other=..., this=0x2c83028) at /usr/include/qt5/QtCore/qstring.h:890
#11 KgpgCore::KgpgKeySubPrivate::KgpgKeySubPrivate (this=0x2c82ff0, id=..., size=<optimized out>, trust=..., algo=..., type=..., date=..., curve=...) at /usr/src/debug/kgpg-16.11.90/core/kgpgkey.cpp:55
#12 0x0000000000438aad in KgpgCore::KgpgKeySub::KgpgKeySub (this=0x7ffcba0b6130, id=..., size=4096, trust=..., algo=..., type=..., date=..., curve=...) at /usr/src/debug/kgpg-16.11.90/core/kgpgkey.cpp:74
#13 0x00000000004ac57c in readPublicKeysProcess (p=..., readNode=readNode@entry=0x0) at /usr/src/debug/kgpg-16.11.90/kgpginterface.cpp:206
#14 0x00000000004aec60 in KgpgInterface::readPublicKeys (ids=...) at /usr/src/debug/kgpg-16.11.90/kgpginterface.cpp:302
#15 0x0000000000441de6 in KGpgRootNode::addKeys (this=0x2b4c080, ids=...) at /usr/src/debug/kgpg-16.11.90/core/KGpgRootNode.cpp:70
#16 0x0000000000454d3c in KGpgItemModel::refreshAllKeys (this=0x2b3be20) at /usr/src/debug/kgpg-16.11.90/model/kgpgitemmodel.cpp:474
#17 0x0000000000489ca0 in KeysManager::refreshkey (this=0x2b104c0) at /usr/src/debug/kgpg-16.11.90/keysmanager.cpp:2648
#18 0x00000000004e9fca in KeysManager::qt_static_metacall (_o=0x2b104c0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kgpg-16.11.90/build/moc_keysmanager.cpp:431
#19 0x00007f69f9970166 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#20 0x00007f69fab6a6cb in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#21 0x00007f69fac7b0cb in QMainWindow::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#22 0x00007f69fd4f84f7 in KMainWindow::event(QEvent*) () from /usr/lib64/libKF5XmlGui.so.5
#23 0x00007f69fd534865 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libKF5XmlGui.so.5
#24 0x00007f69fab28e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#25 0x00007f69fab2d49a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#26 0x00007f69f9944fc5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#27 0x00007f69f9946daa in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#28 0x00007f69f9995c83 in ?? () from /usr/lib64/libQt5Core.so.5
#29 0x00007f69f3a6d134 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f69f3a6d388 in ?? () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f69f3a6d42c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f69f999530c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#33 0x00007f69f9942fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#34 0x00007f69f994aec6 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#35 0x0000000000435bc2 in main (argc=1, argv=<optimized out>) at /usr/src/debug/kgpg-16.11.90/main.cpp:84

Possible duplicates by query: bug 374509, bug 372712, bug 371410.

Reported using DrKonqi
Comment 1 Rolf Eike Beer 2017-01-05 16:03:21 UTC

*** This bug has been marked as a duplicate of bug 371410 ***