Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

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

  1. 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>.
    
  2. login: "pooryorick"
  3. mimetype: "text/x-fossil-wiki"
  4. resolution changed to: "Fixed"