Overview
| Artifact ID: | ae5cd8bd8c3674bd4c9b2decc70b7729e0f92dab |
|---|---|
| Ticket: | 494348ffffffffffffffffffffffffffffffffff
foreach crashes in recursion |
| User & Date: | dkf on 2001-12-18 16:39:57 |
Changes
- closedate changed to: "2001-12-18T09:39:57"
- closer changed to: "dkf"
- icomment:
Logged In: YES user_id=79902 Can't reproduce any problems with above script on either 8.3.2 or 8.4a4(CVS HEAD). I think I can *sort of* see how there might be a problem (if the object can somehow become a different list) but haven't been able to discover a way to trigger it. Without any way to actually duplicate the problem, I can't justify going further as there would be a significant performance downside to the things I might try like regenerating the whole list each time. Or I could just use Tcl_{Incr,Decr}RefCount on the lists, which would work quite well too as nothing is allowed to mess around with anything with refcount>1. Submit a script that reliably demonstrates the problem in either 8.3.4 or any 8.4 version and I'll do what I can... If you're linking any additional code, it is possible that the real problem lies with that not respecting the refcount rules correctly. If that's the case, this isn't a Tcl bug at all. :^) - login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Works For Me"
- status changed to: "Pending"
- username: "dkf"