Overview
Artifact ID: | 87dea26ad07e9775fba91fd9be116c8f81a028f2 |
---|---|
Ticket: | c31f72813b3966d13deb165f957033d514acd99f
Tcl crashes when calculating the string representation of deep nested lists |
User & Date: | dkf 2013-11-09 07:41:58 |
Changes
- assignee changed to: "dgp"
- icomment:
Reproduced with supplied script using system 64-bit build of 8.5.9 on OSX.<p>I don't think the fix I used for deallocation will work here; there's no practical tail-calll decomposition that I can think of offhand. That's because — in general — you can only compute the string representation of a list from the string representations of the pieces, and can't assume that the operation is a no-op. The amount of code it would take to make this specific case work would be substantial, and setting <tt>a</tt> to “<tt>a a</tt>” initially would sidestep all that work.<p>Assigning to dgp; he's thought more about limits than I have.<p>Curious fact: I actually got a SIGSEGV when running this, and not a SIGBUS. That's pretty rare actually. It must've run out of stack space in an unusual way.
- login: "dkf"
- mimetype: "text/html"
- priority changed to: "6"
- username: "dkf"