Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2014-09-10
23:07 • Ticket [cee90e4e88] Panic from bytecode try with handler chaining status sti... artifact: 9bb09d67a3 user: dgp
22:49 • Ticket [cee90e4e88]: 5 changes artifact: bf58e33acd user: anonymous
22:19 • Closed ticket [cee90e4e88]. artifact: e1b524d33b user: dgp
22:17
[cee90e4e88] Correct error in stack depth checking. check-in: b5ecfdaff3 user: dgp tags: trunk
22:14 • Ticket [cee90e4e88] Panic from bytecode try with handler chaining status sti... artifact: 9a8833c6de user: dgp
16:53 • Ticket [cee90e4e88]: 2 changes artifact: b0ca754322 user: msofer
16:53 • Ticket [cee90e4e88]: 3 changes artifact: cd96b3f136 user: msofer
16:52 • Ticket [cee90e4e88]: 3 changes artifact: f92d38037e user: msofer
16:19 • New ticket [cee90e4e88]. artifact: f9ae47a31f user: anonymous

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.