[Bug 286180] SSL connections on Windows can take >30seconds and block with max cpu

Andre Heinecke aheinecke at intevation.de
Fri Jan 6 08:26:05 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=286180


Andre Heinecke <aheinecke at intevation.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|smtp                        |general
            Product|kio                         |kdelibs
            Summary|kio_smtp uses extreme cpu   |SSL connections on Windows
                   |time when sending mail on   |can take >30seconds and
                   |Windows                     |block with max cpu




--- Comment #1 from Andre Heinecke <aheinecke intevation de>  2012-01-06 08:26:04 ---
Bad news here, with my recent master build of kdepim i ran into a probably
related problem:

On start of Kontact the following happens:
<normal startup>
Output:

[3924] Debug:kontact(3924) KManageSieve::Session::dataReceived: S:  "OK "Begin
TLS negotiation now""
[3924] Debug:kontact(3924) KManageSieve::Session::dataReceived: 2 "OK "Begin
TLS negotiation now"" "" "" 0
[3924] Debug:kontact(3924) KManageSieve::Session::startSsl:

      <----- 42 second hang ------>

[3924] Debug:kontact(3924)/kssl KTcpSocket::showSslErrors: "The issuer
certificate of a locally looked up certificate could not be found"
[3924] Debug:kontact(3924)/kssl KTcpSocket::showSslErrors: "The root CA
certificate is not trusted for this purpose"
[3924] Debug:kontact(3924) KManageSieve::Session::startSsl: Initial SSL
handshake failed. cipher.isNull() is false , cipher.usedBits() is 256 , the
socket says: "Unknown error" and the list of SSL errors contains 2 items.


The problem is that now the UI freezes for that time making this bug very
critical as on every start of Kontact the Window becomes unresponsive / greys
out and you get a dialog "Kontact is not responding do you want to terminate it

At least this qualifies the bug more of a problem not in kio smtp but in kssl
but it still leaves the possibility to have it even further down in the stack.

My next step will be to get some unit tests of kssl running on Windows and
reduce the testcase.

Has anyone noticed that with other Windows applications that use ssl? Konqueror
for example?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kde-windows mailing list