Skip to content
Tcl Source Code History Of Ticket 641195ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 641195ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 641195ffffffffffffffffffffffffffffffffff

  1. Ticket change [64c54512ff] (rid 92830) by nobody on 2002-11-20 12:23:30:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. 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"
      
      
    4. foundin initialized to: "obsolete: 8.4.1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "20. [interp]"
    10. title initialized to: "interp crashes on name conflict"
    11. type initialized to: "Bug"
  2. Ticket change [8585130fff] (rid 131333) by andreas_kupries on 2002-11-20 23:09:13:

    1. priority changed to: "9 Immediate"
  3. Ticket change [9fc7065d2f] (rid 96701) by hobbs on 2002-11-23 08:22:21:

    1. closedate changed to: "2002-11-23T01:22:21"
    2. closer changed to: "hobbs"
    3. 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.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. priority changed to: "7 High"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "hobbs"