[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: KMail hangs on Send



Quoting David Martínez Moreno <ender@debian.org>:  
> El Lunes, 3 de Octubre de 2005 01:51, Brendon Lloyd Higgins escribió:  
> > Ack! Whenever I try to send a message in KMail (3.4.2-2, Sid) the whole  
> > program freezes, both the composer window and the main window. This  
> happens  
> > both for the "Send Now" and "Send Later" actions, but it doesn't happen  
> for  
> > the "Save to Drafts" action.  
>   
> 	What about a strace on KMail PID and/or tcpdump in order to see the  
> traffic?  
  
I discovered something interesting while setting up an strace. It seems that each time KMail freezes it leaves a GPG  
process such as:  
 9712 pts/4    SL     0:00 gpg --batch --no-sk-comment --status-fd 23 --no-tty --charset utf8 --enable-progress-filter  
--with-colons --fixed-list-mode --with-fingerprint --with-fingerprint --list-keys --  
59D4A470EEF69DCC525EEBA60937CF0F4530DEAF  
This is regardless of whether or not I tell it to sign (let alone encrypt) the message. 
 
The end of the strace look like: 
[snip] 
gettimeofday({1128476701, 519511}, NULL) = 0 
ioctl(6, FIONREAD, [0])                 = 0 
write(7, "\0", 1)                       = 1 
pipe([20, 23])                          = 0 
fcntl64(20, F_SETFD, FD_CLOEXEC)        = 0 
pipe([25, 26])                          = 0 
fcntl64(25, F_SETFD, FD_CLOEXEC)        = 0 
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb5c85708) = 9711 
--- SIGCHLD (Child exited) @ 0 (0) --- 
write(9, "\0", 1)                       = 1 
sigreturn()                             = ? (mask now []) 
waitpid(9711, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 9711 
close(23)                               = 0 
close(26)                               = 0 
select(26, [20 25], [], NULL, {1, 0})   = 0 (Timeout) 
select(26, [20 25], [], NULL, {1, 0})   = 0 (Timeout) 
select(26, [20 25], [], NULL, {1, 0})   = 0 (Timeout) 
select(26, [20 25], [], NULL, {1, 0})   = 0 (Timeout) 
select(26, [20 25], [], NULL, {1, 0})   = 0 (Timeout) 
..many more of the same, you get the idea... 
 
Turning off the GPG plugin completely in the KMail settings seems to fix it! So apparently something is screwed with the 
GPG config. Ideas of where I can start with fixing this? 
 
Thanks, 
Brendon 
 



Reply to: