ensemble panic
Closed / Fixed1670091fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2007-02-27 15:36:10
Following script leads to panic:
proc demo args {}
set target [list ::demo x]
proc trial args {string length $::target}
trace add execution demo enter trial
namespace ensemble create -command foo -map [list bar $target]
foo bar
Problem is that the runResultingSubcommand
section of NsEnsembleImplementationCmd
doesn't preserve the prefixObjv it pulls
from a ListObj, and shimmering can lose
its validity.
Attached patch is a fix.
dgpplain2007-02-27 22:36:12
File Added - 217987: ens.patch
dkfplain2007-02-27 23:01:41
Logged In: YES user_id=79902 Originator: NO Seems reasonable to me. Any fix must include a new test (to exercise this horrible case).
dgpplain2007-03-13 02:11:15
Logged In: YES user_id=80530 Originator: YES patch committed along with test.
Log in (anonymous is fine) to add a comment.
Attachments:
- ens.patch [download] added by dgp on 2007-02-27 22:36:10. [details]