Overview
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 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
The script inlined below crashes the interpreter on execution, for Tcl 8.5 as of today [http://core.tcl.tk/tcl/info/a3e6750fec|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. <pre> 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 </pre>
- foundin changed to: "1.0.4"
- is_private changed to: "0"
- login: "aku"
- priority changed to: "5 Medium"
- private_contact changed to: "194c9ef8edbd9a57ef36f4f18fde1d57ce26e1e5"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "aku"
- subsystem changed to: "35. TclOO Package"
- title changed to:
Seg.fault on self-destroy in a method, in self namespace
- type changed to: "Bug"