Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 78e1fd67e5075a6f1beb3e46f12c45a6cfda3551
Ticket: 2891556fffffffffffffffffffffffffffffffff
segfault in test encoding-24.2 (8.5)
User & Date: ferrieux on 2009-11-16 16:14:11
Changes

  1. icomment:
    OK, several important things:
     - it is linked with the "jis0201" encoding appearing twice in the encoding hashtable + once as an escape encoding (subtable), but with total refcount 2 instead of 3.
     - adding an "if (refcount<=0) Tcl_Panic()" in FreeEncoding makes it reliably detectable.
     - it is reproducible even on unix, provided the system encoding is set to cp1252 on test entry
    Bottom line: please wait a bit before relasing 8.5.8, I think this bug is both terribly dangerous and rather easy to fix.
    
     - though the bug is mostly asymptomatic, it is there all the time
     - under harsher memory conditions it could explode in full po 
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"