Ticket change
[6648696fde]
- Ticket [135804138e33ff05|135804138e] <i>TclOO segmentation fault: direct call to a method called by the object destructor, and that deletes the object via [rename] befor calling [next]</i> status still Open with 3 other changes
by
pooryorick on
2019-11-14 09:43:25.
D 2019-11-14T09:43:25.372
J icomment The\sinitial\sscript\sis\sthe\swrong\sscript.\s\sThis\sis\sthe\scorrect\sscript\sto\sreproduce\r\nthe\ssegmentation\sfault:\r\n\r\n<code><verbatim>\r\noo::class\screate\sc1\s{\r\n\s\s\s\smethod\sm1\s{}\s{}\r\n}\r\n\r\noo::class\screate\sc2\s{\r\n\s\s\s\ssuperclass\sc1\r\n\s\s\s\sdestructor\s{\r\n\s\s\s\s\s\s\s\smy\sm1\r\n\s\s\s\s}\r\n\s\s\s\smethod\sm1\s{}\s{\r\n\s\s\s\s\s\s\s\srename\s[self]\s{}\r\n\s\s\s\s\s\s\s\snext\r\n\s\s\s\s}\r\n}\r\n\r\nc2\screate\sobj1\r\nobj1\sm1\r\n</verbatim></code>
J login pooryorick
J mimetype text/x-fossil-wiki
K 135804138e33ff05b89f06101008113c86156322
U pooryorick
Z 83262ef30d5830bba2cfa23ff9c31f8f