Bug#327244: mutt hangs on read() with IMAP TLS

2005-09-18 Thread Adeodato Simó
tag 327244 moreinfo
thanks

* Mikko Rapeli [Thu, 08 Sep 2005 15:16:06 +0300]:

 Package: mutt
 Version: 1.5.9-2
 Severity: normal

Hello,

 I skimmed the existing bug reports through, so perhaps this is a
 duplicate of http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=292663 or
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=196766 but I'm filing
 it anyway.

 Is this hang isn't going to be fixed in Sarge, but how about unstable?

  Can you do a quick test and check whether it still happens with this
  1.5.11 package?:


http://people.debian.org/~adeodato/tmp/2005-09-19/mutt-1.5.11-pre/mutt_1.5.11-1~pre1_i386.deb

  If it is, I'll forward your report upstream.

  Thanks,

-- 
Adeodato Simó
EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
 
Don't be irreplaceable, if you can't be replaced, you can't be promoted.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#327244: mutt hangs on read() with IMAP TLS

2005-09-08 Thread Mikko Rapeli
Package: mutt
Version: 1.5.9-2
Severity: normal

I skimmed the existing bug reports through, so perhaps this is a
duplicate of http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=292663 or
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=196766 but I'm filing
it anyway.

Is this hang isn't going to be fixed in Sarge, but how about unstable?

I'm connecting mutt from Sarge with TLS and IMAP to my ISP:

$ nc mail.suomi.net 143
* OK [CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS
CHILDREN BINARY LANGUAGE XSENDER X-NETSCAPE XSERVERINFO AUTH=PLAIN]
Messaging Multiplexor (Sun Java(tm) System Messaging Server 6.2 (built
 Dec  2 2004))

$ openssl s_client -connect mail.suomi.net:993
CONNECTED(0003)
depth=0 /C=FI/ST=N/A/L=Oulu/O=Oulu Telephone Company Ltd/OU=Data
Systems/OU=Terms of use at www.verisign.com/rpa (c)00/CN=mail.suomi.net
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 /C=FI/ST=N/A/L=Oulu/O=Oulu Telephone Company Ltd/OU=Data
Systems/OU=Terms of use at www.verisign.com/rpa (c)00/CN=mail.suomi.net
verify error:num=27:certificate not trusted
verify return:1
depth=0 /C=FI/ST=N/A/L=Oulu/O=Oulu Telephone Company Ltd/OU=Data
Systems/OU=Terms of use at www.verisign.com/rpa (c)00/CN=mail.suomi.net
verify error:num=21:unable to verify the first certificate
verify return:1
---
Certificate chain
 0 s:/C=FI/ST=N/A/L=Oulu/O=Oulu Telephone Company Ltd/OU=Data
Systems/OU=Terms of use at www.verisign.com/rpa (c)00/CN=mail.suomi.net
   i:/O=VeriSign Trust Network/OU=VeriSign, Inc./OU=VeriSign
International Server CA - Class 3/OU=www.verisign.com/CPS Incorp.by Ref.
LIABILITY LTD.(c)97 VeriSign
---
Server certificate
-BEGIN CERTIFICATE-
MIIEcDCCA9mgAwIBAgIQM/OTetQlGVA8B3N2YOrTFDANBgkqhkiG9w0BAQUFADCB
ujEfMB0GA1UEChMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazEXMBUGA1UECxMOVmVy
aVNpZ24sIEluYy4xMzAxBgNVBAsTKlZlcmlTaWduIEludGVybmF0aW9uYWwgU2Vy
dmVyIENBIC0gQ2xhc3MgMzFJMEcGA1UECxNAd3d3LnZlcmlzaWduLmNvbS9DUFMg
SW5jb3JwLmJ5IFJlZi4gTElBQklMSVRZIExURC4oYyk5NyBWZXJpU2lnbjAeFw0w
NDA2MjEwMDAwMDBaFw0wNTA2MjEyMzU5NTlaMIG0MQswCQYDVQQGEwJGSTEMMAoG
A1UECBMDTi9BMQ0wCwYDVQQHFARPdWx1MSMwIQYDVQQKFBpPdWx1IFRlbGVwaG9u
ZSBDb21wYW55IEx0ZDEVMBMGA1UECxQMRGF0YSBTeXN0ZW1zMTMwMQYDVQQLFCpU
ZXJtcyBvZiB1c2Ug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Ltd/OU=Data
Systems/OU=Terms of use at www.verisign.com/rpa (c)00/CN=mail.suomi.net
issuer=/O=VeriSign Trust Network/OU=VeriSign, Inc./OU=VeriSign
International Server CA - Class 3/OU=www.verisign.com/CPS Incorp.by Ref.
LIABILITY LTD.(c)97 VeriSign
---
No client certificate CA names sent
---
SSL handshake has read 1276 bytes and written 324 bytes
---
New, TLSv1/SSLv3, Cipher is RC4-MD5
Server public key is 1024 bit
SSL-Session:
Protocol  : TLSv1
Cipher: RC4-MD5
Session-ID:
12E83D83E5CD567F0671B341629E4F89C6EBE90640A3DB3535104D03B0BA550A
Session-ID-ctx:
Master-Key:
33287F03980FACA5A7F161F06106A16BA65DAD325B0548590EC22A939672C103845B04A5B399DFCC4D9E0A947752BF13
Key-Arg   : None
Start Time: 1126181117
Timeout   : 300 (sec)
Verify return code: 21 (unable to verify the first certificate)
---
* OK [CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS
CHILDREN BINARY LANGUAGE XSENDER X-NETSCAPE XSERVERINFO AUTH=PLAIN]
Messaging Multiplexor (Sun Java(tm) System Messaging Server 6.2 (built
Dec  2 2004))

Every now and then mutt freezes. strace sees it doing read(3,
unfinished ... and gdb shows:

~/src/mutt-1.5.9/build-tree/mutt-1.5.9$ gdb ./mutt 31001
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for
details.
This GDB was configured as i386-linux...Using host libthread_db
library /lib/tls/libthread_db.so.1.

Attaching to