On 29/04/2009 3:29 PM, Jade Rubick wrote:
Here is a backtrace of the crash with 1.6 stable. Did you need it from head?

No, that is the correct tls.c. I'm curious what the value of ctx and dh are in stack frame #11 (at DH_free). Tcl_Panic should be passing a clear message to - what is that? It may be trying to free memory from a different thread. I am also suspicious about the several different *_free functions that are taking place here. DH_free shouldn't trigger such a chain from what I can see.

This may be some interaction case specific to AOLServer use as well, with the ns_free layering over the threaded Tcl allocator.

Can't really say much else, except that it does work without the other components involved.

Jeff

TLS BACKTRACE FROM 1.6 stable (without disabling DH)

*Complete backtrace:*
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7cd4875 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7cd6201 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7ee7a4f in Tcl_PanicVA () from /usr/local/tcl/lib/libtcl8.4.so <http://libtcl8.4.so> #4 0xb7ee7a77 in Tcl_Panic () from /usr/local/tcl/lib/libtcl8.4.so <http://libtcl8.4.so> #5 0xb7ef6b4f in Ptr2Block () from /usr/local/tcl/lib/libtcl8.4.so <http://libtcl8.4.so> #6 0xb7ef7117 in TclpFree () from /usr/local/tcl/lib/libtcl8.4.so <http://libtcl8.4.so> #7 0xb7e9751d in Tcl_Free () from /usr/local/tcl/lib/libtcl8.4.so <http://libtcl8.4.so> #8 0xb7f27251 in ns_free () from /usr/local/aolserver40r10/lib/libnsthread.so #9 0xb605c4aa in CRYPTO_free () from /usr/lib/i686/cmov/libcrypto.so.0.9.8 #10 0xb60890aa in BN_clear_free () from /usr/lib/i686/cmov/libcrypto.so.0.9.8
#11 0xb60b0836 in DH_free () from /usr/lib/i686/cmov/libcrypto.so.0.9.8
#12 0xa1ffa1e5 in CTX_Init (statePtr=0x139ce5c0, proto=3, key=0x0, cert=0x0,
    CAdir=0x0, CAfile=0x0, ciphers=0x0) at tls.c:1015
#13 0xa1ff9a72 in ImportObjCmd (clientData=0x0, interp=0x16403240, objc=4,
    objv=0xa97f96bc) at tls.c:800
#14 0xb7e923c3 in TclEvalObjvInternal () from /usr/local/tcl/lib/libtcl8.4.so <http://libtcl8.4.so> #15 0xb7e92987 in Tcl_EvalEx () from /usr/local/tcl/lib/libtcl8.4.so <http://libtcl8.4.so> #16 0xb7e93635 in Tcl_EvalObjEx () from /usr/local/tcl/lib/libtcl8.4.so <http://libtcl8.4.so>
        ...
*Offending frame in stack:*
*#12 0xa1ffa1e5 in CTX_Init (statePtr=0x139ce5c0, proto=3, key=0x0, cert=0x0,
    CAdir=0x0, CAfile=0x0, ciphers=0x0) at tls.c:1015
1015            DH_free(dh);


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
<lists...@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to