Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 65096f93dce0e601979d100d0ebf1524dd9aa5c2
Ticket: 3475569fffffffffffffffffffffffffffffffff
Unexpected behavior / Panic / Tcl_Obj deletion management
User & Date: msofer on 2012-01-18 23:56:16
Changes

  1. closedate changed to: "2012-01-18T16:56:16"
  2. closer changed to: "msofer"
  3. icomment:
    Looks like a bug in your own code, PANIC ("Tcl_SetObjLength called with shared object") is the clue: you should never try to modify a shared object. The proper way is to check using Tcl_IsShared(), and obtain if necessary your own copy with Tcl_DuplicateObj().
    
    Now: if this is being done within Tcl and not by your code, it is definitely Tcl's bug. In that case please provide sample code that triggers the panic.
    
    
  4. login: "msofer"
  5. mimetype: "text/plain"
  6. resolution changed to: "Invalid"
  7. status changed to: "Pending"
  8. username: "msofer"