Tcl Source Code

Artifact [637fe538bf]
Login

Artifact 637fe538bfd34e39d1c0e0c1869198eb80447c19:

Attachment "res.leaks" to ticket [3384840fff] added by msofer 2011-08-04 21:25:56.
Leak #1
  0:  malloc (vg_replace_malloc.c:236)
  1:  TclpAlloc (tclAlloc.c:705)
  2:  Tcl_Alloc (tclCkalloc.c:1046)
  3:  TclCreateLiteral (tclLiteral.c:232)
  4:  TclRegisterLiteral (tclLiteral.c:402)
  5:  TclCompileScript (tclCompile.c:1773)
  6:  TclCompileTokens (tclCompile.c:2096)
  7:  TclCompileListCmd (tclCompCmds.c:2979)
  8:  TclCompileScript (tclCompile.c:1705)
  9:  TclCompileTokens (tclCompile.c:2096)
-- assemble.test: ==31935== 50 (48 direct, 2 indirect) bytes in 1 blocks are definitely lost in loss record 92 of 124

Leak #2
  0:  malloc (vg_replace_malloc.c:236)
  1:  TclpAlloc (tclAlloc.c:705)
  2:  Tcl_Alloc (tclCkalloc.c:1046)
  3:  BuildExceptionRanges (tclAssembly.c:3865)
  4:  ProcessCatches (tclAssembly.c:3598)
  5:  FinishAssembly (tclAssembly.c:2662)
  6:  TclAssembleCode (tclAssembly.c:1074)
  7:  TclCompileAssembleCmd (tclAssembly.c:946)
  8:  TclCompileScript (tclCompile.c:1705)
  9:  TclSetByteCodeFromAny (tclCompile.c:587)
-- assemble.test: ==31935== 8 bytes in 122 blocks are definitely lost in loss record 19 of 124

Leak #3
  0:  malloc (vg_replace_malloc.c:236)
  1:  TclpAlloc (tclAlloc.c:705)
  2:  Tcl_Alloc (tclCkalloc.c:1046)
  3:  BuildExceptionRanges (tclAssembly.c:3865)
  4:  ProcessCatches (tclAssembly.c:3598)
  5:  FinishAssembly (tclAssembly.c:2662)
  6:  TclAssembleCode (tclAssembly.c:1074)
  7:  TclCompileAssembleCmd (tclAssembly.c:946)
  8:  TclCompileScript (tclCompile.c:1705)
  9:  TclCompileCmdWord (tclCompile.c:2215)
-- assemble.test: ==31935== 24 bytes in 3 blocks are definitely lost in loss record 40 of 124

Leak #4
  0:  malloc (vg_replace_malloc.c:236)
  1:  TclpAlloc (tclAlloc.c:705)
  2:  Tcl_Alloc (tclCkalloc.c:1046)
  3:  TclCreateLiteral (tclLiteral.c:232)
  4:  TclRegisterLiteral (tclLiteral.c:402)
  5:  TclCompileCatchCmd (tclCompCmds.c:390)
  6:  TclCompileScript (tclCompile.c:1705)
  7:  TclCompileTokens (tclCompile.c:2096)
  8:  TclCompileSetCmd (tclCompCmdsSZ.c:206)
  9:  TclCompileScript (tclCompile.c:1705)
-- assemble.test: ==31935== 50 (48 direct, 2 indirect) bytes in 1 blocks are definitely lost in loss record 91 of 124

Leak #5
  0:  malloc (vg_replace_malloc.c:236)
  1:  TclpAlloc (tclAlloc.c:705)
  2:  Tcl_Alloc (tclCkalloc.c:1046)
  3:  AssembleOneLine (tclAssembly.c:1465)
  4:  TclAssembleCode (tclAssembly.c:1045)
  5:  CompileAssembleObj (tclAssembly.c:852)
  6:  TclNRAssembleObjCmd (tclAssembly.c:764)
  7:  NRRunObjProc (tclBasic.c:4365)
  8:  TclNRRunCallbacks (tclBasic.c:4314)
  9:  TclEvalObjEx (tclBasic.c:5885)
-- assemble.test: ==31935== 432 (352 direct, 80 indirect) bytes in 4 blocks are definitely lost in loss record 122 of 124

Leak #6
  0:  malloc (vg_replace_malloc.c:236)
  1:  TclpAlloc (tclAlloc.c:705)
  2:  Tcl_Alloc (tclCkalloc.c:1046)
  3:  BuildExceptionRanges (tclAssembly.c:3866)
  4:  ProcessCatches (tclAssembly.c:3598)
  5:  FinishAssembly (tclAssembly.c:2662)
  6:  TclAssembleCode (tclAssembly.c:1074)
  7:  TclCompileAssembleCmd (tclAssembly.c:946)
  8:  TclCompileScript (tclCompile.c:1705)
  9:  TclCompileCmdWord (tclCompile.c:2215)
-- assemble.test: ==31935== 12 bytes in 3 blocks are definitely lost in loss record 25 of 124

Leak #7
  0:  malloc (vg_replace_malloc.c:236)
  1:  TclpAlloc (tclAlloc.c:705)
  2:  Tcl_Alloc (tclCkalloc.c:1046)
  3:  AllocStringEntry (tclHash.c:836)
  4:  CreateHashEntry (tclHash.c:361)
  5:  ResolveJumpTableTargets (tclAssembly.c:3047)
  6:  FillInJumpOffsets (tclAssembly.c:2981)
  7:  FinishAssembly (tclAssembly.c:2656)
  8:  TclAssembleCode (tclAssembly.c:1074)
  9:  CompileAssembleObj (tclAssembly.c:852)
-- assemble.test: ==31935== 128 (40 direct, 88 indirect) bytes in 1 blocks are definitely lost in loss record 107 of 124

Leak #8
  0:  malloc (vg_replace_malloc.c:236)
  1:  TclpAlloc (tclAlloc.c:705)
  2:  Tcl_Alloc (tclCkalloc.c:1046)
  3:  BuildExceptionRanges (tclAssembly.c:3866)
  4:  ProcessCatches (tclAssembly.c:3598)
  5:  FinishAssembly (tclAssembly.c:2662)
  6:  TclAssembleCode (tclAssembly.c:1074)
  7:  CompileAssembleObj (tclAssembly.c:852)
  8:  TclNRAssembleObjCmd (tclAssembly.c:764)
  9:  NRRunObjProc (tclBasic.c:4365)
-- assemble.test: ==31935== 4 bytes in 17 blocks are definitely lost in loss record 10 of 124

Leak #9
  0:  malloc (vg_replace_malloc.c:236)
  1:  TclpAlloc (tclAlloc.c:705)
  2:  Tcl_Alloc (tclCkalloc.c:1046)
  3:  BuildExceptionRanges (tclAssembly.c:3866)
  4:  ProcessCatches (tclAssembly.c:3598)
  5:  FinishAssembly (tclAssembly.c:2662)
  6:  TclAssembleCode (tclAssembly.c:1074)
  7:  TclCompileAssembleCmd (tclAssembly.c:946)
  8:  TclCompileScript (tclCompile.c:1705)
  9:  TclCompileTokens (tclCompile.c:2096)
-- assemble.test: ==31935== 0 bytes in 30 blocks are definitely lost in loss record 2 of 124

Leak #10
  0:  malloc (vg_replace_malloc.c:236)
  1:  TclpAlloc (tclAlloc.c:705)
  2:  Tcl_Alloc (tclCkalloc.c:1046)
  3:  CreateHashEntry (tclHash.c:363)
  4:  TclCompileScript (tclCompile.c:1816)
  5:  CompileEmbeddedScript (tclAssembly.c:1745)
  6:  AssembleOneLine (tclAssembly.c:1396)
  7:  TclAssembleCode (tclAssembly.c:1045)
  8:  CompileAssembleObj (tclAssembly.c:852)
  9:  TclNRAssembleObjCmd (tclAssembly.c:764)
-- assemble.test: ==31935== 40 bytes in 1 blocks are definitely lost in loss record 75 of 124

Leak #11
  0:  realloc (vg_replace_malloc.c:525)
  1:  TclpRealloc (tclAlloc.c:753)
  2:  Tcl_Realloc (tclCkalloc.c:1132)
  3:  EnterCmdWordData (tclCompile.c:2875)
  4:  TclCompileScript (tclCompile.c:1604)
  5:  TclCompileCmdWord (tclCompile.c:2215)
  6:  TclCompileCatchCmd (tclCompCmds.c:371)
  7:  TclCompileScript (tclCompile.c:1705)
  8:  TclCompileTokens (tclCompile.c:2096)
  9:  TclCompileScript (tclCompile.c:1626)
-- assemble.test: ==31935== 128 (96 direct, 32 indirect) bytes in 1 blocks are definitely lost in loss record 108 of 124

Leak #12
  0:  malloc (vg_replace_malloc.c:236)
  1:  nss_parse_service_list (nsswitch.c:622)
  2:  __nss_database_lookup (nsswitch.c:164)
  3:  ???
  4:  ???
  5:  getpwuid_r@@GLIBC_2.2.5 (getXXbyYY_r.c:253)
  6:  TclpGetPwUid (tclUnixCompat.c:218)
  7:  TclpSetVariables (tclUnixInit.c:877)
  8:  Tcl_CreateInterp (tclBasic.c:932)
  9:  Tcl_Main (tclMain.c:639)
-- assemble.test: ==31935== 300 (60 direct, 240 indirect) bytes in 1 blocks are definitely lost in loss record 119 of 124

Leak #13
  0:  malloc (vg_replace_malloc.c:236)
  1:  TclpAlloc (tclAlloc.c:705)
  2:  Tcl_Alloc (tclCkalloc.c:1046)
  3:  TclCreateLiteral (tclLiteral.c:232)
  4:  TclRegisterLiteral (tclLiteral.c:402)
  5:  TclCompileScript (tclCompile.c:1773)
  6:  TclCompileTokens (tclCompile.c:2096)
  7:  TclCompileScript (tclCompile.c:1626)
  8:  TclCompileCmdWord (tclCompile.c:2215)
  9:  TclCompileCatchCmd (tclCompCmds.c:371)
-- assemble.test: ==31935== 50 (48 direct, 2 indirect) bytes in 1 blocks are definitely lost in loss record 90 of 124

Leak #14
  0:  malloc (vg_replace_malloc.c:236)
  1:  TclpAlloc (tclAlloc.c:705)
  2:  Tcl_Alloc (tclCkalloc.c:1046)
  3:  TclCreateLiteral (tclLiteral.c:232)
  4:  TclRegisterLiteral (tclLiteral.c:402)
  5:  AssembleOneLine (tclAssembly.c:1263)
  6:  TclAssembleCode (tclAssembly.c:1045)
  7:  TclCompileAssembleCmd (tclAssembly.c:946)
  8:  TclCompileScript (tclCompile.c:1705)
  9:  TclSetByteCodeFromAny (tclCompile.c:587)
-- assemble.test: ==31935== 50 (48 direct, 2 indirect) bytes in 1 blocks are definitely lost in loss record 93 of 124

Leak #15
  0:  malloc (vg_replace_malloc.c:236)
  1:  TclpAlloc (tclAlloc.c:705)
  2:  Tcl_Alloc (tclCkalloc.c:1046)
  3:  BuildExceptionRanges (tclAssembly.c:3866)
  4:  ProcessCatches (tclAssembly.c:3598)
  5:  FinishAssembly (tclAssembly.c:2662)
  6:  TclAssembleCode (tclAssembly.c:1074)
  7:  TclCompileAssembleCmd (tclAssembly.c:946)
  8:  TclCompileScript (tclCompile.c:1705)
  9:  TclSetByteCodeFromAny (tclCompile.c:587)
-- assemble.test: ==31935== 4 bytes in 122 blocks are definitely lost in loss record 11 of 124

Leak #16
  0:  malloc (vg_replace_malloc.c:236)
  1:  TclpAlloc (tclAlloc.c:705)
  2:  Tcl_Alloc (tclCkalloc.c:1046)
  3:  BuildExceptionRanges (tclAssembly.c:3865)
  4:  ProcessCatches (tclAssembly.c:3598)
  5:  FinishAssembly (tclAssembly.c:2662)
  6:  TclAssembleCode (tclAssembly.c:1074)
  7:  CompileAssembleObj (tclAssembly.c:852)
  8:  TclNRAssembleObjCmd (tclAssembly.c:764)
  9:  NRRunObjProc (tclBasic.c:4365)
-- assemble.test: ==31935== 8 bytes in 17 blocks are definitely lost in loss record 18 of 124

Leak #17
  0:  malloc (vg_replace_malloc.c:236)
  1:  TclpAlloc (tclAlloc.c:705)
  2:  Tcl_Alloc (tclCkalloc.c:1046)
  3:  TclCreateLiteral (tclLiteral.c:232)
  4:  TclRegisterLiteral (tclLiteral.c:402)
  5:  TclCompileVariableCmd (tclCompCmds.c:3840)
  6:  TclCompileScript (tclCompile.c:1705)
  7:  TclSetByteCodeFromAny (tclCompile.c:587)
  8:  SetByteCodeFromAny (tclCompile.c:679)
  9:  TclProcCompileProc (tclProc.c:2094)
-- assemble.test: ==31935== 324 (48 direct, 276 indirect) bytes in 1 blocks are definitely lost in loss record 120 of 124

Leak #18
  0:  malloc (vg_replace_malloc.c:236)
  1:  TclpAlloc (tclAlloc.c:705)
  2:  Tcl_Alloc (tclCkalloc.c:1046)
  3:  Tcl_NewObj (tclObj.c:1179)
  4:  GetNextOperand (tclAssembly.c:2025)
  5:  AssembleOneLine (tclAssembly.c:1233)
  6:  TclAssembleCode (tclAssembly.c:1045)
  7:  CompileAssembleObj (tclAssembly.c:852)
  8:  TclNRAssembleObjCmd (tclAssembly.c:764)
  9:  NRRunObjProc (tclBasic.c:4365)
-- assemble.test: ==31935== 83 (48 direct, 35 indirect) bytes in 1 blocks are definitely lost in loss record 102 of 124

Leak #19
  0:  malloc (vg_replace_malloc.c:236)
  1:  TclpAlloc (tclAlloc.c:705)
  2:  Tcl_Alloc (tclCkalloc.c:1046)
  3:  TclCreateLiteral (tclLiteral.c:232)
  4:  TclRegisterLiteral (tclLiteral.c:402)
  5:  CompileExprTree (tclCompExpr.c:2398)
  6:  TclCompileExpr (tclCompExpr.c:2096)
  7:  TclCompileExprWords (tclCompile.c:2269)
  8:  TclCompileIfCmd (tclCompCmds.c:2219)
  9:  TclCompileScript (tclCompile.c:1705)
-- assemble.test: ==31935== 50 (48 direct, 2 indirect) bytes in 1 blocks are definitely lost in loss record 89 of 124

Leak #20
  0:  malloc (vg_replace_malloc.c:236)
  1:  TclpAlloc (tclAlloc.c:705)
  2:  Tcl_Alloc (tclCkalloc.c:1046)
  3:  BuildExceptionRanges (tclAssembly.c:3865)
  4:  ProcessCatches (tclAssembly.c:3598)
  5:  FinishAssembly (tclAssembly.c:2662)
  6:  TclAssembleCode (tclAssembly.c:1074)
  7:  TclCompileAssembleCmd (tclAssembly.c:946)
  8:  TclCompileScript (tclCompile.c:1705)
  9:  TclCompileTokens (tclCompile.c:2096)
-- assemble.test: ==31935== 0 bytes in 30 blocks are definitely lost in loss record 1 of 124

Leak #21
  0:  malloc (vg_replace_malloc.c:236)
  1:  TclpAlloc (tclAlloc.c:705)
  2:  Tcl_Alloc (tclCkalloc.c:1046)
  3:  TclCreateLiteral (tclLiteral.c:232)
  4:  TclRegisterLiteral (tclLiteral.c:402)
  5:  TclCompileErrorCmd (tclCompCmds.c:1338)
  6:  TclCompileScript (tclCompile.c:1705)
  7:  TclCompileCmdWord (tclCompile.c:2215)
  8:  TclCompileCatchCmd (tclCompCmds.c:371)
  9:  TclCompileScript (tclCompile.c:1705)
-- assemble.test: ==31935== 57 (48 direct, 9 indirect) bytes in 1 blocks are definitely lost in loss record 94 of 124

Leak #22
  0:  malloc (vg_replace_malloc.c:236)
  1:  TclpAlloc (tclAlloc.c:705)
  2:  Tcl_Alloc (tclCkalloc.c:1046)
  3:  TclCreateLiteral (tclLiteral.c:232)
  4:  TclRegisterLiteral (tclLiteral.c:402)
  5:  TclCompileErrorCmd (tclCompCmds.c:1337)
  6:  TclCompileScript (tclCompile.c:1705)
  7:  TclCompileCmdWord (tclCompile.c:2215)
  8:  TclCompileIfCmd (tclCompCmds.c:2348)
  9:  TclCompileScript (tclCompile.c:1705)
-- assemble.test: ==31935== 346 (48 direct, 298 indirect) bytes in 1 blocks are definitely lost in loss record 121 of 124

Leak #23
  0:  malloc (vg_replace_malloc.c:236)
  1:  TclpAlloc (tclAlloc.c:705)
  2:  Tcl_Alloc (tclCkalloc.c:1046)
  3:  TclCreateLiteral (tclLiteral.c:232)
  4:  TclRegisterLiteral (tclLiteral.c:402)
  5:  TclCompileScript (tclCompile.c:1756)
  6:  CompileEmbeddedScript (tclAssembly.c:1745)
  7:  AssembleOneLine (tclAssembly.c:1396)
  8:  TclAssembleCode (tclAssembly.c:1045)
  9:  CompileAssembleObj (tclAssembly.c:852)
-- assemble.test: ==31935== 205 (48 direct, 157 indirect) bytes in 1 blocks are definitely lost in loss record 113 of 124

Leak #24
  0:  malloc (vg_replace_malloc.c:236)
  1:  TclpAlloc (tclAlloc.c:705)
  2:  Tcl_Alloc (tclCkalloc.c:1046)
  3:  TclCreateLiteral (tclLiteral.c:232)
  4:  InitLocalCache (tclProc.c:1393)
  5:  InitArgsAndLocals (tclProc.c:1455)
  6:  TclNRInterpProcCore (tclProc.c:1757)
  7:  TclNRInterpProc (tclProc.c:1720)
  8:  NRRunObjProc (tclBasic.c:4365)
  9:  TclNRRunCallbacks (tclBasic.c:4314)
-- assemble.test: ==31935== 206 (48 direct, 158 indirect) bytes in 1 blocks are definitely lost in loss record 114 of 124