| Ticket UUID: | 1670091 | ||
| Title: | ensemble panic | ||
| Type: | Bug | Created on: | 2007-02-27 15:36:10 |
| Submitter: | dgp | Assigned to: | dgp |
| Subsystem: | 21. [namespace] | Severity: | |
| Priority: | 5 Medium | Last modified: | 2007-03-13 02:11:15 |
| Status: | Closed | Closed by: | dgp |
| Resolution: | Fixed | Closed on: | 2007-03-12 19:11:15 |
| Version: | obsolete: 8.5a6 | ||
| Description: | ||||
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.
| ||||
| User Comments: | ||||
dgp added on 2007-02-27 22:36:12:
File Added - 217987: ens.patch dkf added on 2007-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). dgp added on 2007-03-13 02:11:15:
Logged In: YES user_id=80530 Originator: YES patch committed along with test. | ||||
