Re: [exim] Segmentation Fault on STARTTLS

Pàgina inicial
Delete this message
Reply to this message
Autor: Tim Wilde
Data:  
A: Chris Lightfoot
CC: exim-users
Assumpte: Re: [exim] Segmentation Fault on STARTTLS
Chris Lightfoot wrote:
> I have seen segfaults with exim+TLS on FreeBSD previously,
> but never tracked down the cause (we didn't need TLS and
> just switched it off). But can you recompile your exim
> with debug symbols and get another stack trace?
>
> http://www.exim.org/mail-archives/exim-users/Week-of-Mon-20050321/msg00026.html


Stack trace with debug symbols:

#0  0x56e58955 in ?? ()
#1  0x283b4c49 in RSA_free () from /lib/libcrypto.so.4
#2  0x283cf6ad in EVP_PKEY_get1_DH () from /lib/libcrypto.so.4
#3  0x283cf73d in EVP_PKEY_free () from /lib/libcrypto.so.4
#4  0x283c78f0 in ENGINE_set_digests () from /lib/libcrypto.so.4
#5  0x283da6be in ASN1_primitive_free () from /lib/libcrypto.so.4
#6  0x283da84e in ASN1_template_free () from /lib/libcrypto.so.4
#7  0x283da768 in ASN1_primitive_free () from /lib/libcrypto.so.4
#8  0x283da84e in ASN1_template_free () from /lib/libcrypto.so.4
#9  0x283da768 in ASN1_primitive_free () from /lib/libcrypto.so.4
#10 0x283da887 in ASN1_item_free () from /lib/libcrypto.so.4
#11 0x283aff65 in X509_free () from /lib/libcrypto.so.4
#12 0x2830b16e in SSL_CTX_use_certificate_chain_file ()
   from /usr/lib/libssl.so.4
#13 0x080c963e in tls_init (host=0x0, dhparam=0xbfbfda98 "p\001*\b",
    certificate=0x82a0170 "/usr/local/exim/etc/krellis.org.pem",
    privatekey=0x0, addr=0x0) at tls-openssl.c:380
#14 0x080c9bab in tls_server_start (require_ciphers=0x0) at
tls-openssl.c:628
#15 0x080c1fbc in smtp_setup_msg () at smtp_in.c:3370
#16 0x08080a4b in daemon_go () at daemon.c:495
#17 0x080910c1 in main (argc=4, cargv=0xbfbfec00) at exim.c:4027


Looks different from what you reported previously. Doesn't tell me much
more, but hopefully it might give someone else a clue. :)

Thanks,
Tim Wilde