Tcl Source Code

Ticket Change Details
Login
Overview

Artifact ID: 868fe027f4e2ea6785ae5b2e2e1ad30d1b9f1984
Ticket: a84a72096602821953f6d1d9f623d67e4a69e2d0
Crash when deleting interpreter in combination with oo deletemethod
User & Date: apnadkarni 2014-07-31 04:00:32
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    The following code causes the tclsh to crash (8.6.0 and 8.6.1)
    
    interp create ip; # Need slave because crash only occurs when interp is deleted
    set script {
        oo::class create C {method m {} {}}
        C create c
        c m
        oo::define C {deletemethod m}
        c m
    }
    
    catch { interp eval ip $script }
    interp delete ip
    
    If method m is not deleted or not called after deletion, crash does not occur.
    
    /Ashok
    
  5. foundin changed to: "8.6.1"
  6. is_private changed to: "0"
  7. login: "apnadkarni"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "apnadkarni"
  13. subsystem changed to: "35. TclOO Package"
  14. title changed to:
    Crash when deleting interpreter in combination with oo deletemethod
    
  15. type changed to: "Bug"