Overview
| Artifact ID: | 8ee53bae8ee795b311756087c89d6d2ab33c935e |
|---|---|
| Ticket: | 3514761fffffffffffffffffffffffffffffffff
Crash (wrong#args inst creation) class command in ensemble |
| User & Date: | andreas_kupries on 2012-04-04 01:42:04 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed 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 changed to: "None"
- is_private changed to: "0"
- priority changed to: "9 Immediate"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "andreas_kupries"
- subsystem changed to: "35. TclOO Package"
- title changed to:
Crash (wrong#args inst creation) class command in ensemble
- type changed to: "Bug"