Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 42f3dc584f4f5d744f8c2ddf089d4f665277986cf795a37a173a28a9395b3435
Ticket: b4637c4312a59ca57ef8148623f973a7493e950a
upvar segfault for destroyed object
User & Date: serhiy.storchaka on 2026-10-13 19:08:05
Changes

  1. foundin changed to: "8.6.18, 9.0.5, 9.1.0"
  2. icomment:
    Same cause as [28de60cef5]: after <code><nowiki>[my destroy]</nowiki></code> the
    namespace of the object is deleted, and resolving V for <code>upvar</code> in the
    method looked it up there. It also crashes with 8.6.17, 9.0 and 9.1.
    
    Proposed fix in branch [/timeline?r=oo-destructor-deleted-namespace|oo-destructor-deleted-namespace]:
    the script returns normally, and V is a new unset variable. Test oo-3.14.
    
  3. login: "serhiy.storchaka"
  4. mimetype: "text/x-fossil-wiki"