Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2013-06-11
16:47 • Closed ticket [33b7abb8a2]: compiled throw uses more stack than it claims ... artifact: d11e510c1c user: dgp
16:44
[33b7abb8a2] [7174354ecb] Rewrite TclCompileThrowCmd(). check-in: f51d308790 user: dgp tags: trunk
13:48 • Ticket [33b7abb8a2] compiled throw uses more stack than it claims status s... artifact: 9c0b27ba8f user: dgp
13:41 • New ticket [33b7abb8a2]. artifact: ed7e3eb964 user: dgp

compiled [throw] uses more stack than it claims

Closed / Fixed33b7abb8a26d2da2d1bbb6a2fef8cc751b0048dcCreated 13 years agoUpdated 13 years ago
Descriptionplain2013-06-11 13:41:24
In a --enable-symbols=all build of the trunk:

$ cat demo.tcl
apply {code {
    throw $code foo
}} {}
$ make shell SCRIPT=demo.tcl
...
Bad stack top 5 at pc 33 in TclNRExecuteByteCode (min 0, max 4)
 executing throw $code foo
TclNRExecuteByteCode execution failure: bad stack top
make: *** [shell] Abort trap
Referenced by1
dgp Ticket [33b7abb8a2]: 4 changes [History diff]2013-06-11 13:48:11
dgpplain2013-06-11 16:47:25
Fixed in [f51d308790] .
Log in (anonymous is fine) to add a comment.