| Ticket UUID: | 3600328 | ||
| Title: | [array set] broken in [namespace eval] | ||
| Type: | Bug | Created on: | 2013-01-11 03:33:23 |
| Submitter: | dgp | Assigned to: | dkf |
| Subsystem: | 47. Bytecode Compiler | Severity: | |
| Priority: | 9 Immediate | Last modified: | 2013-01-17 22:10:39 |
| Status: | Closed | Closed by: | dkf |
| Resolution: | Fixed | Closed on: | 2013-01-17 15:10:39 |
| Version: | current: 8.6.0 | ||
| Description: | ||||
Starting with checkin http://core.tcl.tk/tcl/info/0a095f089c in a --enable-symbols=all build of Tcl, the command [evalstats] panics: $ make shell ... % evalstats bad stack adjustment when compiling array (was 2 instead of 1) make: *** [shell] Abort trap | ||||
| User Comments: | ||||
dkf added on 2013-01-11 18:45:26:
Nothing to do with [evalstats]. It's somewhere in [history] as a single blank line typed interactively will also cause the failure. Investigating... msofer added on 2013-01-11 18:49:57:
When fixed, please review if commit 6547cc9e7b fixes a real bug, or rather provides cover for one. dkf added on 2013-01-11 18:56:45:
It is a problem in how [array set] interacts with the ensemble compiler, and is due to wanting to retract the generation of bytecode (a push of a variable name). dkf added on 2013-01-11 18:57:58:
6547cc9e7b doesn't appear related to this one dgp added on 2013-01-11 20:06:24:
Apologies for the [evatstats] mislead. Just running `make test` dgp added on 2013-01-11 20:07:00:
... in the --enable-symbols=all build reveals several failures and panics. dkf added on 2013-01-11 20:12:47:
Yeah; there's problems due to stack balances going wrong; I need to fix them too, since they're otherwise going to cause wrong code (and strange crashes) which is why they're a Tcl_Panic in the first place. After all, it's better to detect the problem than not… dkf added on 2013-01-11 21:30:27:
See the bug-3600328 branch (though there are still problems when running the test suite...) dkf added on 2013-01-17 22:10:39:
allow_comments - 1 Problems that remain are due to bugs from elsewhere; this fix committed to trunk. | ||||
