Re: openssl / libcrypt stuff dies with SIGILL

Martin Husemann <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <[email protected]>
I can reproduce it:

Reading symbols from openssl...Reading symbols from /usr/libdata/debug//usr/bin/openssl.debug...done.
done.
[New process 1]
Core was generated by `openssl'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0xffffffffff433cc8 in ssl3_send_certificate_request (s=0x0)
    at /usr/src/crypto/external/bsd/openssl/dist/ssl/s3_srvr.c:2161
2161                    *(p++)=SSL3_MT_SERVER_DONE;
(gdb) bt
#0  0xffffffffff433cc8 in ssl3_send_certificate_request (s=0x0)
    at /usr/src/crypto/external/bsd/openssl/dist/ssl/s3_srvr.c:2161
#1  0xffffffffff295650 in BIO_set (bio=bio@entry=0xfffffffffe902080, 
    method=0xffffffffff358ff8)
    at /usr/src/crypto/external/bsd/openssl/dist/crypto/bio/bio_lib.c:100
#2  0xffffffffff2956e0 in BIO_new (method=<optimized out>)
    at /usr/src/crypto/external/bsd/openssl/dist/crypto/bio/bio_lib.c:76
#3  0x0000000000167410 in main (Argc=<optimized out>, Argv=0xffffffffffffb9c8)
    at /usr/src/crypto/external/bsd/openssl/dist/apps/openssl.c:292

I'll back out the -O3 optimization for libcrypto for now.

Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.