Michelle Konzack writes:
Hello *,since over 2 years I have this bug several times a day in my logs while mutt crassh unexpected: Nov 26 22:30:37 samba3 courieresmtpd: courieresmtpd: STARTTLS failed: DEBUG: Unexpected SSL connection shutdown. I have tried to debug "mutt" and courier but without success. I do not know whether the error is provoked by "courier" and trigger a bug in "mutt" or the error is onl in "mutt" or in a SSL/TLS library. Any suggestions? "strace" does not work, because it produce a tracefile of ore then 10 GB before "mutt" crash.
There's nothing that Courier could possibly do that would result in an IMAP client crashing. Doesn't matter what the client is. The client, and the server, are talking over a socket. There's nothing that Courier could do in order to make the client crash. There's nothing that the client could do which would result in Courier crashing. The crash, by either party, is due to the same party's bug.
If by mutt crashing you mean the process dying and the shell reporting a segfault, then mutt is truly crashing due to an internal bug. The network connection gets closed by the kernel. The server notices that the connection has unexpectedly closed, in a manner that's not consistent with the protocol, and dutifully reports it to syslog.
Options for debugging an IMAP client is mostly starting the process under gdb, or attaching gdb, from another terminal, to an existing process. If the process signals a segfault, gdb will take over, you can then generate a backtrace. This would produce meaningful results only if the executable has debug symbols, and, preferrably, was built without compiler optimizations. The typical stock binary, though, is built with compiler optimizations, and the debug data is stripped from the executable to reduce its size.
pgpPsfJcdeVN9.pgp
Description: PGP signature
------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
