Tcl Source Code

View Ticket
Login
Ticket UUID: cee90e4e88652ff1f7ada599fdf786199a34e344
Title: Panic from bytecode try with handler chaining
Type: Bug Version: 8.6.2
Submitter: anonymous Created on: 2014-09-10 16:19:03
Subsystem: 18. Commands M-Z Assigned To: dgp
Priority: 9 Immediate Severity: Severe
Status: Closed Last Modified: 2014-09-10 23:07:18
Resolution: Fixed Closed By: dgp
    Closed on: 2014-09-10 23:07:18
Description:
A try (in a bytecoded context, non-bytecoded is fine) with switch-style handler  chaining causes a Tcl_Panic:

apply {{} {
    try {
    } on ok {} - on return {} {
    }
}}

bad stack depth computations: is 0, should be 1
Aborted (core dumped)
User Comments: dgp added on 2014-09-10 23:07:18:
The road was safe but the guard rail was hazardous.

anonymous added on 2014-09-10 22:49:25:
Confirmed that this fixes the original problem I was seeing.

Thanks for the fantastic response time :)

dgp added on 2014-09-10 22:19:19:
fixed in trunk

dgp added on 2014-09-10 22:14:51:
Fix on the way.