Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5f14d099525c47e3c013b5eb505ba3fa814bef1f
Ticket: 3008307fffffffffffffffffffffffffffffffff
callerPtr chain does not traverse coro floor
User & Date: dgp on 2014-10-09 14:04:39
Changes

  1. assignee changed to: "aku"
  2. closer changed to: "nobody"
  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. icomment: "status?"
  5. login: "dgp"
  6. mimetype: "text/plain"
  7. severity changed to: "Minor"