Overview
| Artifact ID: | 96e208a519cdba8a7ec5291828f928c668fa117066fe90484c1b4322e0013079 |
|---|---|
| Ticket: | 3422267ed6b79922ca6a69883d4e39901516443e
segmentation fault from deleting the the target of an imported alias during a trace on the target of the alias |
| User & Date: | pooryorick on 2020-08-28 09:38:12 |
Changes
- icomment:
Fixed in commit [0af4ad496cd234d3]. The problem was that the <code>Command</code> structure for a lambda application is not allocated, but instead synthesized by <code>TclNRApplyObjCmd</code>. <code>tclProc.c/FreeLambdaInternalRep</code> calls <code>TclProcCleanupProc(procPtr)</code>, which tries to do cleanup on <code>procPtr->cmdPtr</code>. The solution is to set <code>procPtr->cmdPtr</code> to <code>NULL</code> before calling <code>TclProcCleanupProc</code>.
- login: "pooryorick"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"