Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f5c449b2cae2d5211d1dfe6dc23833f5ab71d7a1bb4c552b113b7e764f8762d4
Ticket: 055240025ab8553b45b39c5ef409286a7a4e8141
Calling Tcl_DeleteEventSource from inside Tcl_DoOneEvent segfaults
User & Date: resuna on 2019-02-06 13:48:32
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    When deleting the structures associated with a Tcl command (kafkatcl subscriber object) I needed to delete the Tcl event handler associated with it. Apparently if this is done done from a callback inside Tcl_DoOneEvent it later segfaults at tclnotify.c line 958 while it's walking the event check list that Tcl_DeleteEventSource removed the event from.
    
  5. foundin changed to: "Tcl 8.6"
  6. is_private changed to: "0"
  7. login: "resuna"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "5a82a009d637a4accf9639361b771982503e09a8"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "resuna"
  14. subsystem changed to: "04. Async Events"
  15. title changed to:
    Calling Tcl_DeleteEventSource from inside Tcl_DoOneEvent segfaults
    
  16. type changed to: "Bug"