Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 94f895e1c8984562d8b1a91fda6620f1ee5afee7022f4a4e23a31ca3aec9a28e
Ticket: 02977e0004c72049ed3324fe35f8634bfeede8e6
test oo-1.23 fails
User & Date: sebres on 2024-11-06 13:56:53
Changes

  1. icomment:
    It looks like sporadic issue to me either.
    
    Just strange that Donals solution moves it to "stackless" area completely, my variant to almost stackless (allows max depth of 100, hereafter goes to NRE). Anyway both variants must use fewer stack, or there are still more cases entering deep hierarchy. Probably it segfaults on totally different thing (for example by the constellation where object destroy will happen a bit retarded, for instance because decrement with TclOODecrRefCount behaves differently now, if Tcl_DeleteNamespace would not cause direct destroy but do cumulation to the linked list instead).
    
    In this case my variant is not a solution, because it simply workarounds that up to 100th level, and it'd then behave similar to Donals solution if the destroy in tests <code>test-oo-1.18*</code> would happen also after 100th level.
    With other words I'm pretty sure, it'd fail if one'd rewrite 100 to 0 (e. g. always add to NRE) in [./artifact?name=d53e9b86c261a0d9&ln=873-887|d53e9b86c261a0d9&ln=873-887], because would also firstly cumulate it to linked list and destroy at top level with first object.
    
  2. login: "sebres"
  3. mimetype: "text/x-fossil-wiki"