Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Panic from bytecode try with handler chaining

Closed / Fixedcee90e4e88652ff1f7ada599fdf786199a34e344Created 12 years agoUpdated 12 years ago
Descriptionplain2014-09-10 16:19:03
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)
Referenced by1
msofer Ticket [cee90e4e88]: 3 changes [History diff]2014-09-10 16:52:49
msofer Ticket [cee90e4e88]: 3 changes [History diff]2014-09-10 16:53:09
msofer Ticket [cee90e4e88]: 2 changes [History diff]2014-09-10 16:53:25
dgpplain2014-09-10 22:14:51
Fix on the way.
dgpplain2014-09-10 22:19:19
fixed in trunk
anonymousplain2014-09-10 22:49:25
Confirmed that this fixes the original problem I was seeing.

Thanks for the fantastic response time :)
dgpplain2014-09-10 23:07:18
The road was safe but the guard rail was hazardous.
Log in (anonymous is fine) to add a comment.