Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1c1e7087b9850312c427a9649b41e074084964b4
Ticket: 05d9a601e45db736729ed5b7a260dd675f245bb4
Memory leak with creating and destroying threads from C
User & Date: rkeene on 2016-04-04 16:19:24
Changes

  1. icomment:
    Output of test-leak (compiled as: gcc -std=gnu11  -o test-leak test-leak.c -Wall -pthread -ltcl -I/usr/include  -L/usr/lib64):
    
    $ ./test-leak 
    Thread Count: 0, Interp Count: 0
    Thread Count: 1, Interp Count: 1
    Thread Count: 1, Interp Count: 1
    Thread Count: 1, Interp Count: 1
    Thread Count: 1, Interp Count: 1
    Thread Count: 1, Interp Count: 1
    Thread Count: 1, Interp Count: 1
    Thread Count: 1, Interp Count: 1
    Thread Count: 1, Interp Count: 1
    Thread Count: 1, Interp Count: 1
    Thread Count: 2, Interp Count: 2
    Thread Count: 1, Interp Count: 1
    Thread Count: 1, Interp Count: 1
    Thread Count: 1, Interp Count: 1
    Thread Count: 1, Interp Count: 1
    Thread Count: 1, Interp Count: 1
    Thread Count: 1, Interp Count: 1
    Thread Count: 1, Interp Count: 1
    Thread Count: 1, Interp Count: 1
    Thread Count: 1, Interp Count: 1
    Thread Count: 1, Interp Count: 1
    Thread Count: 1, Interp Count: 1
    Thread Count: 0, Interp Count: 0
    Thread Count: 1, Interp Count: 1
    Thread Count: 1, Interp Count: 1
    Thread Count: 1, Interp Count: 1
    Thread Count: 1, Interp Count: 1
    Thread Count: 1, Interp Count: 1
    Thread Count: 1, Interp Count: 1
    Thread Count: 1, Interp Count: 1
    Thread Count: 1, Interp Count: 1
    Thread Count: 1, Interp Count: 1
    Tcl_InitNotifier: unable to start notifier thread
    Aborted
    $
    
  2. login: "rkeene"
  3. mimetype: "text/plain"
  4. username: "rkeene"