[Users] [Bug 3139] Main window totally unresponsive due to a busy loop
noreply at thewildbeast.co.uk
noreply at thewildbeast.co.uk
Mon Apr 21 13:57:19 CEST 2014
http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3139
Colin Leroy <colin at colino.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #8 from Colin Leroy <colin at colino.net> ---
(In reply to comment #5)
> The mail server is public: cba.pl
> You're right, it's enough to configure an account in claws-mail using
> cba.pl, TLS on, "test" username to reproduce the problem (I have just
> verified it).
>
> Anyway, as you confirmed, busy loop is a problem, so I'd appreciate if you
> could investigate it...
Thanks for the server's name, it helped. Adding a bit of debugging showed that
gnutls_record_recv() returns GNUTLS_E_UNEXPECTED_PACKET.
I don't know how to recover from that, but in case of unexpected results from
gnutls_record_recv(), I missed setting errno to a fatal error so that the
connection would be dropped.
As it was previously set to EAGAIN by network read code, and
gnutls_record_recv() does not set it, it was stuck in an infinite loop.
For the record, gnutls-cli -starttls -p 110 cba.pl fails with:
*** Fatal error: An unexpected TLS packet was received.
*** Server has terminated the connection abnormally.
And openssl s_client -starttls pop3 -host cba.pl -port 110 fails with:
140066369763008:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version
number:s3_pkt.c:337:
I'll mark the bug fixed as we didn't catch the error, but I guess I can't fix
the error itself :)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Users
mailing list