Artifacts Associated With Ticket 641195ffffffffff
Ticket change [64c54512ff] (rid 92830) by nobody on 2002-11-20 12:23:30:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- comment initialized 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 initialized to: "obsolete: 8.4.1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "20. [interp]"
- title initialized to: "interp crashes on name conflict"
- type initialized to: "Bug"
Ticket change [8585130fff] (rid 131333) by andreas_kupries on 2002-11-20 23:09:13:
- priority changed to: "9 Immediate"
Ticket change [9fc7065d2f] (rid 96701) by hobbs on 2002-11-23 08:22:21:
- closedate changed to: "2002-11-23T01:22:21"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 This falls in the category of "don't do that". I've added code that prevents a seg fault, but you will still kill the interpreter.
- login: "hobbs"
- mimetype: "text/plain"
- priority changed to: "7 High"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "hobbs"