Ticket UUID: | 483612 | |||
Title: | codePtr->maxStackDepth badly computed | |||
Type: | Bug | Version: | None | |
Submitter: | msofer | Created on: | 2001-11-19 23:02:22 | |
Subsystem: | 47. Bytecode Compiler | Assigned To: | msofer | |
Priority: | 7 High | Severity: | ||
Status: | Deleted | Last Modified: | 2001-11-21 00:00:12 | |
Resolution: | Duplicate | Closed By: | msofer | |
Closed on: | 2001-11-20 17:00:12 | |||
Description: |
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. | |||
User Comments: |
msofer added on 2001-11-20 06:02:30:
File Added - 13558: validate.patch |
Attachments:
- validate.patch [download] added by msofer on 2001-11-20 06:02:30. [details]