Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6aa416f306e02c55eecd22a167d910df0de459ab
Ticket: 1381436fffffffffffffffffffffffffffffffff
threaded tcl crashes
User & Date: yahalom on 2005-12-15 17:39:43
Changes

  1. icomment:
    Logged In: YES 
    user_id=130120
    
    compiling with symbos this is what I get:
    unsigned long
    TclpGetPid(
        Tcl_Pid pid)/* The HANDLE of the child 
    process. */
    {
        ProcInfo *infoPtr;
    
        Tcl_MutexLock(&pipeMutex);
        for (infoPtr = procList; infoPtr != NULL; infoPtr = 
    infoPtr->nextPtr) {
    if (infoPtr->hProcess == (HANDLE) pid) {
        Tcl_MutexUnlock(&pipeMutex);
    ==>    return infoPtr->dwProcessId;
    }
        }
        Tcl_MutexUnlock(&pipeMutex);
        return (unsigned long) -1;
    }
    
    
    the exception is on :return infoPtr->dwProcessId;
    
    
    
  2. login: "yahalom"
  3. mimetype: "text/plain"
  4. username: "yahalom"