TclOO: segmentation fault: deleting a class mixed into an object that calls a method on the class in a deletion trace.
Closed / Fixed2713bfcb017be2405415ed136d49bef6ece05bd1Created 9 years agoUpdated 8 years ago
Descriptionwiki2017-11-29 15:15:34
With an interpreter compiled with --enable-symbols=all, the following script
results in a segmentation fault:
oo::class create obj1
oo::objdefine obj1 {
method deleted args {}
}
oo::copy obj1 obj2
oo::objdefine obj2 {
mixin obj2 obj1
}
trace add command obj2 delete [list obj2 delete]
rename obj1 {}
pooryorick Ticket [2713bfcb01]: 3 changes
[History diff]2017-11-29 15:17:25
pooryorickwiki2018-07-12 14:06:47
Fixed in [edf61054642f324e].
Log in (anonymous is fine) to add a comment.