Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 278af2e4b0396cbf9f214cc157aae1e90f2ed16d
Ticket: 3386417fffffffffffffffffffffffffffffffff
errorstack leaked on syntax error
User & Date: msofer on 2011-08-06 21:45:00
Changes

  1. icomment:
    Positively strange ...
    
    To repro
      CFLAGS=-DPURIFY ./configure --disable-shared --enable-symbols
    
    Then
    
    mig@ari:~/DEVEL/tcl-core/trunk/unix$ cat /tmp/foo
    namespace eval x {set syntax {}{}}
    proc exit args {}
    mig@ari:~/DEVEL/tcl-core/trunk/unix$ cat /tmp/foo | /usr/bin/valgrind --leak-check=yes --num-callers=10 --show-reachable=yes ./tcltest &> /tmp/foo.res
    
    Look for 'definitely' in /tmp/foo.res, you'll find it.
    
    BUT: the leak does NOT appear if you do
       /usr/bin/valgrind --leak-check=yes --num-callers=10 --show-reachable=yes ./tcltest /tmp/foo &> /tmp/foo.res
    So it may have something to do with io???
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"