Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a0253a6d4978d3a64412f078d9e46750c0029663
Ticket: 453805ffffffffffffffffffffffffffffffffff
Tcl_Preserve CommandTraces in CallCommandTraces
User & Date: dgp on 2001-08-22 00:23:47
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    
    This is very likely related to bug 219393.
    
    I don't see segfaults, but:
    trace.test:     Total   185     Passed  185     Skipped
    0      
    Failed  0
    clover:unix: ./tcltest ../tests/trace.test -verbose
    
    ==== trace-9.1 be sure variable is unset before trace is
    called FAILED
    ==== Contents of test case:
    
        catch {unset x}
        set x 33
        set info {}
        trace add variable x unset {traceCheck {uplevel set x}}
        unset x
        set info
    
    ---- Result was:
    1 {can't read "x": no such variaale}
    ---- Result should have been (exact matching):
    1 {can't read "x": no such variable}
    ==== trace-9.1 FAILED
    
    trace.test:     Total   185     Passed  184     Skipped
    0       Failed  1
    
    Note the memory corruption mangling the error message.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"