Skip to content
Tcl Source Code View Ticket
Login

View Ticket

codePtr->maxStackDepth badly computed

Deleted483612ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-11-19 23:02:22
The attached patch modifies the function
ValidatePcAndStackTop (used only under
TCL_COMPILE_DEBUG) to verify that no bytecode exceeds
its reported stack usage.

The testsuite bombs immediately! If we "relax" the
constraint somewhat (allow 1 in excess of the reported
stack usage) there are still 20 tests that panic.

I hereby declare open hunt season for the bugs in
tclCompCmds.c, possibly also in tclCompExpr.c and/or
tclCompile.c.
msoferplain2001-11-20 06:02:30
File Added - 13558: validate.patch
msofer Deleted ticket [483612ffff]. [History diff]2001-11-21 00:00:12
Log in (anonymous is fine) to add a comment.

Attachments: