Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c89b8ca48cf74e0a29843b7b6d8b48d12846f172
Ticket: 42202ba1e5ff566e0f9abb9f890e460fbc6c1c5c
Coro inject followed by interp delete causes panic
User & Date: apnadkarni on 2017-04-04 02:09:05
Changes

  1. icomment:
    Note the given example does not call the coroutine after the injection. But that is irrelevant as the panic occurs even if the coroutine is called so the injection code gets a chance to run. For example
    
    interp create slave
    slave eval {
        coroutine demo apply {{} {
            while {1} yield
        }}
        demo
        tcl::unsupported::inject demo set x 1
        demo
    }
    
    interp delete slave
    
  2. login: "apnadkarni"
  3. mimetype: "text/plain"