Skip to content
Tcl Source Code View Ticket
Login

View Ticket

while 1 { [break ] }

Closed / Duplicate218297ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:55:51
OriginalBugID: 3556 Bug
Version: 8.2.2
SubmitDate: '1999-11-11'
LastModified: '1999-11-11'
Severity: MED
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: Linux-Red Hat
FixedDate: '2000-10-25'
ClosedDate: '1999-11-11'


Name:

Jan.Vlcek


Comments:

1) sorry, not working e-mail address...

2) C:

Sql_FetchCmd(...) {

  if (NOTFOUND) {

      return TCL_BREAK;

  } else {

    fetch row -> result;

    return TCL_OK;

  }

  }


ReproducibleScript:

while 1 { [break ] }

#or:

proc bla {} { if {...} { return -code break } else { return "result" }

while 1 { 

  ...

set a [bla ....]

...

}


ObservedBehavior:

TclExecuteByteCode: done instruction at pc 80: stack top 0 != entry stack top -1

TclExecuteByteCode execution failure: end stack top != start stack top


DesiredBehavior:

same as Tcl 7.6...




Totally unverifiable on any OS and Tcl version for this bug.
Without more info, we can't address this.  It looks like one
that we've already fixed at some time in the past. 
-- 11/11/1999 hobbs
welch Closed ticket [218297ffff]. [History diff]2000-10-26 08:18:59
dgpplain2001-04-19 04:28:47
Logged In: YES 
user_id=80530

See Bug 406709
Log in (anonymous is fine) to add a comment.