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

            Bug ID: 371410
           Summary: kgpg crashes on startup and otherwise
           Product: kgpg
           Version: unspecified
          Platform: Neon Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: k...@opensource.sf-tec.de
          Reporter: s.k...@gmx.de

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:
While the startup of each KDE-session kgpg crashes, same trouble after start
from "Konsole"

The crash can be reproduced every time.

-- 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 0x7fc32a6dc980 (LWP 2303))]

Thread 3 (Thread 0x7fc317b7e700 (LWP 2429)):
#0  0x00007fc3424f2ac9 in g_mutex_lock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fc3424ad939 in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc3424ae2cb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc3424ae4ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc348ea523b in QEventDispatcherGlib::processEvents
(this=0x7fc3100008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fc348e4fcea in QEventLoop::exec (this=this@entry=0x7fc317b7dc40,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#6  0x00007fc348c74fb4 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:507
#7  0x00007fc348c79b98 in QThreadPrivate::start (arg=0x100c680) at
thread/qthread_unix.cpp:344
#8  0x00007fc3449bb6fa in start_thread (arg=0x7fc317b7e700) at
pthread_create.c:333
#9  0x00007fc348370b5d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fc31ffff700 (LWP 2346)):
#0  0x00007fc348364e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fc3424ae39c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc3424ae4ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc348ea523b in QEventDispatcherGlib::processEvents
(this=0x7fc3180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fc348e4fcea in QEventLoop::exec (this=this@entry=0x7fc31fffec10,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#5  0x00007fc348c74fb4 in QThread::exec (this=this@entry=0x7fc34db21d60
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread.cpp:507
#6  0x00007fc34daad7a5 in QDBusConnectionManager::run (this=0x7fc34db21d60
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:196
#7  0x00007fc348c79b98 in QThreadPrivate::start (arg=0x7fc34db21d60 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:344
#8  0x00007fc3449bb6fa in start_thread (arg=0x7fc31ffff700) at
pthread_create.c:333
#9  0x00007fc348370b5d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fc32a6dc980 (LWP 2303)):
[KCrash Handler]
#6  std::__atomic_base<int>::load (__m=std::memory_order_relaxed,
this=0x700000001) at /usr/include/c++/5/bits/atomic_base.h:396
#7  QAtomicOps<int>::load<int> (_q_value=...) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:103
#8  QBasicAtomicInteger<int>::load (this=0x700000001) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:99
#9  QtPrivate::RefCount::ref (this=0x700000001) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:55
#10 QString::QString (other=..., this=0xf976e0) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:899
#11 KgpgCore::KgpgKeyPrivate::KgpgKeyPrivate (this=0xf97680, id=...,
size=<optimized out>, trust=..., algo=..., subtype=..., keytype=...,
creationDate=..., curve=...) at /workspace/build/core/kgpgkey.cpp:178
#12 0x00000000004376f9 in KgpgCore::KgpgKey::KgpgKey (this=0x7ffcf1399260,
id=..., size=1024, trust=..., algo=..., subtype=..., keytype=...,
creationDate=..., curve=...) at /workspace/build/core/kgpgkey.cpp:205
#13 0x00000000004ab1df in readPublicKeysProcess (p=...,
readNode=readNode@entry=0x0) at /workspace/build/kgpginterface.cpp:171
#14 0x00000000004ade68 in KgpgInterface::readPublicKeys (ids=...) at
/workspace/build/kgpginterface.cpp:301
#15 0x0000000000440429 in KGpgRootNode::addKeys (this=0xe43470, ids=...) at
/workspace/build/core/KGpgRootNode.cpp:70
#16 0x0000000000454157 in KGpgItemModel::refreshKeyIds (this=0xe283c0, ids=...)
at /workspace/build/model/kgpgitemmodel.cpp:461
#17 0x0000000000454235 in KGpgItemModel::refreshKeys (this=<optimized out>,
ids=...) at /workspace/build/model/kgpgitemmodel.cpp:447
#18 0x000000000048a096 in KGpgItemModel::refreshKeys (this=<optimized out>) at
/workspace/build/model/kgpgitemmodel.h:86
#19 KeysManager::refreshkey (this=0xde68c0) at
/workspace/build/keysmanager.cpp:2652
#20 0x00000000004e6a1f in KeysManager::qt_static_metacall (_o=0xde68c0,
_c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
/workspace/build/obj-x86_64-linux-gnu/moc_keysmanager.cpp:435
#21 0x00007fc348e7da19 in QObject::event (this=this@entry=0xde68c0,
e=e@entry=0x102e290) at kernel/qobject.cpp:1263
#22 0x00007fc3499e158b in QWidget::event (this=this@entry=0xde68c0,
event=event@entry=0x102e290) at kernel/qwidget.cpp:9208
#23 0x00007fc349ade4cb in QMainWindow::event (this=0xde68c0, event=0x102e290)
at widgets/qmainwindow.cpp:1543
#24 0x00007fc34bd211e7 in KMainWindow::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#25 0x00007fc34bd65825 in KXmlGuiWindow::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#26 0x00007fc34999a89c in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0xde68c0, e=0x102e290) at kernel/qapplication.cpp:3799
#27 0x00007fc3499a2296 in QApplication::notify (this=0x7ffcf1399fc0,
receiver=0xde68c0, e=0x102e290) at kernel/qapplication.cpp:3556
#28 0x00007fc348e51cf8 in QCoreApplication::notifyInternal2 (receiver=0xde68c0,
event=event@entry=0x102e290) at kernel/qcoreapplication.cpp:988
#29 0x00007fc348e543bb in QCoreApplication::sendEvent (event=0x102e290,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0,
event_type=event_type@entry=0, data=0x9cf080) at
kernel/qcoreapplication.cpp:1649
#31 0x00007fc348e54828 in QCoreApplication::sendPostedEvents
(receiver=receiver@entry=0x0, event_type=event_type@entry=0) at
kernel/qcoreapplication.cpp:1503
#32 0x00007fc348ea4e13 in postEventSourceDispatch (s=0xa34bf0) at
kernel/qeventdispatcher_glib.cpp:276
#33 0x00007fc3424ae1a7 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fc3424ae400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fc3424ae4ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fc348ea521f in QEventDispatcherGlib::processEvents (this=0xa24bd0,
flags=...) at kernel/qeventdispatcher_glib.cpp:423
#37 0x00007fc348e4fcea in QEventLoop::exec (this=this@entry=0x7ffcf1399cb0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#38 0x00007fc348e582fc in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1261
#39 0x00007fc3493f7d9c in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1639
#40 0x00007fc34999a7f5 in QApplication::exec () at kernel/qapplication.cpp:2975
#41 0x00000000004339c9 in main (argc=2, argv=<optimized out>) at
/workspace/build/main.cpp:84

Reported using DrKonqi

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

Reply via email to