Overview
| Artifact ID: | b28b6bce1b746b43050d1b29d4c07b0a51c28d02 |
|---|---|
| Ticket: | 439843ffffffffffffffffffffffffffffffffff
crash when getting the return value of b |
| User & Date: | jstrot on 2001-07-09 21:03:18 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Tcl Version: ActiveTcl v8.3.3 OS: Windows 2000 Pro SP2 Problem Behaviour: The following code causes a crash: namespace eval ::crashTcl { while {1} { set b [break] } } I know it doesn't make sense to take the return value of break... This is the simplified version of one of my scripts that calls a procedure (instead of break) which could return a value or force a break (return - code break) It doesn't happen if the whole thing is not with a namespace eval. this piece of code crashes with: TclExecuteByteCode: done instruction at pc 14: stack top 0 != entry stack top -1 TclExecuteByteCode execution failure: end stack top != start stack top Expected Behaviour: b should not be assigned any value break should work as expected, breaking out of the while - foundin changed to: "obsolete: 8.3.3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "jstrot"
- subsystem changed to: "None"
- title changed to: "crash when getting the return value of b"
- type changed to: "Bug"