Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ef1689bbea9e19fbe159a15de120815571d18cf8
Ticket: 1850424fffffffffffffffffffffffffffffffff
core dump on FreeBSD stack overflow
User & Date: msofer on 2007-12-21 08:28:30
Changes

  1. icomment:
    Logged In: YES 
    user_id=148712
    Originator: NO
    
    Something nastier is amiss with 8.5 and pthreads, apparently independent of the stack checking: in a build with TCL_NO_STACK_CHECK I get under gdb
    
    (gdb) run
    Starting program: /home/miguel/tcl8.5.0/unix/./tcltest 
    % source ../tests/compExpr-old.test
    
    Program received signal SIGBUS, Bus error.
    0x4820ff5e in _get_curthread () from /usr/lib/libc_r.so.4
    (gdb) bt 10
    #0  0x4820ff5e in _get_curthread () from /usr/lib/libc_r.so.4
    #1  0x48209913 in pthread_getspecific () from /usr/lib/libc_r.so.4
    #2  0x814e5d1 in TclpGetAllocCache () at /home/miguel/tcl8.5.0/unix/../unix/tclUnixThrd.c:844
    #3  0x812f97e in TclpAlloc (reqSize=1024) at /home/miguel/tcl8.5.0/unix/../generic/tclThreadAlloc.c:291
    #4  0x807508f in Tcl_AttemptAlloc (size=1024) at /home/miguel/tcl8.5.0/unix/../generic/tclCkalloc.c:1071
    #5  0x80a6fc6 in ParseExpr (interp=0x81bac08, start=0x829b788 "(1==0)+-1", numBytes=9, opTreePtr=0xbfb001bc, litList=0x82cf7d0, funcList=0x82cbff0, 
        parsePtr=0x82eede0, parseOnly=0) at /home/miguel/tcl8.5.0/unix/../generic/tclCompExpr.c:628
    
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. priority changed to: "8"
  5. username: "msofer"