Bug 86126 - imaps and pop3s io_slaves hang when connecting
Summary: imaps and pop3s io_slaves hang when connecting
Status: RESOLVED WORKSFORME
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-27 22:46 UTC by Paul Kopacz
Modified: 2004-08-03 22:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Strace of the kio process that was spinning its wheels (11.33 KB, application/octet-stream)
2004-07-30 18:27 UTC, Paul Kopacz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Kopacz 2004-07-27 22:46:28 UTC
Version:            (using KDE KDE 3.2.3)
Installed from:    RedHat RPMs
OS:                Linux

Attempting to connect to a couple of mail servers using SSL and TLS for IMAP and POP3 causes the io_slave to eat all available CPU indefinitely and the caller (both Kmail and Konqueror) to block.  It should (I assume) ask if I want to accept these sites' self signed certificates.  These two mail sites are not related to each other, and other mail clients (Thunderbird and Evolution) work with them.  

I used the KDE packages from KDE-redhat.sourceforge.net for Redhat 9.  I have OpenSSL 0.9.7a, if that matters.
Comment 1 Paul Kopacz 2004-07-27 23:47:34 UTC
Just did this at home, this time with KDE 3.1 (the standard one that came with RedHat 9) and openssl 0.9.7.  Same problem.  In addition, using secure smtp also hung in the same way (did not try this with KDE 3.2, but I will if anyone wants me to).  Maybe it's the openssl version.
Comment 2 Paul Kopacz 2004-07-30 18:12:02 UTC
This problem is affecting Kopete in KDE 3.2 as well.  When attempting to sign onto MSN (which apparantly uses the https kio component), the spawned slave spins it's wheels and gets nothing done.  However, signing onto ICQ does not use https and does not have this problem.
Comment 3 Paul Kopacz 2004-07-30 18:27:15 UTC
Created attachment 6933 [details]
Strace of the kio process that was spinning its wheels

Ran
strace -tt -p 23565 -o kopete.trace
where 23565 was the 
kdeinit: kio_http https
process

The original file was a lot bigger, but the bug tracker would not accept it.
Comment 4 Paul Kopacz 2004-07-30 18:31:29 UTC
Using the kio_sftp compnonent does not have this problem, so it's not SSL stuff, perhaps.
Comment 5 Till Adam 2004-07-31 20:58:08 UTC
Not a KMail problem, it seems.
Comment 6 Paul Kopacz 2004-08-03 22:48:10 UTC
I have fixed this by removing the 'Use entropy file' setting under Crypto/OpenSSL in the Control Center.  I had set it to /dev/urandom, incorrectly apparantly.