Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d71d82acf2c40790110b0f967d95b60c2958939a
Ticket: 42202ba1e5ff566e0f9abb9f890e460fbc6c1c5c
Coro inject followed by interp delete causes panic
User & Date: apnadkarni on 2017-03-30 14:37:58
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    The following script causes Tcl_Panic with message:
    
    DeleteInterpProc called with active evals
    
    Script:
    
    interp create slave
    slave eval {
        coroutine demo apply {{} {
            while {1} yield
        }}
        demo
        tcl::unsupported::inject demo puts foo
    }
    
    interp delete slave
    
    If the inject command is removed, the panic goes away. Since this happens with an unsupported command, keeping severity as minor but may be an indication of a more general problem. I was originally using inject interactively to figure out where one of the coroutines in a slave was getting stuck.
    
  5. foundin changed to: "8.6.6"
  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: "60. NRE and coroutines"
  14. title changed to: "Coro inject followed by interp delete causes panic"
  15. type changed to: "Bug"