Bug 273522 - Kleopatra spams xsession-errors every second
Summary: Kleopatra spams xsession-errors every second
Status: RESOLVED FIXED
Alias: None
Product: kleopatra
Classification: Applications
Component: general (show other bugs)
Version: 2.0.8
Platform: openSUSE Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 300612 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-18 01:28 UTC by S. Burmeister
Modified: 2012-07-17 08:31 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.9.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description S. Burmeister 2011-05-18 01:28:19 UTC
Version:           2.0.8 (using KDE 4.6.2) 
OS:                Linux

KDE 4.6.3
Kleopatra 2.1.1

If I have kleopatra in the systray I get the same item added to .xsession-errors every second.

<update_cardinfo> 
get_card_status( "/home/rabauke/.gnupg/reader_0.status" , 0 , 0xb130df78 ) 
gpgagent_transact( SCD SERIALNO ) 
gpgagent_transact( SCD SERIALNO ): "Kartenfehler" 
</update_cardinfo> 
eventCounter: 4294967295 
ReaderStatusThread[2nd]: .zZZ
ReaderStatusThread[2nd]: .oOO
ReaderStatusThread[2nd]: new iteration command= "__check__"  ; nullSlot= true 
gpgagent_transact( GETEVENTCOUNTER ) 
get_event_counter(): got ( status( "EVENTCOUNTER" ) = "0 0 0" 
) 
ReaderStatusThread[2nd]: events: 4294967295 -> 0 
<update_cardinfo> 
get_card_status( "/home/rabauke/.gnupg/reader_0.status" , 0 , 0xb130b5b0 ) 
gpgagent_transact( SCD SERIALNO ) 
gpgagent_transact( SCD SERIALNO ): "Kartenfehler" 
</update_cardinfo> 
eventCounter: 4294967295 
ReaderStatusThread[2nd]: .zZZ


Since this can fill-up a partition and thus cause crashes and data-loss I consider it a major bug. According to kdebugdialog debugging is completely turned off.

Reproducible: Didn't try
Comment 1 Christoph Drexler 2011-07-11 22:20:39 UTC
I can confirm this bug.

Only difference: Instead of "Kartenfehler" (which means: Card error), in my case the error is "Datei oder Verzeichnis nicht gefunden" (meaning: File or directory not found).

.xsession-error stops growing when I stop kleopatra, so it is definitely caused by kleopatra.
Comment 2 Zbigniew Luszpinski 2011-07-16 18:10:17 UTC
I confirm this bug in Kleopatra 2.1.1 (KDE 4.6.5). As long as Kleopatra is running logs are spammed.
Comment 3 Dirk Sarpe 2011-10-11 11:31:25 UTC
Same here, even if ''Configure Kleopatra -> GnuPG-System -> GPG Agent -> Set the debugging level to 0 - None (no debugging at all)'' ist set, the message continues to show up. Changes in kdebugdialog did not change this as well.
Comment 4 Thomas Tanghus 2012-05-03 07:34:47 UTC
And an additional 'confirmed' here with Kleopatra 2.1.1 on KDE 4.8.2. I can't send any signed messages either, as the composer window just stays disabled until I choose to close it. This may be a different error though.
Comment 5 Christophe Marin 2012-05-25 20:43:34 UTC
*** Bug 300612 has been marked as a duplicate of this bug. ***
Comment 6 Allen Winter 2012-05-26 18:42:49 UTC
Git commit 30b1e13bdc9b08f561499f1db18b619307b8ec3e by Allen Winter.
Committed on 26/05/2012 at 20:41.
Pushed by winterz into branch 'master'.

convert almost all qDebugs to kDebugs and qWarnings to kWarnings.
compile warnings--
FIXED-IN: 4.9.0
MERGE: none

M  +10   -6    kleopatra/commands/changeroottrustcommand.cpp
M  +1    -1    kleopatra/commands/command.cpp
M  +3    -1    kleopatra/commands/detailscommand.cpp
M  +12   -10   kleopatra/commands/gnupgprocesscommand.cpp
M  +7    -6    kleopatra/crypto/createchecksumscontroller.cpp
M  +3    -3    kleopatra/crypto/decryptverifyemailcontroller.cpp
M  +4    -4    kleopatra/crypto/decryptverifyfilescontroller.cpp
M  +7    -5    kleopatra/crypto/encryptemailcontroller.cpp
M  +14   -9    kleopatra/crypto/gui/verifychecksumsdialog.cpp
M  +3    -3    kleopatra/crypto/newsignencryptemailcontroller.cpp
M  +7    -5    kleopatra/crypto/signemailcontroller.cpp
M  +9    -7    kleopatra/crypto/signencryptfilescontroller.cpp
M  +24   -17   kleopatra/crypto/verifychecksumscontroller.cpp
M  +32   -15   kleopatra/dialogs/selftestdialog.cpp
M  +3    -3    kleopatra/kgpgconf/configreader.cpp
M  +5    -5    kleopatra/kgpgconf/configuration.cpp
M  +6    -7    kleopatra/kgpgconf/mainwindow.cpp
M  +9    -9    kleopatra/main.cpp
M  +20   -10   kleopatra/newcertificatewizard/newcertificatewizard.cpp
M  +3    -2    kleopatra/selftest/gpgconfcheck.cpp
M  +36   -35   kleopatra/smartcard/readerstatus.cpp
M  +0    -1    kleopatra/systrayicon.cpp
M  +12   -10   kleopatra/uiserver/assuanserverconnection.cpp
M  +4    -4    kleopatra/uiserver/selectcertificatecommand.cpp
M  +13   -7    kleopatra/uiserver/uiserver.cpp
M  +10   -10   kleopatra/utils/archivedefinition.cpp
M  +8    -5    kleopatra/utils/gnupg-helper.cpp
M  +5    -5    kleopatra/utils/input.cpp
M  +1    -4    kleopatra/utils/output.cpp
M  +2    -2    kleopatra/utils/path-helper.cpp
M  +13   -13   kleopatra/utils/qwizard.cpp
M  +2    -3    kleopatra/utils/systemtrayicon.cpp
M  +22   -15   kleopatra/view/keylistcontroller.cpp
M  +6    -4    kleopatra/view/keytreeview.cpp

http://commits.kde.org/kdepim/30b1e13bdc9b08f561499f1db18b619307b8ec3e
Comment 7 eiapopeia13 2012-07-17 08:31:32 UTC
Isnt't this fix only a fix for the effect and not for the real cause?

I have the same errors as S. Burmeister and the others and my PGP Keys seem to be gone in Kleopatra and also in Kgpg.