Skip to content
Tcl Source Code History Of Ticket 3614102fffffffffffffffffffffffffffffffff
Login

History Of Ticket 3614102fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 3614102fffffffffffffffffffffffffffffffff

  1. Ticket change [cb0d059923] (rid 95460) by dgp on 2013-05-29 15:43:56:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      % proc foo {} {
      list [append ::dgp a b c]
      }
      % foo
      bad stack adjustment when compiling list (was 2 instead of 1)
      
      
    4. foundin initialized to: "current: 8.6.0"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dgp"
    10. subsystem initialized to: "47. Bytecode Compiler"
    11. title initialized to: "stack imbalance panic from [list]"
    12. type initialized to: "Bug"
  2. Ticket change [f24a9fb828] (rid 109510) by dgp on 2013-05-29 22:50:09:

    1. icomment:
      Still investigating, but I think the trouble is that
      TclCompileScript() is failing to clean up the
      record of stack usage when a compileProc fails.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [e9068605c8] (rid 104742) by dgp on 2013-05-29 22:53:19:

    1. icomment:
      8.6.0 release will not show the failure.  The new [list]
      compiler is needed to demonstrate.  I think it's exposing,
      rather than creating the flaw, though.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [2c8d1643b9] (rid 118923) by dgp on 2013-05-29 23:20:22:

    1. icomment:
      
      Checkin [efa1b5bb6b] is where the debug panic
      starts.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [097af7002f] (rid 113663) by dgp on 2013-05-29 23:22:22:

    1. icomment:
      Oh, I missed that the "append multiple" compiler
      was new in that checkin too.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Ticket change [98bebdf5cc] (rid 110662) by dgp on 2013-05-29 23:29:15:

    1. icomment:
      Here's one that fails in 8.6.0:
      
      % proc foo {} {
      list [array exists ::foo(bar)]
      }
      % foo
      bad stack adjustment when compiling list (was 3 instead of 1)
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [64fae2758b] (rid 92868) by dgp on 2013-05-29 23:32:31:

    1. icomment:
      And strangely enough, that one is fixed
      on the trunk.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Ticket change [79b4a1591c] (rid 90177) by dgp on 2013-05-29 23:50:43:

    1. icomment:
      But this one isn't:
      
      % proc foo {} {
      list [::tcl::array::exists ::foo(bar)]
      }
      % foo
      bad stack adjustment when compiling list (was 2 instead of 1)
      make: *** [shell] Aborted
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  9. Ticket change [32359d6679] (rid 93573) by dgp on 2013-05-30 00:09:32:

    1. icomment:
      ...because CompileToCompiledCommand()
      gets this right where TclCompileScript() fails.
      
      Here's a stable test case I will commit:
      test compile-19.0 {Bug 3614102: reset stack housekeeping} -body {
          # This will panic in a --enable-symbols=compile build, unless bug is fixed.
          apply {{} {list [if 1]}}
      } -returnCodes error -match glob -result *
      
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  10. Ticket change [c684633e6a] (rid 121784) by dgp on 2013-05-30 00:20:55:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2013-05-29T17:20:55"
    3. closer changed to: "dgp"
    4. icomment:
      
      
      allow_comments - 1
      
      fix committed.
      
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "dgp"