Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0c512c5237ece300746ac91629a7884f79571316
Ticket: 3129844fffffffffffffffffffffffffffffffff
Thread hangs on specific exit sequence
User & Date: andreas_kupries on 2010-12-07 06:37:52
Changes

  1. assignee changed to: "vasiljevic"
  2. icomment:
    With Thread 2.6.5 and Tcl 8.5.7 the tclsh simply hangs on exist instead of seg.faulting. (I assume crash meant seg.fault and core dump).
    
    I can also make the script shorter, using only
    
     package require Thread
     thread::release [thread::id]
     thread::names
     exit
    
    There is likely something wrong in the thread reference counter management, with us trying to release a thread which was never preserved. Plus the fact that we are releasing the 'main' thread of the system. My guess is that this is also a factor, the main thread is special, being the whole system.
    
    Re-assigning to Zoran, our thread maintainer.
    
    
  3. login: "andreas_kupries"
  4. mimetype: "text/plain"
  5. username: "andreas_kupries"