Skip to content
Tcl Source Code History Of Ticket 218985ffffffffff
Login

History Of Ticket 218985ffffffffff

Artifacts Associated With Ticket 218985ffffffffff

  1. Ticket change [08ef4e99ee] (rid 89642) by nobody on 2000-10-26 01:08:57:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 3545 Bug
      Version: 8.2.2
      SubmitDate: '1999-11-11'
      LastModified: '1999-11-11'
      Severity: MED
      Status: Released
      Submitter: techsupp
      ChangedBy: hobbs
      OS: All
      OSVersion: 8.2.0, 8.2.1, 8.2.2
      Machine: any
      FixedDate: '1999-11-11'
      FixedInVersion: 8.2.3
      ClosedDate: '2000-10-25'
      
      
      Name:
      
      Zoran Vasiljevic
      
      
      ReproducibleScript:
      
      The Tcl_DeleteExitHandler() in generic/TclEvent.c fails to release exitMutex if not able to
      
      find passed exit proc and its client data. This results in Tcl unable to properly exit.
      
      To reproduce: 
      
      Register an exit procedure within an extension. 
      
      Start tclsh, load extension, exit (-> blocks undefinitely)
      
      
      Patch:
      
      *** tclEvent.c  Fri Apr 23 03:57:08 1999
      
      --- tclEvent.c.new      Wed Nov 10 10:56:07 1999
      
      ***************
      
      *** 453,463 ****
      
                  } else {
      
                      prevPtr->nextPtr = exitPtr->nextPtr;
      
                  }
      
      -           Tcl_MutexUnlock(&exitMutex);
      
                  ckfree((char *) exitPtr);
      
      !           return;
      
              }
      
            }
      
        }
      
        ^L
      
        /*
      
      --- 453,464 ----
      
                  } else {
      
                      prevPtr->nextPtr = exitPtr->nextPtr;
      
                  }
      
                  ckfree((char *) exitPtr);
      
      !           break;
      
              }
      
            }
      
      +     Tcl_MutexUnlock(&exitMutex);
      
      +     return;
      
        }
      
        ^L
      
        /*
      
      
      PatchFiles:
      
      tclEvent.c
      
      
      
      
      fixed in 8.3b1. 
      -- 11/11/1999 hobbs
      
    4. foundin initialized to: "obsolete: 8.2.2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to: "Tcl_DeleteExitHandler() fails to release exitMutex"
    11. type initialized to: "Bug"
  2. Ticket change [7912b9a05e] (rid 90060) by welch on 2000-10-26 08:33:07:

    1. closedate changed to: "2000-10-26T01:33:07"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [8790513198] (rid 131716) by dgp on 2001-04-19 04:40:59:

    1. closedate changed to: "2001-04-18T21:40:59"
    2. closer changed to: "dgp"
    3. subsystem changed to: "02. Event Loops"