Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 81742a99ef6dd97167a39bd56e9a96b1081d86d5ad6b9bde520304c5f8cf737a
Ticket: 0e3f777ed566b80ba44886212cfd9882819ee06c
Segfault upon sequence of execution traces
User & Date: erikleunissen on 2026-07-25 15:22:03
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    > cat exercise.tcl
    proc p {} {
        # This proc needs to hold at least one (arbitrary) command
        # for enterstep traces to work.
        puts "p invoked"
    }
    proc handleTrace1 {args} {
        trace remove execution p enterstep handleTrace1
    }
    proc handleTrace0 {args} {
        trace add execution p enterstep handleTrace1
    }
    trace add execution p leave handleTrace0
    trace add execution p leave handleTrace0
    p
    p
    
    > tclsh9.1 exercise.tcl
    p invoked
    Segmentation fault (core dumped)
    
  5. foundin changed to: "9.1b0"
  6. is_private changed to: "0"
  7. login: "erikleunissen"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "609f4c7ecf7dbb7a46acdc7eb164753d196088a6"
  10. resolution changed to: "None"
  11. severity changed to: "Severe"
  12. status changed to: "Open"
  13. submitter changed to: "erikleunissen"
  14. subsystem changed to: "46. Traces"
  15. title changed to: "Segfault upon sequence of execution traces"
  16. type changed to: "Bug"