Skip to content
Tcl Source Code History Of Ticket 219058ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 219058ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 219058ffffffffffffffffffffffffffffffffff

  1. Ticket change [cab1f43b1f] (rid 95402) by nobody on 2000-10-26 01:10:00:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 4262 RFE
      Version: 8.3
      SubmitDate: '2000-02-28'
      LastModified: '2000-03-30'
      Severity: MED
      Status: Released
      Submitter: techsupp
      ChangedBy: hobbs
      OS: Linux
      OSVersion: Linux
      FixedDate: '2000-03-30'
      FixedInVersion: 8.3.1
      ClosedDate: '2000-10-25'
      
      
      Name:
      
      mo
      
      
      
      CVS:
      
      today (Feb 28)
      
      
      
      DesiredBehavior:
      
      Could you add this patch? It fixes a comment and adds some more description
      
      to a really strange crasher bug that can happen if bad arguments are
      
      passed to Tcl_CreateObjCommand(). No actual code is changed by this patch.
      
      
      
      Patch:
      
      Index: generic/tclBasic.c
      
      ===================================================================
      
      RCS file: /cvsroot/tcl/generic/tclBasic.c,v
      
      retrieving revision 1.24
      
      diff -u -r1.24 tclBasic.c
      
      --- tclBasic.c2000/01/21 02:25:251.24
      
      +++ tclBasic.c2000/02/28 21:24:49
      
      @@ -2025,8 +2025,8 @@
      
           Tcl_Interp *interp;/* Interpreter in which to look
      
        * for command. */
      
           char *cmdName;/* Name of desired command. */
      
      -    Tcl_CmdInfo *infoPtr;/* Where to store information about
      
      - * command. */
      
      +    Tcl_CmdInfo *infoPtr;/* Where to find information to
      
      + * store in the command. */
      
       {
      
           Tcl_Command cmd;
      
           Command *cmdPtr;
      
      @@ -2313,6 +2313,16 @@
      
        * created when a command was imported into a namespace, this client
      
        * data will be a pointer to a ImportedCmdData structure describing
      
        * the "real" command that this imported command refers to.
      
      + */
      
      + 
      
      +/*
      
      + * If you are getting a crash during the call to deleteProc and
      
      + * cmdPtr->deleteProc is a pointer to the function free(), the
      
      + * most likely cause is that your extension allocated memory
      
      + * for the clientData argument to Tcl_CreateObjCommand() with
      
      + * the ckalloc() macro and you are now trying to deallocate
      
      + * this memory with free() instead of ckfree(). You should
      
      + * pass a pointer to your own method that calls ckfree().
      
        */
      
       
      
       (*cmdPtr->deleteProc)(cmdPtr->deleteData);
      
      
      
      PatchFiles:
      
      generic/tclBasic.c
      
      
      
      
      
      Fixed in 8.3.1. 
      -- 03/30/2000 hobbs
      
    4. foundin initialized to: "obsolete: 8.3"
    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:
      Minor comment fixup, and additional comment to help debug fr
      
    11. type initialized to: "Bug"
  2. Ticket change [d17a240d7e] (rid 113358) by welch on 2000-10-26 08:34:06:

    1. closedate changed to: "2000-10-26T01:34:06"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [20d9ba79ed] (rid 130486) by dgp on 2001-04-20 02:06:50:

    1. closedate changed to: "2001-04-19T19:06:50"
    2. closer changed to: "dgp"
    3. subsystem changed to: "45. Parsing and Eval"