Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1fc4f37042d18be3793497880165aee8177ce9a3
Ticket: 3008307fffffffffffffffffffffffffffffffff
callerPtr chain does not traverse coro floor
User & Date: ferrieux on 2010-05-30 06:31:31
Changes

  1. icomment:
    While I'm still failing to reproduce outside tcltest, I also attach the gdb bt of the broken invariant:
    
    (gdb) where
    #0  0x00e8e424 in __kernel_vsyscall ()
    #1  0x003aaa81 in raise () from /lib/libc.so.6
    #2  0x003ac34a in abort () from /lib/libc.so.6
    #3  0x0063940d in Tcl_PanicVA (format=0x693c58 "Insane Stack : frame=%p  gc=%d cgc=%d c->gc=%d !!!", argList=0xbfbfaae4 "\377\377\377\377\304\317\067") at /home/alex/src/cvs/tcl/generic/tclPanic.c:93
    #4  0x00639437 in Tcl_Panic (format=0x693c58 "Insane Stack : frame=%p  gc=%d cgc=%d c->gc=%d !!!") at /home/alex/src/cvs/tcl/generic/tclPanic.c:122
    #5  0x00576775 in CheckStackSanity (iniframe=0x89cb6c8) at /home/alex/src/cvs/tcl/generic/tclBasic.c:412
    #6  0x00581d52 in NRInterpCoroutine (clientData=0x89ff780, interp=0x8949770, objc=0, objv=0x0) at /home/alex/src/cvs/tcl/generic/tclBasic.c:8811
    #7  0x005815f3 in RewindCoroutine (corPtr=0x89ff780, result=0) at /home/alex/src/cvs/tcl/generic/tclBasic.c:8643
    #8  0x00581649 in DeleteCoroutine (clientData=0x89ff780) at /home/alex/src/cvs/tcl/generic/tclBasic.c:8655
    #9  0x0057998c in Tcl_DeleteCommandFromToken (interp=0x8949770, cmd=0x89ff800) at /home/alex/src/cvs/tcl/generic/tclBasic.c:3016
    #10 0x00578c49 in Tcl_CreateObjCommand (interp=0x8949770, cmdName=0xbfbfacf8 "foo", proc=0, clientData=0x89ff680, deleteProc=0x5815f9 <DeleteCoroutine>) at /home/alex/src/cvs/tcl/generic/tclBasic.c:2211
    #11 0x005806d6 in Tcl_NRCreateCommand (interp=0x8949770, cmdName=0xbfbfacf8 "foo", proc=0, nreProc=0x581b55 <NRInterpCoroutine>, clientData=0x89ff680, deleteProc=0x5815f9 <DeleteCoroutine>) at /home/alex/src/cvs/tcl/generic/tclBasic.c:8225
    #12 0x00582230 in TclNRCoroutineObjCmd (dummy=0x0, interp=0x8949770, objc=4, objv=0x8950df4) at /home/alex/src/cvs/tcl/generic/tclBasic.c:8895
    #13 0x0057b5c0 in NRRunObjProc (data=0x8a170bc, interp=0x8949770, result=0) at /home/alex/src/cvs/tcl/generic/tclBasic.c:4384
    #14 0x0057b384 in TclNRRunCallbacks (interp=0x8949770, result=0, rootPtr=0x894f650, tebcCall=1) at /home/alex/src/cvs/tcl/generic/tclBasic.c:4331
    #15 0x005eeaef in TclExecuteByteCode (interp=0x8949770, codePtr=0x89bc1b0) at /home/alex/src/cvs/tcl/generic/tclExecute.c:2822
    #16 0x0057b643 in NRCallTEBC (data=0x8a19084, interp=0x8949770, result=0) at /home/alex/src/cvs/tcl/generic/tclBasic.c:4407
    #17 0x0057b384 in TclNRRunCallbacks (interp=0x8949770, result=0, rootPtr=0x0, tebcCall=0) at /home/alex/src/cvs/tcl/generic/tclBasic.c:4331
    #18 0x0057ad39 in Tcl_EvalObjv (interp=0x8949770, objc=11, objv=0x89509a0, flags=2097152) at /home/alex/src/cvs/tcl/generic/tclBasic.c:4103
    #19 0x0057cea0 in TclEvalEx (interp=0x8949770, script=0x8993118 "# Commands covered:  coroutine, yield, [info coroutine]\n#\n# This file contains a collection of tests for experimental commands that are\n# found in ::tcl::unsupported. The tests will migrate to normal "..., numBytes=13132, flags=0, line=191, clNextOuter=0x0, outerScript=0x8993118 "# Commands covered:  coroutine, yield, [info coroutine]\n#\n# This file contains a collection of tests for experimental commands that are\n# found in ::tcl::unsupported. The tests will migrate to normal "...) at /home/alex/src/cvs/tcl/generic/tclBasic.c:5273
    #20 0x0057c4b3 in Tcl_EvalEx (interp=0x8949770, script=0x8993118 "# Commands covered:  coroutine, yield, [info coroutine]\n#\n# This file contains a collection of tests for experimental commands that are\n# found in ::tcl::unsupported. The tests will migrate to normal "..., numBytes=13132, flags=0) at /home/alex/src/cvs/tcl/generic/tclBasic.c:4929
    #21 0x00625e61 in Tcl_FSEvalFileEx (interp=0x8949770, pathPtr=0x894f020, encodingName=0x0) at /home/alex/src/cvs/tcl/generic/tclIOUtil.c:1753
    #22 0x0062e7fc in Tcl_Main (argc=-1, argv=0xbfbfb864, appInitProc=0x8048df2 <Tcl_AppInit>) at /home/alex/src/cvs/tcl/generic/tclMain.c:355
    #23 0x08048de5 in main (argc=36, argv=0xbfbfb7d4) at /home/alex/src/cvs/tcl/unix/tclAppInit.c:85
    
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"