Mantis - Resin
Viewing Issue Advanced Details
4009 minor always 04-20-10 12:05 01-18-11 15:30
alex  
ferg  
normal  
closed 3.1.9  
fixed  
none    
none 3.1.11  
0004009: openssl: double free or corruption error
on behalf of Warren Lowe
*** glibc detected *** /opt/jdk1.6.0_18/bin/java: double free or corruption (fasttop): 0x00002aaf78336940 ***
======= Backtrace: =========
/lib64/libc.so.6[0x2b6d874564f4]
/lib64/libc.so.6(cfree+0x8c)[0x2b6d87459b1c]
/lib64/libcrypto.so.6(CRYPTO_free+0x1d)[0x2aaf133b724d]
/lib64/libcrypto.so.6(OBJ_NAME_add+0x94)[0x2aaf133b9a64]
/lib64/libssl.so.6(SSL_library_init+0xe6)[0x2aaf1314d126]
/opt/resin-pro-3.1.9/libexec64/libresinssl.so[0x2aaf12f08dcf]
======= Memory map: ========
40000000-40009000 r-xp 00000000 fd:01 1671841 /opt/jdk1.6.0_18/bin/java
40108000-4010a000 rwxp 00008000 fd:01 1671841 /opt/jdk1.6.0_18/bin/java
40349000-4034c000 ---p 40349000 00:00 0
4034c000-40b4a000 rwxp 4034c000 00:00 0
40b4a000-40b4b000 ---p 40b4a000 00:00 0
40b4b000-40c4b000 rwxp 40b4b000 00:00 0
...
 
-Centos 5 64-bit, and openssl version OpenSSL 0.9.8b.
- ldd (GNU libc) 2.5

Notes
(0004541)
alex   
04-21-10 09:33   
The error has to do with an intermittent failure to initialize openssl,
which we did not experience earlier. Overcoming the error took advancing our
openssl client libraries to hook into opensll synchronization routines. In
my view, this may have to do with multicore processors and machines getting
faster, as well as, possibly, environments going 64 bit.