Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-03-02
22:34 • Closed ticket [405436ffff]: Fix for info level crash problem plus 3 other ... artifact: d0b5f3df12 user: dkf
14:57 • New ticket [405436ffff]. artifact: f86c577084 user: dkf

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.