Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9c96c01da200653d1ef5e0873f430e04a87da592
Ticket: 1157298fffffffffffffffffffffffffffffffff
script demonstrates tk memory leak
User & Date: kylebateman on 2005-03-10 11:30:32
Changes

  1. icomment:
    Logged In: YES 
    user_id=316877
    
    OK, it looks like fedora 3 uses a cursor theme that is part
    of Redhat's overall Bluecurve theme.  It would be nice to
    disable that and test native X11 cursors, but I haven't
    figured out how to do that yet.  Anyone know how?
    
    I also tested the leak.c program provided in #918052.  This
    does produce a leak, but once the application dies, the X
    server goes back to its previous size.  With the test
    application I provided, the X server never shrinks--even
    after the app finishes or is killed.
    
    I also made a simple TK app as suggested in #918052
    consisting only of iterations of setting the cursor.  This
    program does indeed leak too and it leaves the X server big
    when it terminates.  The difference is:  If you then run it
    again with a smaller number of iterations, and let it
    terminate naturally, it will shrink the X server back down
    again.  Strange!
    
    I'll post this example here as membug2.
    
    
    
  2. login: "kylebateman"
  3. mimetype: "text/plain"
  4. username: "kylebateman"