Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5a6c4e861c5e841f83f067fbc3eacbd009938274
Ticket: 859820ffffffffffffffffffffffffffffffffff
tclsh84t crashes when opening pipe
User & Date: davygrvy on 2004-01-19 03:42:13
Changes

  1. icomment:
    Logged In: YES 
    user_id=7549
    
    infoPtr is in some sort of uninitialized state.  It looks like the 
    problem might be in Tcl_WaitPid at the end of the function.  
    During the mutex protected search, prevPtrPtr was valid at 
    that moment in time.  But after the wait to get the exit code, 
    is it still valid?  I don't think so.
    
    What we could do is splice this ProcInfo off prior to the wait 
    and during the list lock, then reinsert for when the wait 
    timedout.
    
    yahalom, could you attach a script that reproduces this if 
    possible.
    
    
  2. login: "davygrvy"
  3. mimetype: "text/plain"
  4. username: "davygrvy"