Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-05-20
20:04 • Closed ticket [956083ffff]: Missing limit cleanup! plus 3 other changes artifact: c42b3a3cc4 user: dkf
06:13 • Ticket [956083ffff]: 6 changes artifact: d4959071a0 user: dkf
2004-05-19
03:53 • Ticket [956083ffff]: 4 changes artifact: 580596f786 user: hobbs
03:51 • Ticket [956083ffff]: 4 changes artifact: 61ef35b455 user: dkf
2004-05-18
17:20 • New ticket [956083ffff]. artifact: f06e46b7c3 user: dgp

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.