Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 01df7b34e4caccf07adf414a9f14a9777583691fe450c8762802eb4f42f41d0c
Ticket: 5bd41844e62aceb2969f4f1ff60de84ad2291c4e
tracing: (self) deleted command or coroutine after exit doesn't invoke leavestep handler, so it's not paired to enterstep
User & Date: sebres on 2025-03-18 18:58:08
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    Execution trace (leavestep handler) will be avoided if command gets deleted during the executing and tracing process, so the leavestep calls becomes unpaired to the enterstep calls (no matter how deep by nesting/recursion).
    
    The same is also valid for coroutine after its exit (what basically equal to its deletion).
    
    The traces behind the behaviour lead to [571385ffffffffffffff], where the "fix" was introduced as preventive measures against a segfault, but the root of that issue was obviously different (and also already fixed now, I guess with the NRE).
    
    The fix is more or less trivial, so I'll provided it as a branch soon.
    
  5. foundin changed to: "any"
  6. is_private changed to: "0"
  7. login: "sebres"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "50e9528765c18296566374b3fde2df942c394efd"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "sebres"
  14. subsystem changed to: "46. Traces"
  15. title changed to:
    tracing: (self) deleted command or coroutine after exit doesn't invoke leavestep handler, so it's not paired to enterstep
    
  16. type changed to: "Bug"