Hi, I have a SSL enabled client application. The client connects to the server with which it shares no common ciphers. When 200 or more simultaneous connections are made the application crashes. The backtrace indicates double free or corruption (!prev) in CRYPTO_free(). However when there is a common shared ciphers between the client and server there are no issues.
#0 0x40000402 in __kernel_vsyscall () #1 0x001fc1f8 in raise () from /lib/libc.so.6 #2 0x001fd948 in abort () from /lib/libc.so.6 #3 0x0023152a in __libc_message () from /lib/libc.so.6 #4 0x00237424 in _int_free () from /lib/libc.so.6 #5 0x0023795f in free () from /lib/libc.so.6 #6 0x4056e6fa in CRYPTO_free () from ../lib/libcrypto.so.0.9.8 The client uses libcrypto.so.0.9.8. Is there any known issues in libcrypto.so.0.9.8?.. Whats baffling me is there are no issues in successful handshakes but application quite immediately crashes with failed handshakes. The way the client handles cleanup is same for both the cases. Simultaneous connections are achieved by creating threads , one thread for every connections. But the CTX and SSL objects are all different for each threads. Regards, Prabhu. S