TclOO Package

Ticket Change Details
Bounty program for improvements to Tcl and certain Tcl packages.

Artifact ID: daf0d669a84ae888ba0b502866bacf9e7cff25f4
Ticket: b635539f43ba64cb1ef4648126251c2b5cf3db1e
Seg.fault on self-destroy in a method, in self namespace
User & Date: aku 2016-04-22 06:24:02

  1. Change assignee to "nobody"
  2. Change closer to "nobody"
  3. Change cmimetype to "text/x-fossil-wiki"
  4. Change comment to:

    The script inlined below crashes the interpreter on execution, for Tcl 8.5 as of today tcl:a3e6750fec, in combination with TclOO 1.0.4 as of today [e5b56214c7].

    Notable, it does *not* crash with Tcl 8.6+ and its integrated TclOO.

    I suspect that the backport of a bugfix was not done quite right for 8.5.

    package require Tcl 8.5
    package require TclOO

    oo::class create ::trial { method trial {} { my destroy puts AAA puts [self namespace] ;# --- crash puts BBB } }

    trial create T T trial

  5. Change foundin to "1.0.4"
  6. Change is_private to "0"
  7. Change login to "aku"
  8. Change priority to "5 Medium"
  9. Change private_contact to "194c9ef8edbd9a57ef36f4f18fde1d57ce26e1e5"
  10. Change resolution to "None"
  11. Change severity to "Important"
  12. Change status to "Open"
  13. Change submitter to "aku"
  14. Change subsystem to "35. TclOO Package"
  15. Change title to:

    Seg.fault on self-destroy in a method, in self namespace

  16. Change type to "Bug"