On Fri, Nov 11, 2016 at 05:54:06PM +0100, Giovanni Bechis wrote:
> On 11/11/16 17:08, Ricardo Mestre wrote:
> > Hi,
> > 
> > I can confirm this, just alerted gilles@ of the issue, essentially it's 
> > this:
> > 
> > "So basically I'm able to receive emails, no problem there, but when I try 
> > to
> > relay an email to the internet using my ISP's server as soon as STARTTLS is
> > sent then the lka process receives a SIGCHLD with errno 4 (interrupted 
> > syscall)
> > which is due to a kevent(2) call. At first I thought it must have been my 
> > ISP's
> > fault so I also tried Gmail, but the issue reveals itself exactly the same."
> > 
> > This is most likely some of the several changes made lately to LibreSSL and
> > that smtpd(8) didn't update some function(s).
> > 
> > Please find attached the ktrace and debug logs of showing this happening.
> > 
> some more infos coming from mutt attached: 
> #0  ASN1_STRING_free (a=0xdfdfdfdfdfdfdfdf)
>     at /usr/src/lib/libcrypto/asn1/asn1_lib.c:439
> 439             if (a->data != NULL && !(a->flags & ASN1_STRING_FLAG_NDEF)) {
> 

so you also have mutt crashing ?

smtpd has a stack within asn1 too:

Program received signal SIGBUS, Bus error.
(gdb) where
#0  ASN1_STRING_free (a=0xdfdfdfdfdfdfdfdf) at 
/usr/src/lib/libcrypto/asn1/asn1_lib.c:439
#1  0x000000773fbeb55f in ASN1_primitive_free (pval=0x76ff2a9f10, 
it=0x773fef3e40) at /usr/src/lib/libcrypto/asn1/tasn_fre.c:239
#2  0x000000773fbeb907 in ASN1_template_free (pval=0x76ff2a9f10, 
tt=0x773ff0a030) at /usr/src/lib/libcrypto/asn1/tasn_fre.c:185
#3  0x000000773fbeb7f3 in asn1_item_combine_free (pval=0x7f7ffffefab0, 
it=0x773ff01ba0, combine=0)
    at /usr/src/lib/libcrypto/asn1/tasn_fre.c:158
#4  0x000000773fbeb942 in ASN1_item_free (val=0x76ff2a9f00, it=Variable "it" is 
not available.
    ) at /usr/src/lib/libcrypto/asn1/tasn_fre.c:73
#5  0x000000773fc2b62f in X509_INFO_free (x=0x76862e5e00) at 
/usr/src/lib/libcrypto/asn1/x_info.c:100
#6  0x000000773fba2690 in sk_pop_free (st=0x76f2b45640, func=0x773fc2b5f0 
<X509_INFO_free>)
    at /usr/src/lib/libcrypto/stack/stack.c:281
#7  0x000000773fc27b3b in X509_load_cert_crl_file (ctx=0x76862e7e20, 
file=Variable "file" is not available.
    ) at /usr/src/lib/libcrypto/x509/by_file.c:271
#8  0x000000773fc27c0d in by_file_ctrl (ctx=0x76862e7e20, cmd=Variable "cmd" is 
not available.
    ) at /usr/src/lib/libcrypto/x509/by_file.c:101
#9  0x000000773fba3f94 in X509_STORE_set_default_paths (ctx=0x771ab1c000) at 
/usr/src/lib/libcrypto/x509/x509_d2.c:74


-- 
Gilles Chehade

https://www.poolp.org                                          @poolpOrg

Reply via email to