Skip to content
Tcl Source Code History Of Ticket 37efead06408d9ae
Login

History Of Ticket 37efead06408d9ae

Artifacts Associated With Ticket 37efead06408d9ae

  1. Ticket change [3a83b05021] (rid 191764) by cyan on 2021-02-15 11:52:51:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      Reproducible segfault in TclOO destructor, when the object namespace delete triggers the destruction of child object instances which call back to the parent object (which still exists, but has lost its namespace):
      
      oo::class create foo {
      	variable nameseq
      
      	method bar {} {
      		bar create bar[incr nameseq] [self]
      	}
      
      	method baz {} {}
      }
      
      oo::class create bar {
      	variable parent
      
      	constructor a_parent {
      		set parent $a_parent
      	}
      
      	destructor {
      		$parent baz
      	}
      }
      
      foo create f
      f bar
      f destroy
      
      Affects all versions of TclOO I've tried (including latest core-8-branch from fossil)
      
    5. foundin initialized to: "8.6.*, 8.7"
    6. is_private initialized to: "0"
    7. login: "cyan"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "54152f94cb1628c0c148b4b5708ace53216227b0"
    10. resolution initialized to: "None"
    11. severity initialized to: "Severe"
    12. status initialized to: "Open"
    13. submitter initialized to: "cyan"
    14. subsystem initialized to: "35. TclOO Package"
    15. title initialized to: "Segfault in TclOO destructor"
    16. type initialized to: "Bug"
  2. Ticket change [b04580dc0e] (rid 226490) by dkf on 2024-05-23 10:37:08:

    1. closedate changed to: "2460453.9424585"
    2. closer changed to: "dkf"
    3. icomment: "Duplicate of [7842f33a5c]"
    4. login: "dkf"
    5. mimetype: "text/x-fossil-plain"
    6. resolution changed to: "Duplicate"
    7. status changed to: "Closed"