Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Missing limit cleanup!

Closed / Fixed956083ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2004-05-18 17:20:40
==== interp-35.4 interp limit syntax FAILED
==== Contents of test case:

    set i [interp create]
    set dict [interp limit $i commands]
    set result {}
    foreach key [lsort [dict keys $dict]] {
        lappend result $key [dict get $dict $key]
    }
    set result

---- Result was:
-command {cb2 {}} -granularity 1 -value {}
---- Result should have been (exact matching):
-command {} -granularity 1 -value {}
==== interp-35.4 FAILED
dkfplain2004-05-19 03:51:47
Logged In: YES 
user_id=79902

Odd, it works for me.
hobbsplain2004-05-19 03:53:52
Logged In: YES 
user_id=72656

This failed for me on Solaris on a clean 8.5 head build today.
dkfplain2004-05-20 06:13:34
Logged In: YES 
user_id=79902

D'oh!  I've tracked this down.
I fail to delete interpreter limits properly when an
interpreter is deleted.  The bug manifests itself
intermittently because it requires that a new interpreter be
allocated exactly where a previously allocated interpreter
with a limit was.  Even then, the information was partially
detached... :^(
dkf Closed ticket [956083ffff]. [History diff]2004-05-20 20:04:28
Log in (anonymous is fine) to add a comment.