Hi Gurus, I am not subscribed to this list so please reply to my personal email id( [EMAIL PROTECTED]).
Our multi-threaded application is crashing and the pstack of the core points to openssl. We r using openssl version 0.9.6g and http://www.openssl.org/news/changelog.html points to a bug getting fixed on flush but don't know whether our problem is related to that or not. We can see that the code path for SSL_CTX_flush_sessions is invoked when the auto flush at 255 connections is called. But, why should our application crash? The pstack output is given below for you reference. Please observe this portion from the detailed pstack output given below: 001f29a4 SSL_CTX_flush_sessions (3464fc, 100, 93e230, 362020, b0d9c60, 4970fc0) + 64 001dd68c ssl3_accept (2000, 36c9f8, 4, 362020, e, 2110) + e0c 001e8d78 ssl23_get_client_hello (33, 362020, f84018a4, 4c, 2, b0d9c60) + 858 ********************************************************************** core './scripts/core' of 28920: /opt/arcot/sbin/dsserver.real ----------------- lwp# 632 / thread# 631 -------------------- ff142a44 t_splay (e515a8, 797ac, b353ec8, 17d26e0, 38d3668, b6121c8) + 18 ff1428a8 t_delete (e515a8, ff1bc008, 101, ce52568, 38d3668, 38) + 50 ff1424dc realfree (e515a8, ff1c2858, ff1bc008, ce52568, 3b, ce52570) + d0 ff142cec _free_unlocked (ff1c27cc, ff1bc008, 5090fd8, ff1bc008, 21eec, ff142c34) + a0 ff142c3c free (5090fd8, 363530, 0, 1f7c98, 21ec4, 0) + 20 001f7c98 CRYPTO_free (5090fd8, 36d6fc, 362020, 1f7c98, 21ec4, 0) + 5c 0021b424 sk_pop_free (c, 228c38, 2, 228c38, a55a5e0, 0) + 48 00228c20 X509_NAME_free (362020, 105becc8, 362020, 8c, 15c358, ff142c34) + 34 0026c2d0 X509_CINF_free (362020, 10283f78, 118c6af8, 34c02c, 8c, 118c6af8) + 48 00229364 X509_free (362020, 118c6ae0, 362020, 3464fc, 1d1, fe44410) + 64 001f290c timeout (362020, fe44358, f84017c4, 0, 21eec, 1d0e4c) + 1ac 0021bcd0 lh_doall_arg (5bc8, 16f2, 1f2760, 93e230, f84017c4, 93b120) + 48 001f29a4 SSL_CTX_flush_sessions (3464fc, 100, 93e230, 362020, b0d9c60, 4970fc0) + 64 001dd68c ssl3_accept (2000, 36c9f8, 4, 362020, e, 2110) + e0c 001e8d78 ssl23_get_client_hello (33, 362020, f84018a4, 4c, 2, b0d9c60) + 858 001e84dc ssl23_accept (2000, 649d268, 362020, 362020, 1, 2210) + 244 001e9b20 ssl23_read (b0d9c60, 1057cd40, 400, 362020, 6f9f428, 1) + 54 0013f0f0 __1cVSocketTransportStreamEread6MpCi_i_ (218c1d0, f8401a3f, 1, 13f050, 1, ffffffff) + a0 00145f68 __1cRHTTPRequestHeaderEread6MpnJio_reader__i_ (f8401c5c, 218c1d0, 0, 0, 73006c61, 73007000) + 34 001470c8 __1cLHTTPRequestEread6MpnJio_reader__i_ (f8401c58, 218c1d0, 7530, ffffff88, 0, 37eaa1) + c 0008d0ec __1cTDSHTTPServerHandlerHon_read6MpnPTransportStream_pv_i_ (389d90, 218c1d0, 0, 1d0f24, a239bc0, 38a0ac) + 2a4 00197004 __1cMServerThread6Fpv_0_ (38a054, 11, 12, 36be64, fec6c000, 0) + 13c fec5b11c _thread_start (38a054, 0, 0, 0, 0, 0) + 40 ----------------- lwp# 657 / thread# 656 -------------------- ff19f8b4 _lwp_sema_wait (f8181e60, fec6c000, 0, f8181d98, 4838f90, 0) + c fec490f0 _swtch (f8181d98, 0, fec6c000, 5, 1000, 0) + 158 fec48304 _cond_wait (f8181d98, 4356, fec6c000, 8e0bc8, 8aef18, 1d0f30) + d4 001d0f30 sthread_impl_cond_wait (8aef18, 8e0bc8, 0, 1d0f24, 21ec4, 38a0ac) + c 00196f64 __1cMServerThread6Fpv_0_ (38a054, 3665f0, 13eb14, 36be64, fec6c000, 0) + 9c fec5b11c _thread_start (38a054, 0, 0, 0, 0, 0) + 40 ***************************************************************************************************************** Thanks Biswatosh ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]