[Kolab-devel] [issue4099] Infinite loop when no smartcard reader is attached

Marc Mutz issues at kolab.org
Wed Feb 10 14:14:16 CET 2010


New submission from Marc Mutz <marc at kdab.net>:

When running without a smartcard present, scdaemon 2.0.12 causes Kleopatra to 
go into an infinite loop, as it constantly re-writes reader_0.status:

ReaderStatusThread[2nd]: .oOO
ReaderStatusThread[2nd]: new iteration command= "__update__"  ; nullSlot= true
<update_cardinfo>
get_card_info( "/home/marc/.gnupg/reader_0.status" , 0 , 0xb5cbb0 , NoCard , 
true )
get_more_detailed_status( "/home/marc/.gnupg/reader_0.status" , 0 , 0xb5cbb0 )
gpgagent_transact( SCD SERIALNO )
gpgagent_transact( SCD SERIALNO ): "Card not present"
</update_cardinfo>
gpgagent_transact( GETEVENTCOUNTER )
get_event_counter(): got ( status( "EVENTCOUNTER" ) = "295 0 295"
)
ReaderStatusThread[2nd]: .zZZ
kleopatra(12339) 
Kleo::FileSystemWatcher::Private::onFileChanged: "/home/marc/.gnupg/reader_0.status"
ReaderStatusThread[GUI]::ping()
ReaderStatusThread[2nd]: .oOO

Kleopatra should be more robust when faced with older scdaemons.
Setting to minor only, because current scdaemons don't show this problem.

----------
assignedto: marc
keyword: gpg4win2, kleo
messages: 23470
nosy: emanuel, marc
priority: minor bug
status: unread
title: Infinite loop when no smartcard reader is attached

______________________________________
Kolab issue tracker <issues at kolab.org>
<https://issues.kolab.org/issue4099>
______________________________________




More information about the devel mailing list