Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 876301455ca9ef6ebb94c8d0dbf8dc70c29afd5f
Ticket: 3062331fffffffffffffffffffffffffffffffff
segfault in variable traces with ttk::* widgets
User & Date: dgp on 2010-10-13 02:08:27
Changes

  1. icomment:
    
    A lawyer could probably make a case
    that things are behaving "as documented"
    in the ACCESSING VARIABLE DURING TRACES
    section.
    
    During an unset operation, when unset traces
    fire, they see the variable (and all traces attached
    to it) as already gone.  This means that those
    bits of code trying valiantly to tidy up by removing
    those unset traces that are no longer valid get
    turned into no-ops.  Then they cannot remove
    these invalid trace routines before the unset
    operations launches them anyway and they
    crash.
    
    "As documented", true, but that just means
    we've documented a system that's completely
    unworkable.
    
    le sigh.
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"