Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ae5cd8bd8c3674bd4c9b2decc70b7729e0f92dab
Ticket: 494348ffffffffffffffffffffffffffffffffff
foreach crashes in recursion
User & Date: dkf on 2001-12-18 16:39:57
Changes

  1. closedate changed to: "2001-12-18T09:39:57"
  2. closer changed to: "dkf"
  3. 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.  :^)
    
    
  4. login: "dkf"
  5. mimetype: "text/plain"
  6. resolution changed to: "Works For Me"
  7. status changed to: "Pending"
  8. username: "dkf"