Tk Source Code

Ticket Change Details
Login
Overview

Artifact ID: 45dd8cd2b3c4a0e50fb5c979f7bd160ff8d3304e
Ticket: 39e510f69e6e641894d24582c61ba0c99ab21799
Revised [text]: textDisp-27.7.2 segfaults on OS X
User & Date: fvogel 2017-05-24 14:17:57
Changes

  1. icomment:
    I don't understand this:
    
    <verbatim>
    > the font initialization while performing 
    >
    >   tagPtr->optionTable = Tk_CreateOptionTable(textPtr->interp, tagOptionSpecs);
    >
    >needs investigation. Later, when the lines tkTextTag.c:1924-1931 will be >executed, one of the functions Tcl_CreateHashEntry(), or more likely >Tcl_GetHashKey(), seems to corrupt the stack
    </verbatim>
    
    In the code I'm reading, Tk_CreateOptionTable() is line 1980, and this comes <b>after</b> Tcl_CreateHashEntry() and Tcl_GetHashKey() which are lines 1924-1931 in tkTextTag.c
    
  2. login: "fvogel"
  3. mimetype: "text/x-fossil-wiki"