Artifacts Associated With Ticket 1eb488b699
Ticket change [5f7653bd7c] (rid 185602) by pooryorick on 2020-08-16 14:45:03:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- 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. - is_private initialized to: "0"
- login: "pooryorick"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "pooryorick"
- subsystem initialized to: "- New Builtin Commands"
- title initialized to:
double free when deleting namespace containing the origin routine for some imported routine
- type initialized to: "Bug"
Ticket change [d13834a175] (rid 185610) by pooryorick on 2020-08-16 14:51:59:
- icomment: "Fixed in [08e3b17c955f062d]."
- login: "pooryorick"
- mimetype: "text/x-fossil-wiki"
Ticket change [96fd17f7b8] (rid 185613) by pooryorick on 2020-08-17 10:21:02:
- login: "pooryorick"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
Ticket change [e790ebe175] (rid 185746) by jan.nijtmans on 2020-08-28 15:22:39:
- assignee changed to: "pooryorick"
- foundin changed to: "8.7"
- icomment:
Apparently, this report is for Tcl 8.7. Fix now merged to core-8-branch.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- status changed to: "Pending"
Ticket change [6a1ad7a3ef] (rid 185847) by pooryorick on 2020-08-31 19:06:07:
- closedate changed to: "2459093.29591735"
- closer changed to: "pooryorick"
- login: "pooryorick"
- mimetype: "text/plain"
- status changed to: "Closed"