Hello,
We use OpenSSL 0.9.8x for our encryption purpose and it crashes our app
randomly but consistently at BIO_test_flags symbol dereferences. Below is the
stack from the core file up to the point of the crash. Has anyone seen this
problem and if so any solution for it? Thanks!
(gdb) where
#0 0x004f4424 in __kernel_vsyscall ()
#1 0x00c1caf1 in raise () from /lib/libc.so.6
#2 0x00c1e3ca in abort () from /lib/libc.so.6
#3 0x0117c161 in os::abort(bool) () from
/usr/java/jdk1.7.0_21/jre/lib/i386/client/libjvm.so
#4 0x01264654 in VMError::report_and_die() () from
/usr/java/jdk1.7.0_21/jre/lib/i386/client/libjvm.so
#5 0x011803f3 in JVM_handle_linux_signal () from
/usr/java/jdk1.7.0_21/jre/lib/i386/client/libjvm.so
#6 0x01178746 in signalHandler(int, siginfo*, void*) () from
/usr/java/jdk1.7.0_21/jre/lib/i386/client/libjvm.so
#7 <signal handler called>
#8 0x01ad0ad9 in BIO_test_flags (b=0x0, flags=15) at bio_lib.c:151
#9 0x01ad16bc in BIO_copy_next_retry (b=0xb41db140) at bio_lib.c:569
#10 0x01ad509a in buffer_ctrl (b=0xb41db140, cmd=11, num=0, ptr=0x0) at
bf_buff.c:410
#11 0x01ad1182 in BIO_ctrl (b=0xb41db140, cmd=11, larg=0, parg=0x0) at
bio_lib.c:370
#12 0x00b16c13 in dtls1_retransmit_message (s=0x6585eff0, seq=0, frag_off=0,
found=0xb34fdca0) at d1_both.c:1306
#13 0x00b16683 in dtls1_retransmit_buffered_messages (s=0x6585eff0) at
d1_both.c:1142
#14 0x00b11e8a in dtls1_handle_timeout (s=0x6585eff0) at d1_lib.c:384
#15 0x00b12c65 in dtls1_read_bytes (s=0x6585eff0, type=22, buf=0xb34fde0c
"\rGp", len=12, peek=0) at d1_pkt.c:735
#16 0x00b15c36 in dtls1_get_message_fragment (s=0x6585eff0, st1=4384, stn=4385,
max=20000, ok=0xb34fdee4)
at d1_both.c:801
#17 0x00b14fcf in dtls1_get_message (s=0x6585eff0, st1=4384, stn=4385, mt=-1,
max=20000, ok=0xb34fdee4)
at d1_both.c:438
#18 0x00afd1d1 in ssl3_get_server_hello (s=0x6585eff0) at s3_clnt.c:700
#19 0x00b0fcb4 in dtls1_connect (s=0x6585eff0) at d1_clnt.c:256
#20 0x00b1b31d in SSL_do_handshake (s=0x6585eff0) at ssl_lib.c:2194
#21 0x00704f5c in NDDS_Transport_DTLS_Connection_try_connect ()
from /opt/RTI/ndds-current/lib/i86Linux2.6gcc4.1.1/libnddstransporttls.so
#22 0x00705302 in NDDS_Transport_DTLS_Connection_send ()
from /opt/RTI/ndds-current/lib/i86Linux2.6gcc4.1.1/libnddstransporttls.so
#23 0x0070a057 in NDDS_Transport_DTLS_send () from
/opt/RTI/ndds-current/lib/i86Linux2.6gcc4.1.1/libnddstransporttls.so
#24 0x0048472a in ZRTPS_Transport_Send () from
/opt/RTI/ndds-current/lib/i86Linux2.6gcc4.1.2/librtizrtps.so
#25 0x00133af8 in LBRTPS_Transport_Send () from
/opt/RTI/ndds-current/lib/i86Linux2.6gcc4.1.2/librtilbrtps.so
#26 0x04ae7c1c in RTINetioSender_send () from
/opt/RTI/ndds-current/lib/i86Linux2.6gcc4.1.1/libnddscore.so
#27 0x04ad82cf in MIGGeneratorContext_flush () from
/opt/RTI/ndds-current/lib/i86Linux2.6gcc4.1.1/libnddscore.so
#28 0x04add4d6 in MIGGenerator_finishMessage () from
/opt/RTI/ndds-current/lib/i86Linux2.6gcc4.1.1/libnddscore.so
#29 0x04acc1b5 in COMMENDAnonWriterService_onBroadcastEvent ()
from /opt/RTI/ndds-current/lib/i86Linux2.6gcc4.1.1/libnddscore.so
#30 0x04afc3bf in RTIEventActiveGeneratorThread_loop ()
from /opt/RTI/ndds-current/lib/i86Linux2.6gcc4.1.1/libnddscore.so
#31 0x04b315ef in RTIOsapiThreadChild_onSpawned () from
/opt/RTI/ndds-current/lib/i86Linux2.6gcc4.1.1/libnddscore.so
#32 0x00dbda09 in start_thread () from /lib/libpthread.so.0
#33 0x00ccf00e in clone () from /lib/libc.so.6