|Summary:||KGPG crashes generating a key pair|
|Product:||[Applications] kgpg||Reporter:||andrew brewster <ab.kde>|
|Component:||general||Assignee:||Rolf Eike Beer <kde>|
|Latest Commit:||Version Fixed In:||4.7.3|
|Attachments:||New crash information added by DrKonqi|
Description andrew brewster 2011-10-04 22:52:57 UTC
Comment 1 Rolf Eike Beer 2011-10-23 19:30:17 UTC
Does this still happen with the current KGpg version?
Comment 2 Carlos Cámara 2011-10-26 23:14:14 UTC
Created attachment 64918 [details] New crash information added by DrKonqi kgpg (2.6.1) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4 - What I was doing when the application crashed: Creating a new pair of keys - Unusual behavior I noticed: Nothing, except that when I start KPGP I get a message saying ""An error occurred while scanning your keyring" when kgpg starts. - Custom settings of the application: -- Backtrace (Reduced): #6 data (this=0x8) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135 [...] #9 QIODevice::write (this=0x0, data=0x2c0fdb8 "%commit\n", maxSize=8) at io/qiodevice.cpp:1302 #10 0x000000000043d49f in KGpgTransaction::write (this=0x2c86190, a=<optimized out>, lf=<optimized out>) at ../../kgpg/transactions/kgpgtransaction.cpp:226 #11 0x0000000000444cbb in KGpgGenerateKey::postStart (this=0x2c86190) at ../../kgpg/transactions/kgpggeneratekey.cpp:115 #12 0x000000000043e642 in slotProcessStarted (this=<optimized out>) at ../../kgpg/transactions/kgpgtransaction.cpp:153
Comment 3 Rolf Eike Beer 2011-10-27 06:16:12 UTC
I would be interested in this error. Please open a terminal and run gpg --version >/dev/null Usually GnuPG will complain that your config is srewed (which was another bug and will now make KGpg immediately exit without crashing).
Comment 4 Carlos Cámara 2011-10-27 06:48:11 UTC
Dear Rolf, When I try to execute the comand in konsole I get the following message: gpg: /home/user/.gnupg/gpg.conf:4: argument not expected gpg: /home/user/.gnupg/gpg.conf:5: invalid option
Comment 5 Rolf Eike Beer 2011-10-27 08:15:01 UTC
> gpg: /home/user/.gnupg/gpg.conf:4: argument not expected > gpg: /home/user/.gnupg/gpg.conf:5: invalid option Then please fix your /home/user/.gnupg/gpg.conf first beforestarting KGpg. This usually comes from programs writing stuff for GnuPG2 into the config and users with GnuPG 1.4 get problems with it.
Comment 6 Carlos Cámara 2011-10-27 08:17:47 UTC
Thank you Rolf, I'm quite new to gpg (in fact it's first time I try to use it), could you please tell me what do you mean by "fixing" /home/user/.gnupg/gpg.conf I understand there's a problem in this file, but since I don't know what the problem is, I don't know how to fix it. Thank you
Comment 7 Carlos Cámara 2011-10-27 09:31:24 UTC
Thank you Eike. since it was the first time I use gpg I decided to delete /home/user/.gpg folder and execute KGPG again. Now I don't get any warning and I can create a new pair of keys! Unfortunately that's not exactly true, since when I create the pair of keys and type passfrase I get a message saying that the keys were not created although my system tray says the contrary. The fact is that keys are not created. Since KGPG does not crash now but fails in creating keys I don't know if I have to create a new issue or stay here. Regards
Comment 8 Rolf Eike Beer 2011-10-27 10:25:16 UTC
Yes, this is a new issue.
Comment 9 Rolf Eike Beer 2011-10-27 21:30:05 UTC