Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3bb1a7bbe0bc23d242235d566e2661b3a2de1884
Ticket: 3008307fffffffffffffffffffffffffffffffff
callerPtr chain does not traverse coro floor
User & Date: coldstore on 2010-05-28 03:11:56
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The following code introduces stack corruption:
    
    proc bottomp {y} {
        after 0 top 1
        yield
    }
    
    proc topp {x} {
        coroutine bottom bottomp 2
        after 0 bottom 3
        yield
    }
    
    coroutine top topp 1
    set done 0
    vwait done
    
    As follows:
    
    PUSH : 0x881ae48
    TclGetNamespaceForQualName: PUSH : 0x8821058 0x881ae48
    TclGetNamespaceForQualName: DELETING 0x8821058 POP : 0x881ae48
    TclGetNamespaceForQualName: PUSH : 0x8821058 0x881ae48
    TclGetNamespaceForQualName: DELETING 0x8821058 POP : 0x881ae48
    TclGetNamespaceForQualName: PUSH : 0x8821058 0x881ae48
    TclGetNamespaceForQualName: DELETING 0x8821058 POP : 0x881ae48
    TclGetNamespaceForQualName: PUSH : 0x8821058 0x881ae48
    TclGetNamespaceForQualName: DELETING 0x8821058 POP : 0x881ae48
    TclGetNamespaceForQualName: PUSH : 0x8821058 0x881ae48
    TclGetNamespaceForQualName: DELETING 0x8821058 POP : 0x881ae48
    TclGetNamespaceForQualName: PUSH : 0x8821058 0x881ae48
    TclGetNamespaceForQualName: DELETING 0x8821058 POP : 0x881ae48
    TclGetNamespaceForQualName: PUSH : 0x8821058 0x881ae48
    TclGetNamespaceForQualName: DELETING 0x8821058 POP : 0x881ae48
    TclGetNamespaceForQualName: PUSH : 0x8821058 0x881ae48
    TclGetNamespaceForQualName: DELETING 0x8821058 POP : 0x881ae48
    TclGetNamespaceForQualName: PUSH : 0x8821058 0x881ae48
    TclGetNamespaceForQualName: DELETING 0x8821058 POP : 0x881ae48
    TclGetNamespaceForQualName: PUSH : 0x8821058 0x881ae48
    TclGetNamespaceForQualName: DELETING 0x8821058 POP : 0x881ae48
    TclGetNamespaceForQualName: PUSH : 0x8821058 0x881ae48
    TclGetNamespaceForQualName: DELETING 0x8821058 POP : 0x881ae48
    TclGetNamespaceForQualName: PUSH : 0x8821058 0x881ae48
    TclGetNamespaceForQualName: DELETING 0x8821058 POP : 0x881ae48
    NamespaceEvalCmd: PUSH : 0x8821318 0x881ae48
    NsEval_Callback: DELETING 0x8821318 POP : 0x881ae48
    NamespaceEvalCmd: PUSH : 0x8821318 0x881ae48
    NsEval_Callback: DELETING 0x8821318 POP : 0x881ae48
    NamespaceEvalCmd: PUSH : 0x8821318 0x881ae48
    NsEval_Callback: DELETING 0x8821318 POP : 0x881ae48
    TclProcCompileProc: PUSH : 0x8821318 0x881ae48
    TclProcCompileProc: DELETING 0x8821318 POP : 0x881ae48
    PushProcCallFrame: PUSH : 0x8821318 0x881ae48
    NamespaceEvalCmd: PUSH : 0x88214d8 0x8821318 0x881ae48
    NamespaceEvalCmd: PUSH : 0x8821580 0x88214d8 0x8821318 0x881ae48
    NsEval_Callback: DELETING 0x8821580 POP : 0x88214d8 0x8821318 0x881ae48
    NsEval_Callback: DELETING 0x88214d8 POP : 0x8821318 0x881ae48
    NamespaceEvalCmd: PUSH : 0x8821540 0x8821318 0x881ae48
    NsEval_Callback: DELETING 0x8821540 POP : 0x8821318 0x881ae48
    InterpProcNR2: POP : 0x881ae48
    InterpProcNR2: DELETING 0x8821318
    TclNRCoroutineObjCmd save caller: 0x883def8
    SAVE : 0x881ae48
    TclProcCompileProc: PUSH : 0x8840470 0x881ae48
    TclProcCompileProc: DELETING 0x8840470 POP : 0x881ae48
    PushProcCallFrame: PUSH : 0x8840470 0x881ae48
    TclNRCoroutineObjCmd save caller: 0x8848e90
    SAVE : 0x8840470 0x881ae48
    TclProcCompileProc: PUSH : 0x883fc70 0x8840470 0x881ae48
    TclProcCompileProc: DELETING 0x883fc70 POP : 0x8840470 0x881ae48
    PushProcCallFrame: PUSH : 0x883fc70 0x8840470 0x881ae48
    NRCoroutineCallerCallback save running: 0x8848e90
    SAVE : 0x883fc70 0x8840470 0x881ae48
    NRCoroutineCallerCallback restore caller: 0x8848e90
    RESTORE : 0x8840470 0x881ae48
    NRCoroutineCallerCallback save running: 0x883def8
    SAVE : 0x8840470 0x881ae48
    NRCoroutineCallerCallback restore caller: 0x883def8
    RESTORE : 0x881ae48
    NRInterpCoroutine save caller: 0x883def8
    SAVE : 0x881ae48
    NRInterpCoroutine restore running: 0x883def8
    RESTORE : 0x8840470 0x881ae48
    InterpProcNR2: POP : 0x881ae48
    InterpProcNR2: DELETING 0x8840470
    NRCoroutineExitCallback restore caller 0x883def8
    RESTORE : 0x881ae48
    NRInterpCoroutine save caller: 0x8848e90
    SAVE : 0x881ae48
    NRInterpCoroutine restore running: 0x8848e90
    RESTORE : 0x883fc70 0x8840470 0xfffffff9Segmentation fault
    
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "9 Immediate"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "coldstore"
  10. subsystem changed to: "60. NRE and coroutines"
  11. title changed to: "stack corruption"
  12. type changed to: "Bug"