[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Re: Bug#21088: kmail hangs upon selecting email
From:       Don Sanders <sanders () kde ! org>
Date:       2001-03-01 17:07:30
[Download RAW message or body]

This is a grave bug:

http://lists.kde.org/?l=kde-bugs-dist&m=98340125018797&w=2

I decided to block this message (which happened to be over the 50K limit) 
from going through to the mailing list as it hangs KMail.

I have gnupg installed, the problem for me is in kpgpbase.cpp
 int KpgpBase::runGpg(const char *cmd, const char *passphrase)

The child process KMail forks is hanging in the statement
execl("/bin/sh", "sh", "-c", gpgcmd,  NULL);

locally gpgcmd = "LANGUAGE=C gpg --batch --set-filename stdin --decrypt"

The actual KMail process is hanging when writing to the stdin pipe 
    write(pin[1], input.data(), input.length() ); 

Observations:
1) If I cut a bit out of the message everything is ok, so the problem seems 
to be due to the lenght of the signed message.

2) gpg is hanging which is why KMail is hanging but I can't reproduce this on 
the command line :-(

BFN,
Don.
_______________________________________________
Kmail Developers mailing list
Kmail@master.kde.org
http://master.kde.org/mailman/listinfo/kmail

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic