Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0770022ba6ce82c11ad50d701468f423809e0641
Ticket: 3603163fffffffffffffffffffffffffffffffff
[array set] inside [eval] inside proc: bad stack adjustment
User & Date: pooryorick on 2013-02-03 10:43:23
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The test below (added to trace.test in my case) results in the following error with --enable-symbols=compile:
    
    Test file error: bad stack adjustment when compiling array (was 0 instead of 1)
    
    without any "--enable-symbols" option, it simply produces a segmentation fault
    
    
    test eval_array_in_proc  {[array set] command in an eval script in a proc} {
        unset -nocomplain x
            proc body {} {
                    global x
                    eval {array set x {a 1}}
            }
            body
    } {}
    
    
  4. foundin changed to: "current: 8.6.0"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "pooryorick"
  10. subsystem changed to: "16. Commands A-H"
  11. title changed to:
    [array set] inside [eval] inside proc: bad stack adjustment
    
  12. type changed to: "Bug"