Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1d0084876a0eec9764ca8034fda6021aab52c0ee
Ticket: 3475569fffffffffffffffffffffffffffffffff
Unexpected behavior / Panic / Tcl_Obj deletion management
User & Date: sebres on 2012-01-26 02:37:11
Changes

  1. icomment:
    i test it now (not yet all tests pass):
    
    >>>> test script ++++
    load test; ## to load testDP
    package require tcltest; ## to load tcltest
    namespace import tcltest::*
    configure \
      -singleproc 1 \
      -debug 3 \
      -testdir {D:\Projects\tcl8.5\tests}
    
    set _\1_ [testDP {source {tcl8.5/tests/all.tcl}}]; unset _\1_
    #set _\1_ [testDP {source {tcl8.5/tests/cmdAH.test}}]; unset _\1_
    <<<< test script ----
    
    First results are not good:
    - test 1 BOOM by "cd .."
    - test 2 BOOM by "list [file type abc2.link] [file tail [file link abc2.link]]"
    
    >>>> test 1 ++++
    cmdAH.test
    .........
    Running cmdAH-2.2 {
        file delete -force $foodir
        file mkdir $foodir
        cd $foodir
        set result [file tail [pwd]]
        cd ..
        file delete $foodir
        set result
    }
    --- file delete -force $foodir
    --- file mkdir $foodir
    --- cd $foodir
    --- set result [file tail [pwd]]
    --- cd ..
    Tcl_SetObjLength called with shared object
    
    >>>> test 2 ++++
    Running fCmd-28.15.2 {
        file link abc.link abc.dir
        file copy abc.link abc2.link
        list [file type abc2.link] [file tail [file link abc2.link]]
    }
    --- file link abc.link abc.dir
    --- file copy abc.link abc2.link
    --- list [file type abc2.link] [file tail [file link abc2.link]]
    Tcl_SetObjLength called with shared object
    -----------------
    
    The problem is - at the moment I must be active (comment the code) in every boom (code change).
    I try to rewrite tcltests multiprocessed, so each code will be called in separate tclsh.
    I rise again...
    
    
  2. login: "sebres"
  3. mimetype: "text/plain"
  4. username: "sebres"