Hello all, I have written some code to encrypt/decrypt data and to generate digest of a message using openssl. I am using the openssl version OpenSSL 0.9.7a Feb 19 2003, and occasionally my program dumps core, always inside the method openssl_add_all_ciphers. The result of the stack trace from the core is below... can someone please give me some suggestions as to how to fix this problem? Note that this crash happens occasionally and I am not able to figure out when it happens. These crashes are driving me nuts... is this a bug in this version of the library or is there a more stable version that i should be using or something? I did a lot of google search and found nothing on this one...
here is the stack trace: #0 0x004927a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x004d3815 in raise () from /lib/tls/libc.so.6 #2 0x004d53d1 in abort () from /lib/tls/libc.so.6 #3 0x00507cca in __libc_message () from /lib/tls/libc.so.6 #4 0x0050e55f in _int_free () from /lib/tls/libc.so.6 #5 0x0050ff01 in _int_realloc () from /lib/tls/libc.so.6 #6 0x005110fc in realloc () from /lib/tls/libc.so.6 #7 0x05a774e9 in CRYPTO_get_new_dynlockid () from /lib/libcrypto.so.4 #8 0x05a77b6a in CRYPTO_realloc () from /lib/libcrypto.so.4 #9 0x05abe770 in lh_insert () from /lib/libcrypto.so.4 #10 0x05ac2135 in OBJ_NAME_add () from /lib/libcrypto.so.4 #11 0x05ac9788 in OpenSSL_add_all_ciphers () from /lib/libcrypto.so.4 #12 address of my code... Thanks, -KP