One more attempt: stuck processes

Sebastian Hagedorn Hagedorn at
Fri Nov 16 15:49:12 EST 2007

-- Ken Murchison <murch at> is rumored to have mumbled on 16. 
November 2007 12:58:49 -0500 regarding Re: One more attempt: stuck 

>> So should I add a call to ERR_get_error()?
> Not yet.  I'm assuming that none of these processes has hung.  We're
> getting an I/O error most likely because the client has closed the
> connection immediately after sending QUIT.  This is harmless.
> What I really want to see is if we get a SSL_ERROR_WANT_xxx return code
> when we're hung.

I have both good and bad news. Bad news first: there is a stuck process 
that did *not* log that SSL_read line.

Good news: the binary I'm running now isn't stripped and has much more 
detail in its stack trace:

(gdb) bt
#0  0x003d341e in __read_nocancel () from /lib/tls/
#1  0x0017f2f7 in BIO_new_socket () from /lib/
#2  0x0017d2b2 in BIO_read () from /lib/
#3  0x0089ec30 in ssl3_alert_code () from /lib/
#4  0x0089edcc in ssl3_alert_code () from /lib/
#5  0x008a00cf in ssl3_read_bytes () from /lib/
#6  0x008a0ffc in ssl3_get_message () from /lib/
#7  0x00896cab in ssl3_accept () from /lib/
#8  0x00896944 in ssl3_accept () from /lib/
#9  0x008a5c9a in SSL_accept () from /lib/
#10 0x008a180d in ssl23_get_client_hello () from /lib/
#11 0x008a1712 in ssl23_accept () from /lib/
#12 0x008a5c9a in SSL_accept () from /lib/
#13 0x08052cf3 in tls_start_servertls (readfd=-512, writefd=-512, 
layerbits=0xbfff7a78, authid=0xbfff7a74,
    ret=0x810bca0) at tls.c:803
#14 0x0804e553 in cmd_starttls (pop3s=1) at pop3d.c:1076
#15 0x0804d5cc in service_main (argc=2, argv=0x9e84008, envp=0xbfff9850) at 
#16 0x08054550 in main (argc=2, argv=0x9, envp=0xbfff9850) at service.c:539

There's much less POP activity now, so I may have to wait until Monday for 
more results.
Sebastian Hagedorn - Postmaster - RZKR-R1 (Flachbau), Zimmer 18
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : 

More information about the Info-cyrus mailing list