Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3ca6fd02fcbc5c288432c500dbdfc239b2d7754f
Ticket: 1783443fffffffffffffffffffffffffffffffff
apache and websh
User & Date: msofer on 2007-09-04 20:20:49
Changes

  1. closedate changed to: "2007-09-04T13:20:49"
  2. closer changed to: "msofer"
  3. icomment:
    Logged In: YES 
    user_id=148712
    Originator: NO
    
    No, that is wrong: you should Tcl_IncrRefCount(tmp) before calling Tcl_ObjSetVar2(). See http://wiki.tcl.tk/14880 for guidance on these issues.
    
    Why the problem is only apparent on Server 2003: a mystery. It is always wrong, $varname will be just about anything after this: the obj has been freed, it will be reused for something else (assuming a standard Tcl compilation).
    
    [*] If the refCount is not incr/decr, Tcl (pre 8.5, not anymore in HEAD) will leak the Tcl_Obj whenever a variable called 'varname' cannot be set - for instance, if it refers to a non-existing namespace.
    
    
  4. login: "msofer"
  5. mimetype: "text/plain"
  6. resolution changed to: "Invalid"
  7. status changed to: "Pending"
  8. username: "msofer"