Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cd917e6ad651e294342751d85637b9dc64c71accbc69323270fef2139fe1d93b
Ticket: 2713bfcb017be2405415ed136d49bef6ece05bd1
TclOO: segmentation fault: deleting a class mixed into an object that calls a method on the class in a deletion trace.
User & Date: pooryorick on 2017-11-29 15:15:34
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    With an interpreter compiled with --enable-symbols=all, the following script
    results in a segmentation fault:
    
    <code><verbatim>
    oo::class create obj1
    oo::objdefine obj1 {
    	method deleted args {}
    }
    oo::copy obj1 obj2
    oo::objdefine obj2 {
    	mixin obj2 obj1
    }
    trace add command obj2 delete [list obj2 delete]
    rename obj1 {}
    </verbatim></code>
    
  5. foundin changed to: "core-8-branch"
  6. is_private changed to: "0"
  7. login: "pooryorick"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Important"
  11. status changed to: "Open"
  12. submitter changed to: "pooryorick"
  13. subsystem changed to: "35. TclOO Package"
  14. title changed to:
    TclOO: segmentation fault when deleting a class that has been mixed into another object that calls a method on the class in a deletion trace.
    
  15. type changed to: "Bug"