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

List:       kde-devel
Subject:    Re: KMail blocks
From:       Ingo =?iso-8859-1?q?Kl=F6cker?= <ingo.kloecker () epost ! de>
Date:       2002-03-29 23:01:50
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 29 March 2002 14:41, Till Krech wrote:
> Hi,
>
> it appears, that at least here, with CVS HEAD, kmail blocks whenever
> it tries to verifya signed message, eating up 100% CPU. After some
> time (30 Seconds ?) it comes back.
>
> I attached the process to gdb which shows, that this happens in
>
> #1  0x406d0477 in Kpgp::Base::runGpg (this=0x83f6628, cmd=0x40713ff4
> "--batch --decrypt", passphrase=0x0, onlyReadFromGnuPG=false) at
> /home/till/kde3/kdenetwork/libkdenetwork/kpgpbase.cpp:577 577        
>     pollstatus = poll(&pollerr, 1, 0);
>
> The code looks rather weird to me. Why not a KProcess ? Security
> reasons ? No chance seems to be given to process any events during
> execution of this loop.

We don't use KProcess for historical reasons. ;-)

Using KProcess and making the OpenPGP stuff non-blocking is on my TODO 
list (since a long time :-( ).

Regards,
Ingo

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8pPJeGnR+RTDgudgRAtfTAJ9ksmUYXGxtfBAXHHri8q41aI5Z0wCfSnIk
yQBk+mm29pJab5xUlJJi1VI=
=qp7+
-----END PGP SIGNATURE-----

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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