Bug 254013 - KGPG crashes after 3 failed passphrase attempts
Summary: KGPG crashes after 3 failed passphrase attempts
Status: RESOLVED WORKSFORME
Alias: None
Product: kgpg
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: Rolf Eike Beer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-12 22:44 UTC by Styopa Semenukha
Modified: 2010-10-18 19:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Styopa Semenukha 2010-10-12 22:44:51 UTC
Application: kgpg (2.3.0)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-gcc44 x86_64
Distribution (Platform): Debian unstable

-- Information about the crash:
When you try to sign other person's key using KGPG, it asks for a passphrase to your private key. If you enter wrong passphrase all 3 times, KGPG crashes.

 -- Backtrace:
Application: KGpg (kgpg), signal: Segmentation fault
[KCrash Handler]
#5  d_func (this=0x1000000001, data=0x4c4445 "quit\n", maxSize=5) at ../../include/QtCore/../../src/corelib/io/qiodevice.h:168
#6  QIODevice::write (this=0x1000000001, data=0x4c4445 "quit\n", maxSize=5) at io/qiodevice.cpp:1299
#7  0x0000000000445f03 in KGpgTransactionPrivate::slotReadReady (this=0x2142c60, gpgProcess=0x20ff410) at ../../kgpg/transactions/kgpgtransaction.cpp:76
#8  0x0000000000445fe5 in KGpgTransaction::qt_metacall (this=0x1fefa70, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa78bf350) at ./kgpgtransaction.moc:88
#9  0x00007fb5c4c40306 in QMetaObject::activate (sender=0x20ff410, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x5) at kernel/qobject.cpp:3295
#10 0x000000000049339d in GPGProc::readReady (this=0x1000000001, _t1=0x20ff410) at ./gpgproc.moc:94
#11 0x0000000000493416 in GPGProc::qt_metacall (this=0x20ff410, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa78bf430) at ./gpgproc.moc:82
#12 0x00007fb5c4c40306 in QMetaObject::activate (sender=0x20ff410, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x5) at kernel/qobject.cpp:3295
#13 0x0000000000493fe7 in KLineBufferedProcessPrivate::_k_receivedStdout (this=0x2120b50) at ../../kgpg/klinebufferedprocess.cpp:62
#14 0x0000000000494185 in KLineBufferedProcess::qt_metacall (this=0x20ff410, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at ./klinebufferedprocess.moc:81
#15 0x00000000004933e0 in GPGProc::qt_metacall (this=0x1000000001, _c=4998213, _id=5, _a=0x5) at ./gpgproc.moc:74
#16 0x00007fb5c4c40306 in QMetaObject::activate (sender=0x20ff410, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x5) at kernel/qobject.cpp:3295
#17 0x00007fb5c4bcc4ca in QProcessPrivate::_q_canReadStandardOutput (this=0x2102e40) at io/qprocess.cpp:897
#18 0x00007fb5c4bcc8a9 in QProcess::qt_metacall (this=0x20ff410, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa78bf800) at .moc/release-shared/moc_qprocess.cpp:107
#19 0x00007fb5c52af6c8 in KProcess::qt_metacall (this=0x1000000001, _c=4998213, _id=5, _a=0x5) at ./kprocess.moc:69
#20 0x0000000000494128 in KLineBufferedProcess::qt_metacall (this=0x1000000001, _c=4998213, _id=5, _a=0x5) at ./klinebufferedprocess.moc:74
#21 0x00000000004933e0 in GPGProc::qt_metacall (this=0x1000000001, _c=4998213, _id=5, _a=0x5) at ./gpgproc.moc:74
#22 0x00007fb5c4c40306 in QMetaObject::activate (sender=0x20ff2f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x5) at kernel/qobject.cpp:3295
#23 0x00007fb5c4c8ce7e in QSocketNotifier::activated (this=0x1000000001, _t1=15) at .moc/release-shared/moc_qsocketnotifier.cpp:89
#24 0x00007fb5c4c47163 in QSocketNotifier::event (this=0x20ff2f0, e=0x7fffa78bfeb0) at kernel/qsocketnotifier.cpp:317
#25 0x00007fb5c585532c in QApplicationPrivate::notify_helper (this=0x1710440, receiver=0x20ff2f0, e=0x7fffa78bfeb0) at kernel/qapplication.cpp:4302
#26 0x00007fb5c585b80b in QApplication::notify (this=0x1707590, receiver=0x20ff2f0, e=0x7fffa78bfeb0) at kernel/qapplication.cpp:4185
#27 0x00007fb5c656d836 in KApplication::notify (this=0x1707590, receiver=0x20ff2f0, event=0x7fffa78bfeb0) at ../../kdeui/kernel/kapplication.cpp:302
#28 0x00007fb5c4c2d0bc in QCoreApplication::notifyInternal (this=0x1707590, receiver=0x20ff2f0, event=0x7fffa78bfeb0) at kernel/qcoreapplication.cpp:726
#29 0x00007fb5c4c56a8a in sendEvent (source=0x170dd30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 socketNotifierSourceDispatch (source=0x170dd30) at kernel/qeventdispatcher_glib.cpp:110
#31 0x00007fb5c0d8b6f2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#32 0x00007fb5c0d8f568 in ?? () from /lib/libglib-2.0.so.0
#33 0x00007fb5c0d8f71c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#34 0x00007fb5c4c566d3 in QEventDispatcherGlib::processEvents (this=0x16e4fb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#35 0x00007fb5c590518e in QGuiEventDispatcherGlib::processEvents (this=0x1000000001, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007fb5c4c2b9e2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#37 0x00007fb5c4c2bdbc in QEventLoop::exec (this=0x7fffa78c0110, flags=) at kernel/qeventloop.cpp:201
#38 0x00007fb5c4c30a4b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#39 0x00000000004809a4 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kgpg/main.cpp:57

Reported using DrKonqi
Comment 1 Rolf Eike Beer 2010-10-18 19:48:13 UTC
I can't reproduce this. Please try with 4.5.2 and see if it is fixed there, I have fixed at least one bug in that area between 4.4 and 4.5. If you can reproduce it with 4.5 please reopen.