Overview
| Artifact ID: | 64c54512ff05a98f5d0ccbf53da850f61f2f2560 |
|---|---|
| Ticket: | 641195ffffffffffffffffffffffffffffffffff
interp crashes on name conflict |
| User & Date: | nobody on 2002-11-20 12:23:30 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
[Richard Suchenwirth] - Reassigning the name of a child interpreter as alias causes tclsh 8.4.1 to crash both on Windows 2000 and Solaris: X:\tcl>tclsh % info pa 8.4.1 % interp create foo foo % interp alias {} foo foo eval called Tcl_FindHashEntry on deleted table abnormal program termination suchenwi@jaguar%tclsh % info pa 8.4.1 % interp create foo foo % interp alias {} foo foo eval called Tcl_FindHashEntry on deleted table zsh: 1456 IOT instruction tclsh Expected behavior: error message, e.g. "interp name foo can not be reassigned", no crash. Further observation: using the interp name as a proc name silently destroys the slave interpreter: % interp create foo foo % interp eval foo {set bar 0} 0 % proc foo {} {puts bar} % interp eval foo {set bar} could not find interpreter "foo" - foundin changed to: "obsolete: 8.4.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "20. [interp]"
- title changed to: "interp crashes on name conflict"
- type changed to: "Bug"