Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2018-02-15
09:10
Fix for [6bca38d59b], TclOO segmentation fault cleaning up objects that that have mixed themselves i... check-in: 3908414450 user: pooryorick tags: pyk-backport-to-8-6
2017-11-29
12:06 • Closed ticket [6bca38d59b]: TclOO segmentation fault cleaning up objects that th... artifact: 808b062ef0 user: pooryorick
12:01
Fix for [6bca38d59b], TclOO segmentation fault cleaning up objects that that have mixed themselves i... check-in: 313a7c1b8a user: pooryorick tags: core-8-branch
11:53 • New ticket [6bca38d59b] TclOO segmentation fault cleaning up objects that that h... artifact: d479b01b00 user: pooryorick

TclOO segmentation fault cleaning up objects that that have mixed themselves into themselves.

Closed / Fixed6bca38d59b1f9c11272beb130b37e0fadcfbe1abCreated 9 years agoUpdated 9 years ago
Descriptionwiki2017-11-29 11:53:26
With a tclsh built with --enable-symbols=all or (mem), the following snippet triggers a segmentation fault in ReleaseClassContents():

oo::class create obj

oo::copy obj obj1 obj1
oo::objdefine obj1 {
	mixin obj1 obj
}
oo::copy obj1 obj2
oo::objdefine obj2 {
	mixin obj2 obj1
}
rename obj2 {}
rename obj1 {}
Referenced by2
  • 3908414450Fix for [6bca38d59b], TclOO segmentation fault cleaning up objects that that have mixed themselves into themselves. check-in2018-02-15 09:10:02
  • 313a7c1b8aFix for [6bca38d59b], TclOO segmentation fault cleaning up objects that that have mixed themselves into themselves. check-in2017-11-29 12:01:21
pooryorickwiki2017-11-29 12:06:07

Fixed in [313a7c1b8a91].

Log in (anonymous is fine) to add a comment.