Application: kgpg (2.6.1) KDE Platform Version: 4.7.2 (4.7.2) "release 9" Qt Version: 4.7.4 Operating System: Linux 2.6.37.6-0.7-desktop x86_64 Distribution: "openSUSE 11.4 (x86_64)" -- Information about the crash: I've imported and verified some keys. After a few minutes I've clicked on "Reload keys", then it crashed. The crash can be reproduced some of the time. -- Backtrace: Application: KGpg (kgpg), signal: Segmentation fault 82 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) [KCrash Handler] #6 0x00007f269d7c3ff3 in QObject::connect (sender=0x83f1b0, signal=<value optimized out>, receiver=0xec1210, method=0x4a7aec "keyUpdated(KGpgKeyNode *)", type=Qt::AutoConnection) at kernel/qobject.cpp:2535 #7 0x000000000042ac71 in KGpgRefNode::unRef (this=0xec1210, root=<value optimized out>) at /usr/src/debug/kdeutils-4.7.2/kgpg/core/KGpgRefNode.cpp:109 #8 0x00000000004284e6 in KGpgKeyNode::~KGpgKeyNode (this=0xc5b8c0, __in_chrg=<value optimized out>) at /usr/src/debug/kdeutils-4.7.2/kgpg/core/KGpgKeyNode.cpp:43 #9 0x0000000000428529 in KGpgKeyNode::~KGpgKeyNode (this=0xc5b8c0, __in_chrg=<value optimized out>) at /usr/src/debug/kdeutils-4.7.2/kgpg/core/KGpgKeyNode.cpp:45 #10 0x0000000000437705 in KGpgItemModel::refreshKeyIds (this=0x85cf60, ids=...) at /usr/src/debug/kdeutils-4.7.2/kgpg/model/kgpgitemmodel.cpp:373 #11 0x000000000045ee02 in KeysManager::refreshkey (this=0x8b6b70) at /usr/src/debug/kdeutils-4.7.2/kgpg/keysmanager.cpp:2641 #12 0x00000000004714d5 in KeysManager::qt_metacall (this=0x8b6b70, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff95f1b7f0) at /usr/src/debug/kdeutils-4.7.2/build/kgpg/keysmanager.moc:238 #13 0x00007f269d7c1e8f in QMetaObject::activate (sender=0x9b2970, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff95f1b7f0) at kernel/qobject.cpp:3287 #14 0x00007f269e3f5ed2 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263 #15 0x00007f269e3f60ca in QAction::activate (this=0x9b2970, event=<value optimized out>) at kernel/qaction.cpp:1257 #16 0x00007f269e830373 in QMenuPrivate::activateCausedStack (this=0x9ec4d0, causedStack=..., action=0x9b2970, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1005 #17 0x00007f269e83638a in QMenuPrivate::activateAction (this=0x9ec4d0, action=0x9b2970, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1097 #18 0x00007f269f1d57f0 in KMenu::mouseReleaseEvent (this=0x8e65a0, e=0x7fff95f1c480) at /usr/src/debug/kdelibs-4.7.2/kdeui/widgets/kmenu.cpp:464 #19 0x00007f269e44de1c in QWidget::event (this=0x8e65a0, event=0x7fff95f1c480) at kernel/qwidget.cpp:8295 #20 0x00007f269e83757b in QMenu::event (this=0x8e65a0, e=0x7fff95f1c480) at widgets/qmenu.cpp:2405 #21 0x00007f269e3fc264 in QApplicationPrivate::notify_helper (this=0x70fc70, receiver=0x8e65a0, e=0x7fff95f1c480) at kernel/qapplication.cpp:4481 #22 0x00007f269e40509c in QApplication::notify (this=<value optimized out>, receiver=0x8e65a0, e=0x7fff95f1c480) at kernel/qapplication.cpp:4042 #23 0x00007f269f113ae6 in KApplication::notify (this=0x7044c0, receiver=0x8e65a0, event=0x7fff95f1c480) at /usr/src/debug/kdelibs-4.7.2/kdeui/kernel/kapplication.cpp:311 #24 0x00007f269d7ad7cc in QCoreApplication::notifyInternal (this=0x7044c0, receiver=0x8e65a0, event=0x7fff95f1c480) at kernel/qcoreapplication.cpp:787 #25 0x00007f269e3fd275 in sendEvent (receiver=0x8e65a0, event=0x7fff95f1c480, alienWidget=0x0, nativeWidget=0x8e65a0, buttonDown=0x7f269eed3198, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215 #26 QApplicationPrivate::sendMouseEvent (receiver=0x8e65a0, event=0x7fff95f1c480, alienWidget=0x0, nativeWidget=0x8e65a0, buttonDown=0x7f269eed3198, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3141 #27 0x00007f269e47bf74 in QETWidget::translateMouseEvent (this=0x8e65a0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4395 #28 0x00007f269e47a3e9 in QApplication::x11ProcessEvent (this=0x7044c0, event=0x7fff95f1cde0) at kernel/qapplication_x11.cpp:3587 #29 0x00007f269e4a2512 in x11EventSourceDispatch (s=0x70be50, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #30 0x00007f269982cb43 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #31 0x00007f269982d320 in ?? () from /lib64/libglib-2.0.so.0 #32 0x00007f269982d5c0 in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #33 0x00007f269d7d85df in QEventDispatcherGlib::processEvents (this=0x6e1ef0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422 #34 0x00007f269e4a21ae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #35 0x00007f269d7acc22 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #36 0x00007f269d7ace35 in QEventLoop::exec (this=0x7fff95f1d100, flags=...) at kernel/qeventloop.cpp:201 #37 0x00007f269d7b127b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064 #38 0x0000000000475284 in main (argc=1, argv=0x7fff95f1d5c8) at /usr/src/debug/kdeutils-4.7.2/kgpg/main.cpp:57 Reported using DrKonqi
Created attachment 67061 [details] Possible fix Please build KGpg from sources, using this patch.
ping?
Created attachment 84801 [details] New crash information added by DrKonqi kgpg (2.11.0) on KDE Platform 4.11.5 using Qt 4.8.6 - What I was doing when the application crashed: Refreshed kgpg - Unusual behavior I noticed: My system appears to have slowed down substantially since I started using pgp keys, but that may be the Webpg module for Firefox -- Backtrace (Reduced): #5 0x00007f0a81872a57 in QObject::connect (sender=0x22b0bf0, signal=0x49caee "newKeyNode(KGpgKeyNode*)", signal@entry=0x49caed "2newKeyNode(KGpgKeyNode*)", receiver=receiver@entry=0x22f52d0, method=0x49cad4 "keyUpdated(KGpgKeyNode*)", method@entry=0x49cad3 "1keyUpdated(KGpgKeyNode*)", type=type@entry=Qt::AutoConnection) at kernel/qobject.cpp:2583 #6 0x0000000000429201 in KGpgRefNode::unRef (this=this@entry=0x22f52d0, root=<optimized out>) at ../core/KGpgRefNode.cpp:109 #7 0x0000000000425d87 in KGpgKeyNode::~KGpgKeyNode (this=0x2737170, __in_chrg=<optimized out>) at ../core/KGpgKeyNode.cpp:43 #8 0x0000000000425dd9 in KGpgKeyNode::~KGpgKeyNode (this=0x2737170, __in_chrg=<optimized out>) at ../core/KGpgKeyNode.cpp:45 #9 0x0000000000435cbf in KGpgItemModel::refreshKeyIds (this=0x22b08e0, ids=...) at ../model/kgpgitemmodel.cpp:454
I have reloaded my keys many dozens of times in a row without seeing a single crash. Can you reproduce this? Can you try the attached patch?
Something changed between when I posted on 1/22/2014 and now. It appears that refreshing keys isn't crashing kgpg anymore on my system.
Seems fixed.