Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b714f64652b9180524458064719e7a9572c65c75
Ticket: 3595576fffffffffffffffffffffffffffffffff
segfault in CatchObjCmdCallback
User & Date: msofer on 2012-12-13 20:37:42
Changes

  1. closedate changed to: "2012-12-13T13:37:42"
  2. closer changed to: "msofer"
  3. icomment:
    
    
    allow_comments - 1
    
    Valgrind sees the crash at line 364 in tclCmdAH.c: there is a decrRefCount of the 'options' Tcl_Obj which was already freed from Tcl_ObjSetVar2 in the line above.
    
    Tcl_ObjSetVar2 is "fire and forget" with respect to the newValuePtr - it will clear a Tcl_Obj with 0 reference count. This means that line 364 is wrong, it should not be there at all.
    
    Fixed in trunk.
    
    
  4. login: "msofer"
  5. mimetype: "text/plain"
  6. resolution changed to: "Fixed"
  7. status changed to: "Closed"
  8. username: "msofer"