Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f5a87af8415bcb0466af0645f67dee04dfa5d903985dd65e73d2d180e02acc82
Ticket: 0de6c1d79cfba2ea1b21a6732cd9a6e1e1201563
[child invokehidden info frame] dereferences NULL
User & Date: apnadkarni on 2024-05-08 13:58:26
Changes

  1. icomment:
    Still present in 9.0.
    
    `info frame` (TIP 280) is very particular about the presence of an appropriately filled out `CmdFrame` structure. While most of the TclEvalxxx, byte code compiler etc. were adapted with TIP 280 to do the needful, some code paths, including that of interp invokehidden were omitted. Thus the crash.
    
    Fixing `invokehidden` is non trivial (at least from my limited perspective) as with the introduction of NRE, the code path traverses through multiple layers of interp contexts, the NRE trampoline, the namespace ensemble, coroutine contexts.
    
    I've started a branch apn-info-frame to at least try and protect against a crash in some semi-sensible fashion if not give a complete frame dictionary result.
    
  2. login: "apnadkarni"
  3. mimetype: "text/plain"