Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8e1fa18257ce813935ef958cbb8932ec1aa6d6a7
Ticket: 718045ffffffffffffffffffffffffffffffffff
Closing transferred channel crashes app
User & Date: andreas_kupries on 2003-04-22 07:40:01
Changes

  1. icomment:
    Logged In: YES 
    user_id=75003
    
    The system is confused about the threads ... The channel we 
    are close is managed by thread 0x660 (See statePtr-
    >managingThread, when in Tcl_CutChannel). However the 
    function itself gets the tsdPtr for thread 0x3bc (Determined by 
    looking at the managingThread item in the channel list so 
    found).
    
    So, we get the channel list for a thread different from the 
    thread actually managing the channel. Therefore the channel 
    is not found in the list, and tcl panics. That is what we see.
    
    ______
    Regarding help you (Ken) can provide ... Just compile Tcl and 
    Thread with --enable-symbols and the crash allows you to 
    directly jump into the MSVC++ debugger and inspect 
    variables, stack, etc.
    
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"