Overview
Artifact ID: | 321adcdc1d4891fed92f379cceefd41037227258 |
---|---|
Ticket: | 21000b5d407f330efaf8e6207fe8d025b0633ebb
Problem with Tcl_DeleteInterp() in 8.4.9.1_Activetcl |
User & Date: | sakthivp 2014-02-17 09:31:05 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
I have some problem with Tcl_DeleteInterp() API (on solaris). I have used this Tcl_DeleteInterp() in my application to delete interpreter. The strange thing i found is the process which uses this API hangs about 20 minutes. I attached the process with truss command and found that the process continuously executing the below functions for almost 20 min for almost 13000(~) times. 15.6541 0.0002 -> libtcl8.4:Tcl_DeleteInterp(0x41748, 0x0, 0x0, 0x0) 15.6580 0.0039 -> libc:free(0x288f8, 0x0, 0x0, 0x0) 15.6583 0.0003 -> libc:mutex_unlock(0xff0424e8, 0x0, 0x0, 0x0) 15.6584 0.0001 <- libc:free() = 0 15.6588 0.0004 -> libc:free(0x474b0, 0x0, 0x0, 0x0)* ... ... I have also attached the process with truss command when creating the Tcl Interpreter, but there were only about 800 times malloc() function has been called from Tcl_CreateInterp(). Can someone help me on this why the function Tcl_DeleteInterp calling these functions? I have also checked the implementation done for Tcl_DeleteInterp() , but didn't find any clue. Thanks
- foundin changed to: "8.4.9.1"
- is_private changed to: "0"
- login: "sakthivp"
- priority changed to: "5 Medium"
- private_contact changed to: "48983f525fd9076bac622c146a176422b55d1e18"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "sakthivp"
- subsystem changed to: "20. [interp]"
- title changed to:
Problem with Tcl_DeleteInterp() in 8.4.9.1_Activetcl
- type changed to: "Bug"