Skip to content
Tcl Source Code History Of Ticket 1837392
Login

History Of Ticket 1837392

Artifacts Associated With Ticket 1837392

  1. Ticket change [68fd67c880] (rid 103164) by dkf on 2007-11-24 01:31:41:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The test dict-19.2 apparently seems to be crashing with a stack corruption problem. (Note that this test only runs in a build with memory debugging.)
      
      Problem (which bites during either INST_DICT_APPEND or INST_DICT_LAPPEND) seems to relate to the stack being relocated during a reentrant call. I think it has to do with the use of the OBJ_UNDER_TOS macro (and friends) after something that was wrapped in [DE]CACHE_STACK_INFO when the stack moved during the recursive call. The trigger is caused by a variable trace that causes an error, so other things in TEBC might also be vulnerable...
      
    4. foundin initialized to: "obsolete: 8.5b3"
    5. is_private initialized to: "0"
    6. priority initialized to: "9 Immediate"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dkf"
    10. subsystem initialized to: "47. Bytecode Compiler"
    11. title initialized to: "Crash in test dict-19.2"
    12. type initialized to: "Bug"
  2. Ticket change [30c88d61eb] (rid 93318) by msofer on 2007-11-24 19:20:02:

    1. icomment:
      
      
      File Added - 255665: smash.stack
      
      Logged In: YES 
      user_id=148712
      Originator: NO
      
      Repro'ed - stack trace attached.
      
      The stack does not move in 8.5, so that suspicion is not valid. A quick glance at the macros (DE)CACHE_STACK_INFO shows that tosPtr is never rewritten 
      File Added: smash.stack
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  3. Add attachment "smash.stack" [c39b25ae97] (rid 111692) by msofer on 2007-11-24 19:20:02.

  4. Ticket change [14ee400ee9] (rid 124476) by dkf on 2007-11-24 20:44:57:

    1. assignee changed to: "dkf"
    2. closedate changed to: "2007-11-24T13:44:57"
    3. closer changed to: "dkf"
    4. icomment:
      Logged In: YES 
      user_id=79902
      Originator: YES
      
      Was a problem in the [dict append] compiler, which had got confused about which tokens it was working with and how many there were. Oops!
      
      
    5. login: "dkf"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "dkf"