| Ticket UUID: | 688fcc7082fa99a4bd934098c58666841e9e0b0a | ||
| Title: | trace on imported alias deletes alias and then calls import and triggers memory error | ||
| Type: | Bug | Created on: | 2020-08-16 09:52:56 |
| Submitter: | pooryorick | Assigned to: | pooryorick |
| Subsystem: | - New Builtin Commands | Severity: | Minor |
| Priority: | 5 Medium | Last modified: | 2021-06-21 21:36:36 |
| Status: | Closed | Closed by: | pooryorick |
| Resolution: | Fixed | Closed on: | 2021-06-21 21:36:36 |
| Version: | |||
| Description: | ||||
|
In Tcl built with
The issue is that the delete trace on the imported routine deletes the
namespace of the underlying routine, resulting in the deletion of both the
underlying routine and the alias, but then the imported command is called, and
its | ||||
| User Comments: | ||||
pooryorick added on 2020-08-16 10:06:37:
Fixed in [037c0ff27fd5d0a2] by modifying
pooryorick added on 2021-05-17 21:35:32:
Fix applied to core-8-6-branch in [e45d054ba46ee5c2]. jan.nijtmans added on 2021-05-18 08:47:19:
Re-opening, because this fix broke the build: https://github.com/tcltk/tcl/actions/runs/852459210 pooryorick added on 2021-05-18 14:30:25:
Fixed again in [3b0e92b198b86975]. jan.nijtmans added on 2021-05-18 15:10:26:
This - indeed - looks OK now, but it's only applied to 8.6 yet. Will 8.7 and 9.0 follow soon? Then it can be closed. jan.nijtmans added on 2021-05-20 15:53:22:
@pooryorick: Noting that commit [3b0e92b198b86975] was on core-8-branch, is this bug now fixed on all branches? pooryorick added on 2021-06-21 21:36:11:
This fix was committed to core-8-branch in [037c0ff27fd5d0a2] and also made its way to trunk via merge of core-8-branch. [3b0e92b198b86975] is unrelated and shouldn't have been noted in this report. | ||||
