Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 63c150cef726c3402e190990f4cfac085fa64057c7ea8d4036cefe284a9e123f
Ticket: 24d7f1a69572ef507638447eb87ccce0c9d489b9
Recursive [namespace delete] causes a segfault
User & Date: pointsman on 2025-12-07 15:04:17
Changes

  1. icomment:
    Confirmed and confirmed for 9.0.1 also. The stack trace with 9.0.1 (as reported by valgrind) is:
    
    Invalid read of size 8
       at 0x489B624: TclCreateObjCommandInNs (tclBasic.c:2861)
       by 0x48A4457: TclNRCreateCommandInNs (tclBasic.c:8668)
       by 0x49F1320: Tcl_ProcObjCmd (tclProc.c:214)
       by 0x4897943: procObjCmd (tclBasic.c:308)
       by 0x489DBFB: Dispatch (tclBasic.c:4640)
       by 0x489DC5F: TclNRRunCallbacks (tclBasic.c:4656)
       by 0x489D510: Tcl_EvalObjv (tclBasic.c:4395)
       by 0x489FC98: TclEvalEx (tclBasic.c:5495)
       by 0x49C0D2E: Tcl_FSEvalFileEx (tclIOUtil.c:1793)
       by 0x49D23D1: Tcl_MainEx (tclMain.c:404)
       by 0x1091D3: main (tclAppInit.c:94)
     Address 0x110 is not stack'd, malloc'd or (recently) free'd
    
    
    Process terminating with default action of signal 11 (SIGSEGV)
     Access not within mapped region at address 0x110
       at 0x489B624: TclCreateObjCommandInNs (tclBasic.c:2861)
       by 0x48A4457: TclNRCreateCommandInNs (tclBasic.c:8668)
       by 0x49F1320: Tcl_ProcObjCmd (tclProc.c:214)
       by 0x4897943: procObjCmd (tclBasic.c:308)
       by 0x489DBFB: Dispatch (tclBasic.c:4640)
       by 0x489DC5F: TclNRRunCallbacks (tclBasic.c:4656)
       by 0x489D510: Tcl_EvalObjv (tclBasic.c:4395)
       by 0x489FC98: TclEvalEx (tclBasic.c:5495)
       by 0x49C0D2E: Tcl_FSEvalFileEx (tclIOUtil.c:1793)
       by 0x49D23D1: Tcl_MainEx (tclMain.c:404)
       by 0x1091D3: main (tclAppInit.c:94)
    
  2. login: "pointsman"
  3. mimetype: "text/plain"