Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bf9a90f2ae9fcf33921980c587dde57f65324debd7c48f4e03e45f2e87fb57f4
Ticket: 4b22d84a6236ed01b4ba300556dc4f4c78214ee0
Core Dump when setting const with non-existent namespace
User & Date: stu on 2026-03-13 18:37:36
Changes

  1. icomment:
    Also, if TCL_LEAVE_ERR_MSG is being used, isn't there a way to get that result and put it into msgPart, which should probably be set anyway?
    
    Also also, "variable not found" isn't the right error.
    
    In the testcase, the error returned is "parent namespace doesn't exist" - who knows what other errors could be returned?
    
    I think the way to go is to put the interp result err string into msgPart then jump to constError.
    
  2. login: "stu"
  3. mimetype: "text/plain"