Tcl Source Code

Ticket Change Details
Login
Overview

Artifact ID: 57a42833db6b7ee3c9aac5768d483bb0929339fc
Ticket: 21000b5d407f330efaf8e6207fe8d025b0633ebb
Problem with Tcl_DeleteInterp() in 8.4.9.1_Activetcl
User & Date: sakthivp 2014-02-25 07:15:36
Changes

  1. icomment:
    I wrote a small program , which just create the Tcl interpreter and delete it.
    -------------------------------------------------------------
    int main()
    {
     int x=0;
     Tcl_Interp* a;
     a =  Tcl_CreateInterp();
     Tcl_Init(a);
     if (a == NULL)
     printf("Interpreter creation Failed \n");
     delete_interpr(a);
     printf("DeleteInterpreter \n");
    }
    --------------------------------------------------------------
    I compiled this program using Tcl8.4.9.1 libraries and executed it with truss command. Still there are about 577 free() function calls i can see from the Tcl_DelteInterp() function.
    Attached the log file. I dont see any cashed object or string in the given program but still could see many free() function calls including mutem_unlock function call.
    If it is really something relate to the Server configuration (tuning). Please help me on the specify configuration  parameter.
    I have attached the log files for this program as well.
    
  2. login: "sakthivp"
  3. mimetype: "text/plain"