Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7e8405c1bf36a7c761f2240fb55240022cbbed85
Ticket: a13778c49ecc068082577d48a5f05182383e5e8e
Segfault (objPtr->typePtr->updateStringProc == NULL)
User & Date: msofer on 2014-08-08 16:56:31
Changes

  1. icomment:
    Not enough info to do anything about this: what we do know is that an improperly maintained Tcl_Obj has been encountered. A diagnose should determine how we came to this situation: what type of obj it is, if the problem is due to mem corruption, etc, etc.
    
    Note the premonitory comment just above the segfaulting line in tclObj.c:
    /*
     * Note we do not check for objPtr->typePtr == NULL.  An invariant of
     * a properly maintained Tcl_Obj is that at least  one of objPtr->bytes
     * and objPtr->typePtr must not be NULL.  If broken extensions fail to
     * maintain that invariant, we can crash here.
     */
    
  2. login: "msofer"
  3. mimetype: "text/plain"