Tcl Source Code

View Ticket
Login
Ticket UUID: 3614342
Title: basic-46.1 hangs
Type: Bug Created on: 2013-06-05 13:31:25
Submitter: dgp Assigned to: dgp
Subsystem: 47. Bytecode Compiler Severity:
Priority: 8 Last modified: 2013-06-05 22:23:14
Status: Closed Closed by: dgp
Resolution: Fixed Closed on: 2013-06-05 15:23:14
Version: current: 8.6.0
Description:
On the trunk, in a --enable-symbols=all build,
test basic-46.1 never returns.
User Comments:
dgp added on 2013-06-05 20:43:41:
[gets $f] is never reading "DONE"

dgp added on 2013-06-05 20:47:22:
And the root cause is this:

$ make shell
...
% continue
bad stack adjustment when compiling continue (was 2 instead of 1)

dgp added on 2013-06-05 20:51:13:
Just a stray TclAdjustStackDepth left over...

dkf added on 2013-06-05 21:06:16:
Yeah, I've screwed up. Backed it out of trunk; will fix.

dgp added on 2013-06-05 21:09:23:
Look at what fossil just did!

dgp added on 2013-06-05 21:46:00:
The logic of the checkStack argument to
ValidatePcAndStackTop is out of sync.  A check
is made right after INST_EXPAND_DROP
that causes trouble.

dgp added on 2013-06-05 21:51:07:
see branch bug-3614342

dgp added on 2013-06-05 22:23:14:

allow_comments - 1

fix merged to trunk.