Overview
| Artifact ID: | ae15e72c63df0b2f8cd906194105a4dc6fe67226b751ade01558bc6df817e02a |
|---|---|
| Ticket: | b5777d3d3290348abc980027a96607ccfe4bf4da
Crash corner-case in TIP #502 implementation |
| User & Date: | jan.nijtmans on 2020-08-25 16:03:24 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
Try the following: <pre> $tclsh8.7 % string index abcd 0-0x10000000000000000 % tailcall cannot find the right splicing spot: should not happen! Abort trap: 6 </pre> (press "enter" twice after typing the command). I could re-produce this both on Windows 10 and on MacOS. Bisection shows that this crash is already happening since commit [bae05b9e6f], which is the TIP #502 implementation. Before that, the result was the same as in Tcl 8.6: <pre> $ tclsh8.6 % string index abcd 0-10000000000000000 bad index "0-10000000000000000": must be integer?[+-]integer? or end?[+-]integer? </pre>
- foundin changed to: "8.7"
- is_private changed to: "0"
- login: "jan.nijtmans"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "jan.nijtmans"
- subsystem changed to: "- New Builtin Commands"
- title changed to: "Crash corner-case in TIP #502 implementation"
- type changed to: "Bug"