Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e7b0bb3256608cc8d79ff0b37d944531b647dae4
Ticket: 3034840fffffffffffffffffffffffffffffffff
Crash in UpdateStringOfList()
User & Date: andreas_kupries on 2010-07-31 00:29:47
Changes

  1. icomment:
    > It is not safe to call InputTclMethod() with
    > zero ref count arguments, but that's what
    > ReflectWatch() does.
    
    Hm. Going through this I cannot see how that (maskObj with RC == 0) happens. The maskObj is created by DecodeEventMask() and this function runs Tcl_IncrRefCount immediately on it, in line 1975, causing RC == 1.
    
    I am looking at revision 1.49 of tclIORChan.c
    
    That being said, I do see that ReflectInput/Output and SeekWide invoke ITM with newly minted objects which have RC == 0. (Still have to look at Block and (Set/Get)Option).
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"