Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c923388ac54f9e3a325cc3154e51d8c198b99a65cbedde08e82c90998abe5b3f
Ticket: 3d768414de12dcd10aa7af36cdaca3fcdd821c4d
Use of the thread package prevents interp from being fully deleted
User & Date: sbron on 2020-07-14 15:25:02
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    When an interp uses the thread package, it does not get fully deleted by a [interp delete] command. I noticed this because the function registered with Tcl_CallWhenDeleted() in my extension never runs under these conditions.
    
    There seems to be a call to Tcl_Preserve(interp) happening somewhere, without a matching call to Tcl_Release(interp). I haven't yet pinpointed where.
    
    The problem was found on linux x86_64.
    
  5. foundin changed to: "8.6.10"
  6. is_private changed to: "0"
  7. login: "sbron"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "8475f421649231f1e116ac602bea4537d2b027b4"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "sbron"
  14. subsystem changed to: "49. Threading"
  15. title changed to:
    Use of the thread package prevents interp from being fully deleted
    
  16. type changed to: "Bug"