Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7fed569d9a2d7e2287d13efba74c7f1ce979eaf1
Ticket: 486399ffffffffffffffffffffffffffffffffff
Panic on exit before all threads returned
User & Date: chrishall on 2001-11-28 09:04:21
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Solaris 2.7, 2 CPU machine
    
    [belinda 14]--> gcc -v
    Reading specs from
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.3/specs
    gcc version 2.95.3 20010315 (release)
    
    Tcl 8.4a3, built thus:
    
    ./configure\
    --enable-threads\
    --enable-shared\
    --enable-gcc\
    --prefix=/opt/tcl8.4a3
    
    Thread package built thus:
    
    ./configure\
    --enable-gcc\
    --with-tcl=/opt/tcl8.4a3/lib\
    --enable-shared\
    --enable-threads\
    --prefix=/opt/tcl8.4a3
    
    The attached tar file contains three small scripts. If
    you run:
    
    tclsh8.4 boss.tcl
    
    You should be able to get it to do this:
    [belinda 66]--> tclsh8.4 boss.tcl
    task_done 6
    task_done 7
    task_done 8
    task_done 9
    task_done 10
    task_done 6
    task_done 7
    task_done 8
    task_done 9
    task_done 6
    10 exiting...
    BOSS: worker_exit 10
    8 exiting...
    7 exiting...
    BOSS: worker_exit 8
    BOSS: worker_exit 7
    9 exiting...
    BOSS: worker_exit 9
    6 exiting...
    BOSS: worker_exit 6
    BOSS: done...
    Tcl_Release couldn't find reference for 0x43938
    Abort (core dumped)
    
    My stack trace is:
    
    (gdb) where
    #0  0xff059968 in __sigprocmask () from
    /usr/lib/libthread.so.1
    #1  0xff04f1f0 in _resetsig () from
    /usr/lib/libthread.so.1
    #2  0xff04e93c in _sigon () from
    /usr/lib/libthread.so.1
    #3  0xff0517b4 in _thrp_kill () from
    /usr/lib/libthread.so.1
    #4  0xff0b9450 in abort () from /usr/lib/libc.so.1
    #5  0xff2ee028 in Tcl_PanicVA () from
    /opt/tcl8.4a3/lib/libtcl8.4.so
    #6  0xff2ee054 in Tcl_Panic () from
    /opt/tcl8.4a3/lib/libtcl8.4.so
    #7  0xff2f57f0 in Tcl_Release () from
    /opt/tcl8.4a3/lib/libtcl8.4.so
    #8  0xfe7c347c in ThreadEventProc ()
       from /opt/tcl8.4a3/lib/thread2.2/../libthread2.2.so
    #9  0xff2ec1e0 in Tcl_ServiceEvent () from
    /opt/tcl8.4a3/lib/libtcl8.4.so
    #10 0xff2ec538 in Tcl_DoOneEvent () from
    /opt/tcl8.4a3/lib/libtcl8.4.so
    #11 0xfe7c3148 in ThreadWait ()
       from /opt/tcl8.4a3/lib/thread2.2/../libthread2.2.so
    #12 0xfe7c1b28 in ThreadWaitObjCmd ()
       from /opt/tcl8.4a3/lib/thread2.2/../libthread2.2.so
    #13 0xff2eebec in EvalObjv () from
    /opt/tcl8.4a3/lib/libtcl8.4.so
    #14 0xff2ef230 in Tcl_EvalEx () from
    /opt/tcl8.4a3/lib/libtcl8.4.so
    #15 0xff2e33dc in Tcl_FSEvalFile () from
    /opt/tcl8.4a3/lib/libtcl8.4.so
    #16 0xff2b51ac in Tcl_SourceObjCmd () from
    /opt/tcl8.4a3/lib/libtcl8.4.so
    #17 0xff2eebec in EvalObjv () from
    /opt/tcl8.4a3/lib/libtcl8.4.so
    #18 0xff2ef230 in Tcl_EvalEx () from
    /opt/tcl8.4a3/lib/libtcl8.4.so
    #19 0xff2ef48c in Tcl_Eval () from
    /opt/tcl8.4a3/lib/libtcl8.4.so
    #20 0xfe7c2238 in NewThread ()
       from /opt/tcl8.4a3/lib/thread2.2/../libthread2.2.so
    
    
    
    
  4. foundin changed to: "obsolete: 8.4a3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "chrishall"
  9. subsystem changed to: "49. Threading"
  10. title changed to: "Occasional (1 in 3 times) error"
  11. type changed to: "Bug"