[issue16] S/MIME signature verification hangs most of the time in KMail

Marc Mutz aegypten-issues at intevation.de
Mon Jan 12 10:49:15 CET 2004


New submission from Marc Mutz <mutz at kde.org>:

Start KMail, open an S/MIME signed mail. 
-> KMail hangs 
 
"ps aux | grep gpgsm" shows two instances of "gpgsm --server" running. 
Attaching gdb gives this backtrace: 
 
#0  0x40170144 in read () from /lib/i686/libc.so.6 
#1  0x000003ea in ?? () 
#2  0x08064e8f in readline (ctx=0x8072410, buf=0x8072440 "VERIFY", buflen=1002, 
    r_nread=0xbffff228, eof=0x807243c) at assuan-buffer.c:61 
#3  0x0806519e in _assuan_read_line (ctx=0x8072410) at assuan-buffer.c:117 
#4  0x08065fcc in process_request (ctx=0x0) at assuan-handler.c:450 
#5  0x080661c1 in assuan_process (ctx=0x8072410) at assuan-handler.c:559 
#6  0x080503ba in gpgsm_server (default_recplist=0x3ea) at server.c:837 
#7  0x0804d2f1 in main (argc=0, argv=0xbffff5fc) at gpgsm.c:1188 
#8  0x400c7082 in __libc_start_main () from /lib/i686/libc.so.6 
 
and gpg-agent is here: 
 
#0  0x40146144 in read () from /lib/i686/libc.so.6 
#1  0x000003ea in ?? () 
#2  0x08058b1f in readline (ctx=0x8062cc0, buf=0x8062cf0 "ISTRUSTED", 
    buflen=1002, r_nread=0xbffff0a8, eof=0x8062cec) at assuan-buffer.c:61 
#3  0x08058e2e in _assuan_read_line (ctx=0x8062cc0) at assuan-buffer.c:117 
#4  0x08059c5c in process_request (ctx=0x0) at assuan-handler.c:450 
#5  0x08059e51 in assuan_process (ctx=0x8062cc0) at assuan-handler.c:559 
#6  0x0804cdf4 in start_command_handler (listen_fd=134622400, fd=134622400) 
    at command.c:811 
#7  0x0804b32f in main (argc=0, argv=0xbffff5ac) at gpg-agent.c:756 
#8  0x4009d082 in __libc_start_main () from /lib/i686/libc.so.6 
 
KMail is here: 
 
#0  0x41f6c11e in select () from /lib/i686/libc.so.6 
#1  0x41e73d34 in __JCR_LIST__ () from /usr/local/lib/libgpgme.so.11 
#2  0x41e68fb6 in _gpgme_io_select (fds=0x9400238, nfds=10, nonblock=0) 
    at posix-io.c:362 
#3  0x41e5d286 in _gpgme_wait_on_condition (ctx=0xb165c10, cond=0xafbf69c) 
    at wait-private.c:81 
#4  0x41e61a32 in gpgme_op_keylist_next (ctx=0xb165c10, r_key=0xbfffe418) 
    at keylist.c:807 
#5  0x41e61b68 in gpgme_get_key (ctx=0xb165c10, 
    fpr=0x9bfee20 "3B50BF2BDAF27C30949DBA3ACF8A78141AE6796D", r_key=0xbfffe418, 
    secret=0) at keylist.c:864 
#6  0x41e5f0b0 in gpgme_get_sig_key (ctx=0x8920318, idx=0, r_key=0xbfffe418) 
    at verify.c:626 
#7  0x40385cc5 in obtain_signature_information (ctx=0x8920318, 
    overallStatus=@0xbfffe484, sigmeta=0xbfffe640, signatureFound=0x0) 
    at /home/mmutz/KDE/CVS/kdepim/kmail/cryptplug.cpp:2936 
#8  0x403862e9 in CryptPlug::checkMessageSignature(char**, char const*, bool, 
int, CryptPlug::SignatureMetaData*) (this=0x961d8a0, cleartext=0xbfffe66c, 
    signaturetext=0xb00ce48 "0\200\006\t*\206H\206÷\r\001\a\002 \2000\200\002
\001\0011\v0\t\006\005+\016\003\002\032\005", signatureIsBinary=true, 
    signatureLen=2981, sigmeta=0xbfffe640) 
    at /home/mmutz/KDE/CVS/kdepim/kmail/cryptplug.cpp:3292 
#9  0x4037e5ae in CryptPlugWrapper::checkMessageSignature(char**, char const*, 
bool, int, CryptPlug::SignatureMetaData*) (this=0x95efb80, 
cleartext=0xbfffe66c, 
    signaturetext=0xb00ce48 "0\200\006\t*\206H\206÷\r\001\a\002 \2000\200\002
\001\0011\v0\t\006\005+\016\003\002\032\005", signatureIsBinary=true, 
    signatureLen=2981, sigmeta=0xbfffe640) 
    at /home/mmutz/KDE/CVS/kdepim/kmail/cryptplugwrapper.cpp:911 
<snip>

----------
messages: 35
nosy: marc
priority: bug
status: unread
title: S/MIME signature verification hangs most of the time in KMail
______________________________________________________
Aegypten issue tracker <aegypten-issues at intevation.de>
<https://intevation.de/roundup/aegypten/issue16>
______________________________________________________



More information about the Gpa-dev mailing list