Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 756148c2188b433513af74f3b77536b7787453e0
Ticket: 1077017fffffffffffffffffffffffffffffffff
TCL crash on AIX 64bit
User & Date: kennykb on 2004-12-09 22:56:42
Changes

  1. icomment:
    Logged In: YES 
    user_id=99768
    
    The observed symptoms are consistent with corruption of the
    runtime heap.
    I notice that memmaker is in use - and additionally, that at
    least
    [incr Tcl], [incr Tk] and [incr Widgets] are all in the mix.
    
    It would appear that there is C code in the mix somewhere that's
    storing through a rogue pointer (likely either accessing
    beyond the
    end of an array, or accessing freed memory).  These problems are
    notoriously difficult to track down.
    
    Tcl_ListObj doesn't appear to be the immediate culprit - its
    request for
    32 bytes is as expected given the stack.  The first argument to
    Tcl_DbCkalloc looks odd, but the panic message shows the
    correct number, so I'm willing for now to consider that an issue
    with the code that generates the stack trace.
    
    Do you have access to a memory analysis tool like Purify or
    Valgrind that could be used to assess where the invalid memory
    access is happening?
    
    
    
  2. login: "kennykb"
  3. mimetype: "text/plain"
  4. username: "kennykb"