Skip to content
Tcl Source Code History Of Ticket 1eb488b699
Login

History Of Ticket 1eb488b699

Artifacts Associated With Ticket 1eb488b699

  1. Ticket change [5f7653bd7c] (rid 185602) by pooryorick on 2020-08-16 14:45:03:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      In Tcl <code>-DPURIFY --enable-symbols</code> the following script results in a
      memory error:
      
      
      <code><verbatim>
      namespace eval test_ns_export {
          namespace export cmd1
          proc cmd1 args {}
      }
      namespace eval test_ns_import {
          namespace import [namespace parent]::test_ns_export::cmd1
      }
      proc test_ns_export::cmd1 args {}
      catch {namespace delete {*}[namespace children :: test_ns_export]}
      return success
      </verbatim></code>
      
      The issue is that <code>TclCreateObjCommandInNs()</code> stores in the table of
      routines for the namespace a pointer to the structure for the new
      routine, but does not increment the reference count.  Eventually this results
      in the routine structure being freed a second second time.
      
    5. is_private initialized to: "0"
    6. login: "pooryorick"
    7. priority initialized to: "5 Medium"
    8. resolution initialized to: "None"
    9. severity initialized to: "Minor"
    10. status initialized to: "Open"
    11. submitter initialized to: "pooryorick"
    12. subsystem initialized to: "- New Builtin Commands"
    13. title initialized to:
      double free when deleting namespace containing the origin routine for some imported routine
      
    14. type initialized to: "Bug"
  2. Ticket change [d13834a175] (rid 185610) by pooryorick on 2020-08-16 14:51:59:

    1. icomment: "Fixed in [08e3b17c955f062d]."
    2. login: "pooryorick"
    3. mimetype: "text/x-fossil-wiki"
  3. Ticket change [96fd17f7b8] (rid 185613) by pooryorick on 2020-08-17 10:21:02:

    1. login: "pooryorick"
    2. mimetype: "text/plain"
    3. resolution changed to: "Fixed"
  4. Ticket change [e790ebe175] (rid 185746) by jan.nijtmans on 2020-08-28 15:22:39:

    1. assignee changed to: "pooryorick"
    2. foundin changed to: "8.7"
    3. icomment:
      Apparently, this report is for Tcl 8.7.
      
      Fix now merged to core-8-branch.
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"
    6. status changed to: "Pending"
  5. Ticket change [6a1ad7a3ef] (rid 185847) by pooryorick on 2020-08-31 19:06:07:

    1. closedate changed to: "2459093.29591735"
    2. closer changed to: "pooryorick"
    3. login: "pooryorick"
    4. mimetype: "text/plain"
    5. status changed to: "Closed"