Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 83c0da4d7325925bb40c3634cb944e596df64caddbf60f736cfd12ed1f6bb75c
Ticket: 135804138e33ff05b89f06101008113c86156322
TclOO segmentation fault: direct call to a method called by the object destructor, and that deletes the object via [rename] before calling [next]
User & Date: pooryorick on 2019-11-13 21:20:59
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    The following script results in a segmentation fault in core-8-6-branch:
    
    <code><verbatim>
    oo::class create c1 {
        method m1 {} {}
    }
    
    oo::class create c2 {
        superclass c1
        destructor {
            my m1
        }
        method m1 {} {
            next
        }
        m2 {} {
            rename [self] {}
        }
    }
    
    c2 create obj1
    obj1 m1
    </verbatim></code>
    
  5. is_private changed to: "0"
  6. login: "pooryorick"
  7. priority changed to: "5 Medium"
  8. resolution changed to: "None"
  9. severity changed to: "Minor"
  10. status changed to: "Open"
  11. submitter changed to: "pooryorick"
  12. subsystem changed to: "35. TclOO Package"
  13. title changed to:
    TclOO segmentation fault:  direct call to a method called by the object destructor, and that deletes the object via [rename] befor calling  [next]
    
  14. type changed to: "Bug"