Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3cf406d58cfb0a33e48a3aeede62b43986317ecf978f6de8985efa26b0bef7b8
Ticket: a34733451b2cf189528061944466cf7ce7015008
Regression with TIP #636 in foreach
User & Date: griffin on 2023-07-09 19:37:12
Changes

  1. icomment:
    Hard to debug. Requires some prior test(s) to effect state. imgPhoto test seems to run in a subprocess, direct gdb doesn't work. 
    It also seems that child interps are involved.
    
    One area of change that is a concern is in the bytecode engine. There are spots where care must be taken when making calls out of the bce when the call has the potential of then calling eval. This creates a recursive call to the bce. The caution is to make sure stack ptr save/restore calls are made, otherwise the stack can be corrupted. Abstract Lists increased the chances of this in places that were not protecting the stack pointer.  
    My suspicion currently is that the Tk tests are somehow uncovering these holes.
    
    The debugging continues...
    
  2. login: "griffin"
  3. mimetype: "text/x-markdown"