Hello Team,
We have recently done the upgrade to openSSL version 1.0.1g and facing many
crashes in below code path. Crashes are seen consistently.
Any pointer on what went wrong will be really helpful. Thanks for your time !!
======Crash stack trace=============
(lldb) bt
* thread #30: tid = 0x6fdcc, 0x97f34a6a libsystem_kernel.dylib`__pthread_kill +
10, stop reason = signal SIGABRT
frame #0: 0x97f34a6a libsystem_kernel.dylib`__pthread_kill + 10
frame #1: 0x911a2b2f libsystem_c.dylib`pthread_kill + 101
frame #2: 0x911d95f3 libsystem_c.dylib`__abort + 199
frame #3: 0x911d952c libsystem_c.dylib`abort + 232
frame #4: 0x911c3227 libsystem_c.dylib`szone_error + 443
frame #5: 0x911c4482 libsystem_c.dylib`free_list_checksum_botch + 50
frame #6: 0x911c7a43 libsystem_c.dylib`tiny_malloc_from_free_list + 458
frame #7: 0x911c811a libsystem_c.dylib`szone_malloc_should_clear + 880
frame #8: 0x911bda9e libsystem_c.dylib`szone_malloc + 24
frame #9: 0x911bb5ab libsystem_c.dylib`malloc_zone_malloc + 75
frame #10: 0x911bbfe7 libsystem_c.dylib`malloc + 53
frame #11: 0x0026100d libxxcrypto.dylib`default_malloc_ex + 45
frame #12: 0x0026190f libxxcrypto.dylib`CRYPTO_malloc + 175
frame #13: 0x002766e0 libxxcrypto.dylib`pkey_hmac_init + 48
frame #14: 0x002f4159 libxxcrypto.dylib`int_ctx_new + 601
frame #15: 0x002f460c libxxcrypto.dylib`EVP_PKEY_CTX_new_id + 44
frame #16: 0x002f66cf libxxcrypto.dylib`EVP_PKEY_new_mac_key + 63
frame #17: 0x004a3b07 libxxssl.dylib`tls1_P_hash + 423
frame #18: 0x004a42d2 libxxssl.dylib`tls1_PRF + 770
frame #19: 0x004a6119 libxxssl.dylib`tls1_final_finish_mac + 633
frame #20: 0x00496fea libxxssl.dylib`ssl3_do_change_cipher_spec + 394
frame #21: 0x00496b23 libxxssl.dylib`ssl3_read_bytes + 3347
frame #22: 0x0049829e libxxssl.dylib`ssl3_get_message + 334
frame #23: 0x0049795a libxxssl.dylib`ssl3_get_finished + 90
frame #24: 0x0048700f libxxssl.dylib`ssl3_connect + 3103
frame #25: 0x004b8463 libxxssl.dylib`SSL_connect + 51
frame #26: 0x00031bcf
xxxxxxxxxxxxx`boost::asio::ssl::detail::engine::do_connect(this=0xb12c8a54,
=0x00000000, =0) + 19 at engine.ipp:272
frame #27: 0x000bee79
xxxxxxxxxxxxx`boost::asio::ssl::detail::engine::perform(this=<unavailable>,
data=<unavailable>, length=<unavailable>, ec=<unavailable>,
bytes_transferred=<unavailable>, op=<unavailable>)(void*, unsigned long),
void*, unsigned long, boost::system::error_code&, unsigned long*) + 73 at
engine.ipp:215
=====End ======
Thanks & Regards,
-NK