Bug 233052

Summary: kgpg crashed after changing gpg config folder
Product: [Applications] kgpg Reporter: Lukasz <Lukasz.Kurylo>
Component: generalAssignee: Rolf Eike Beer <kde>
Status: RESOLVED FIXED    
Severity: crash CC: kde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Lukasz 2010-04-02 11:19:55 UTC
Application: kgpg (2.3.0)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.33-020633-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
I was getting errors when refreshing keys. So I checked my settings ang in gpg configuration I had propper folder but file said "options" instead of gpg.conf. I clicked filnd and selected folder again file editbox was filled automatically. A while after I clicked OK KGpg crashed. 

 -- Backtrace:
Application: KGpg (kgpg), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  QModelIndex (this=0x2449450, child=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#6  QSortFilterProxyModel::parent (this=0x2449450, child=...) at itemviews/qsortfilterproxymodel.cpp:1619
#7  0x00007f7d1e91b485 in QModelIndex::parent (this=0x244a020, index=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:389
#8  QTreeView::isIndexHidden (this=0x244a020, index=...) at itemviews/qtreeview.cpp:2896
#9  0x00007f7d1e924a81 in QTreeView::visualRect (this=0x7ffffec684c0, index=...) at itemviews/qtreeview.cpp:1036
#10 0x00007f7d1e8d98d4 in QAbstractItemViewPrivate::setHoverIndex (this=0x244a060, index=...) at itemviews/qabstractitemview.cpp:153
#11 0x00007f7d1e8e8041 in QAbstractItemView::viewportEvent (this=0x244a020, event=0x7ffffec68b10) at itemviews/qabstractitemview.cpp:1566
#12 0x00007f7d1e9248f2 in QTreeView::viewportEvent (this=0x244a020, event=0x7ffffec68b10) at itemviews/qtreeview.cpp:1248
#13 0x00007f7d1d7ca227 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2446e50, event=0x7ffffec68b10) at kernel/qcoreapplication.cpp:819
#14 0x00007f7d1e3bc0fc in QApplicationPrivate::notify_helper (this=0x2153650, receiver=0x2446e50, e=0x7ffffec68b10) at kernel/qapplication.cpp:4296
#15 0x00007f7d1e3c176f in QApplicationPrivate::dispatchEnterLeave (enter=<value optimized out>, leave=<value optimized out>) at kernel/qapplication.cpp:2620
#16 0x00007f7d1e43349d in QApplicationPrivate::enterModal_sys (widget=0x32d6e50) at kernel/qapplication_x11.cpp:3813
#17 0x00007f7d1e3c66ea in QApplicationPrivate::enterModal (widget=<value optimized out>) at kernel/qapplication.cpp:2806
#18 0x00007f7d1e4176e5 in QWidgetPrivate::show_helper (this=0x32e2ae0) at kernel/qwidget.cpp:7201
#19 0x00007f7d1e41978a in QWidget::setVisible (this=0x32d6e50, visible=<value optimized out>) at kernel/qwidget.cpp:7418
#20 0x00007f7d1e885fbc in QDialog::setVisible (this=0x32d6e50, visible=<value optimized out>) at dialogs/qdialog.cpp:739
#21 0x00007f7d1e885515 in QWidget::show (this=0x32d6e50) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:485
#22 QDialog::exec (this=0x32d6e50) at dialogs/qdialog.cpp:537
#23 0x00007f7d1f048b55 in KMessageBox::createKMessageBox (dialog=<value optimized out>, icon=<value optimized out>, text=<value optimized out>, strlist=<value optimized out>, 
    ask=<value optimized out>, checkboxReturn=<value optimized out>, options=) at ../../kdeui/dialogs/kmessagebox.cpp:333
#24 0x00007f7d1f049e10 in KMessageBox::createKMessageBox (dialog=<value optimized out>, icon=QMessageBox::Information, text=<value optimized out>, strlist=<value optimized out>, ask=..., 
    checkboxReturn=0x7ffffec694bf, options=..., details=...) at ../../kdeui/dialogs/kmessagebox.cpp:151
#25 0x00000000004998a5 in KgpgDetailedInfo (this=0x32d6e50, parent=<value optimized out>, boxLabel=..., errormessage=..., keysList=...) at ../../kgpg/detailedconsole.cpp:63
#26 0x000000000046598e in KeysManager::slotKeyRefreshDone (this=0x224bf60, result=<value optimized out>) at ../../kgpg/keysmanager.cpp:787
#27 0x000000000047da83 in KeysManager::qt_metacall (this=0x224bf60, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffffec69780) at ./keysmanager.moc:323
#28 0x00007f7d1d7ddc0f in QMetaObject::activate (sender=0x335dbf0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2449450) at kernel/qobject.cpp:3293
#29 0x0000000000444b3c in KGpgTransaction::done (this=0x7ffffec684c0, _t1=0) at ./kgpgtransaction.moc:102
#30 0x0000000000445f05 in KGpgTransaction::qt_metacall (this=0x335dbf0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffffec698f0) at ./kgpgtransaction.moc:89
#31 0x0000000000423a18 in KGpgKeyserverTransaction::qt_metacall (this=0x7ffffec684c0, _c=38048848, _id=44662816, _a=0x2449450) at moc_kgpgkeyservertransaction.cpp:67
#32 0x00007f7d1d7ddc0f in QMetaObject::activate (sender=0x33ec490, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2449450) at kernel/qobject.cpp:3293
#33 0x0000000000493310 in GPGProc::processExited (this=0x7ffffec684c0, _t1=0x33ec490) at ./gpgproc.moc:101
#34 0x000000000049340c in GPGProc::qt_metacall (this=0x33ec490, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffffec69a30) at ./gpgproc.moc:81
#35 0x00007f7d1d7ddc0f in QMetaObject::activate (sender=0x33ec490, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2449450) at kernel/qobject.cpp:3293
#36 0x00007f7d1d76573f in QProcess::finished (this=0x7ffffec684c0, _t1=0, _t2=QProcess::NormalExit) at .moc/release-shared/moc_qprocess.cpp:142
#37 0x00007f7d1d769a27 in QProcessPrivate::_q_processDied (this=0x280b560) at io/qprocess.cpp:1041
#38 0x00007f7d1d769ae9 in QProcess::qt_metacall (this=0x33ec490, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffffec69c40) at .moc/release-shared/moc_qprocess.cpp:115
#39 0x00007f7d1de4dc98 in KProcess::qt_metacall (this=0x7ffffec684c0, _c=38048848, _id=44662816, _a=0x2449450) at ./kprocess.moc:69
#40 0x00000000004940b8 in KLineBufferedProcess::qt_metacall (this=0x7ffffec684c0, _c=38048848, _id=44662816, _a=0x2449450) at ./klinebufferedprocess.moc:74
#41 0x00000000004933a0 in GPGProc::qt_metacall (this=0x7ffffec684c0, _c=38048848, _id=44662816, _a=0x2449450) at ./gpgproc.moc:74
#42 0x00007f7d1d7ddc0f in QMetaObject::activate (sender=0x2b1e140, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2449450) at kernel/qobject.cpp:3293
#43 0x00007f7d1d8299ce in QSocketNotifier::activated (this=0x7ffffec684c0, _t1=26) at .moc/release-shared/moc_qsocketnotifier.cpp:89
#44 0x00007f7d1d7e4d53 in QSocketNotifier::event (this=0x2b1e140, e=0x7ffffec6a2f0) at kernel/qsocketnotifier.cpp:317
#45 0x00007f7d1e3bc12c in QApplicationPrivate::notify_helper (this=0x2153650, receiver=0x2b1e140, e=0x7ffffec6a2f0) at kernel/qapplication.cpp:4300
#46 0x00007f7d1e3c271b in QApplication::notify (this=0x214f260, receiver=0x2b1e140, e=0x7ffffec6a2f0) at kernel/qapplication.cpp:4183
#47 0x00007f7d1f0c7076 in KApplication::notify (this=0x214f260, receiver=0x2b1e140, event=0x7ffffec6a2f0) at ../../kdeui/kernel/kapplication.cpp:302
#48 0x00007f7d1d7cae0c in QCoreApplication::notifyInternal (this=0x214f260, receiver=0x2b1e140, event=0x7ffffec6a2f0) at kernel/qcoreapplication.cpp:704
#49 0x00007f7d1d7f46ea in QCoreApplication::sendEvent (source=0x215b870) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#50 socketNotifierSourceDispatch (source=0x215b870) at kernel/qeventdispatcher_glib.cpp:110
#51 0x00007f7d19928bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#52 0x00007f7d1992c598 in ?? () from /lib/libglib-2.0.so.0
#53 0x00007f7d1992c6c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#54 0x00007f7d1d7f4333 in QEventDispatcherGlib::processEvents (this=0x212c7a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#55 0x00007f7d1e46bf0e in QGuiEventDispatcherGlib::processEvents (this=0x7ffffec684c0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#56 0x00007f7d1d7c9732 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#57 0x00007f7d1d7c9b0c in QEventLoop::exec (this=0x7ffffec6a550, flags=) at kernel/qeventloop.cpp:201
#58 0x00007f7d1d7cd84b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#59 0x0000000000480bd4 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kgpg/main.cpp:57

Possible duplicates by query: bug 208214.

Reported using DrKonqi
Comment 1 Nicolas L. 2010-04-02 12:01:47 UTC

*** This bug has been marked as a duplicate of bug 208214 ***
Comment 2 Rolf Eike Beer 2010-04-02 13:06:52 UTC
Reopening, different backtrace than the other bug.
Comment 3 Rolf Eike Beer 2010-04-03 10:40:42 UTC
I can't reproduce this here. Can you try to get a full debug build of KGpg and try it again so the backtrace shows some more details?
Comment 4 Rolf Eike Beer 2010-10-18 19:44:23 UTC
Can't help on this until I get a better backtrace :(
Comment 5 Rolf Eike Beer 2012-03-07 19:37:38 UTC
I fixed some bugs in there recently. Since KDE SC 4.8.1 this should be completely fixed.