Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9c48c1e0f76fffaafa84bda8c0bb259344e6db07
Ticket: 82521bfb6734f891ddecc26b4b4b3388fdc3eb1c
Segfault from commit af06c0fbf8 onwards
User & Date: anonymous on 2014-09-27 09:55:55
Changes

  1. icomment:
    <p>Something is clearly wrong with my test setup, my apologies.  In the core dumps the line that consistently segfaults is:
    
    <pre>
    #6  0x00007fa525912b51 in TEBCresume (data=0x24ea478, interp=0x2954910, result=0) at /home/cyan/local/src/tcl8.6.2/generic/tclExecute.c:3415
    3415                TclDecrRefCount(valuePtr);
    (gdb) l
    3410             */
    3411
    3412        doStoreVarDirect:
    3413            valuePtr = varPtr->value.objPtr;
    3414            if (valuePtr != NULL) {
    <b>3415                TclDecrRefCount(valuePtr);</b>
    3416            }
    3417            objResultPtr = OBJ_AT_TOS;
    3418            varPtr->value.objPtr = objResultPtr;
    3419    #ifndef TCL_COMPILE_DEBUG
    </pre>
    
    <p>These line numbers don't match the sources I was building from.  Curiously moving to different commits and building from them did consistently affect the segfault behaviour (and version number reporting).  I'll have to spend some time constructing a less convoluted the test setup before proceeding.
    
    <p>I'll append a new comment with the details once I'm confident that the results make sense.  Sorry for wasting time on red herrings.
    
  2. login: "anonymous"
  3. mimetype: "text/html"