Artifacts Associated With Ticket 3514761
Ticket change [8ee53bae8e] (rid 120197) by andreas_kupries on 2012-04-04 01:42:04:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
TclOO crash during wrong#args instance creation for class command called through ensemble. The attached script (crashtrial) creates an oo::class which is put into an ensemble. An instance is created, with the wrong number of arguments. This crashes deep in ProcNumArgs/Tcl_WrongNumArgs during instance construction, while the arguments to the constructor are checked. The preliminary investigation of the resulting core file showed that something is going wrong with the ensemble rewriting machinery in TclOO, causing it to construct a bogus "desiredObjs" array for Tcl_WrongNumArgs(). This seems to be confirmed by "crashtrial2.tcl" (also attached). The only difference to "crashtrial.tcl" is that the class command is called directly, without going through the ensemble ("k::s" vs. "k s"). This does not crash and properly throws a wrong#args error. - foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "9 Immediate"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "andreas_kupries"
- subsystem initialized to: "35. TclOO Package"
- title initialized to:
Crash (wrong#args inst creation) class command in ensemble
- type initialized to: "Bug"
Add attachment "crashtrial.tcl" [675e73a728] (rid 102889) by andreas_kupries on 2012-04-04 08:42:05.
Ticket change [8ce25526bd] (rid 127810) by andreas_kupries on 2012-04-04 08:42:06:
- icomment:
File Added - 440236: crashtrial.tcl
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Add attachment "crashtrial2.tcl" [9d9e0142f5] (rid 96337) by andreas_kupries on 2012-04-04 08:43:06.
Ticket change [ca47173a97] (rid 122438) by andreas_kupries on 2012-04-04 08:43:06:
- icomment:
File Added - 440237: crashtrial2.tcl
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [42116dcf23] (rid 116300) by dkf on 2012-04-05 03:53:18:
- foundin changed to: "obsolete: 8.6b2"
- icomment:
Fixed. EEEvil interaction between ensembles and TclOO. Kept open until backported to TclOO package.
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- username: "dkf"
Ticket change [22568d936c] (rid 130731) by dkf on 2012-04-05 04:08:28:
- closedate changed to: "2012-04-04T21:08:28"
- closer changed to: "dkf"
- icomment:
allow_comments - 1 Backported as much as practical
- login: "dkf"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "dkf"