Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-11-21
00:00 • Deleted ticket [483612ffff]: codePtr->maxStackDepth badly computed plus 3... artifact: e8d4efd9d9 user: msofer
2001-11-20
06:02 • Add attachment validate.patch to ticket [483612ffff] artifact: 84805458c9 user: msofer
06:02 • Ticket [483612ffff] codePtr->maxStackDepth badly computed status still Op... artifact: 01cbfa50a2 user: msofer
2001-11-19
23:02 • New ticket [483612ffff]. artifact: 38a70d3bda user: msofer

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: