Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 59c71b4be83bf3b1264cf9b4d9952a250b847578
Ticket: 2903188fffffffffffffffffffffffffffffffff
Tcl crashes when debugging with Komodo
User & Date: evilmike on 2009-12-07 16:39:25
Changes

  1. icomment:
    I know now, the problem occurs with default heap allocators (malloc/realloc/free). It appears to work with USE_THREAD_ALLOC or with USE_TCLALLOC. I guess its because of different memory layout. This supports my opinion it could be a buffer overrun (on heap) .
    
    I tried to debug this, but its very hard to understand whats going on. Is it realy an intended behaviour that TclStackFree modifies the stackframe (return address of a caller)?
    The debugger and me are very confused that a function does not return to the caller but jumps into the middle of a function after TclStackFree and return has been executed (somewhere during proc statement processing).
    
    
  2. login: "evilmike"
  3. mimetype: "text/plain"
  4. username: "evilmike"