Fix for [info level] crash problem
Closed / Out of Date405436ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2001-03-02 14:57:48
The bytecode execution engine was passing a reference into its internal stack to calling code, and this was being saved (in procedure implementations) and used for providing [info level] information. However, subsequent invokations of the bytecode evaluator could cause that stack to be reallocated, leaving the data saved for [info level] actually pointing off into the middle of nowhere. This patch prevents that from happening by using the Tcl_Preserve mechanism to keep the stack live during the recursive call.
dkf Closed ticket [405436ffff].
[History diff]2001-03-02 22:34:39
Log in (anonymous is fine) to add a comment.