Overview
| Artifact ID: | 64f0c98fb5374c311fc14a45f92d6dc097e027c9 |
|---|---|
| Ticket: | 1876793fffffffffffffffffffffffffffffffff
lreverse crashes on unshared empty list |
| User & Date: | tallniel on 2008-01-21 22:18:35 |
Changes
- assignee changed to: "nijtmans"
- cmimetype changed to: "text/plain"
- comment changed to:
I am seeing a bus error on Mac OS X 10.4.11 (Intel) using current Tcl CVS HEAD. A minimal script to reproduce the crash is the following: proc foo args { set n [lrange $args 0 end] lreverse [lrange $n 0 end-1] } foo bar I'm not entirely sure where the problem lies, but it seems to be some combination of the use of "args", the 2 uses of "lrange", and it seems to rely on the "end-N" syntax (just "lrange $n 0 end" doesn't cause a bus error). I suspect a tricky ref-counting bug somewhere and am investigating further. I'll add more here if I track it down. Neil - foundin changed to: "obsolete: 8.5.1"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "tallniel"
- subsystem changed to: "14. List Object"
- title changed to: "Odd crash with args/lreverse/lrange combination"
- type changed to: "Bug"