Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6bef30c9081d9a0e14329a93d5c0fe1c56413ea6
Ticket: 3008307fffffffffffffffffffffffffffffffff
callerPtr chain does not traverse coro floor
User & Date: coldstore on 2010-05-30 07:27:23
Changes

  1. icomment:
    Alexandre, you can't reproduce it with the code above?
    
    I'd like to point out precisely where the above narrative shows badness:  0x8840470
    
    On creation of the coroutine:
    
    TclNRCoroutineObjCmd save caller: 0x8848e90
    SAVE : 0x8840470 0x881ae48
    
    Then a few operations later ...
    
    NRCoroutineCallerCallback save running: 0x8848e90
    SAVE : 0x883fc70 0x8840470 0x881ae48
    NRCoroutineCallerCallback restore caller: 0x8848e90
    RESTORE : 0x8840470 0x881ae48
    
    We can see that 0x8840470 is saved in both the caller context and the running coro's context (with no intervening deletion.)
    
    Eventually 0x8840470 will be popped, and hence deleted, by one of the execution threads, and the stored version will be invalid.
    
    
    
  2. login: "coldstore"
  3. mimetype: "text/plain"
  4. username: "coldstore"