Skip to content
Tcl Source Code History Of Ticket 3397515
Login

History Of Ticket 3397515

Artifacts Associated With Ticket 3397515

  1. Ticket change [70f88345c4] (rid 100581) by dgp on 2011-08-24 16:03:21:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      $ make valgrind TESTFLAGS="-file ioCmd.test -match iocmd.tf-22.2"
      ...
      ==15293== 235,101 (40 direct, 235,061 indirect) bytes in 1 blocks are definitely lost in loss record 826 of 826
      ==15293==    at 0x4A05E1C: malloc (vg_replace_malloc.c:195)
      ==15293==    by 0x4BC08E: TclpAlloc (tclAlloc.c:705)
      ==15293==    by 0x4CD692: Tcl_Alloc (tclCkalloc.c:1046)
      ==15293==    by 0x55F9BA: AllocStringEntry (tclHash.c:836)
      ==15293==    by 0x55F15C: CreateHashEntry (tclHash.c:361)
      ==15293==    by 0x44CBED: Tcl_CreateNamespace (tclNamesp.c:778)
      ==15293==    by 0x44EA42: TclGetNamespaceForQualName (tclNamesp.c:2274)
      ==15293==    by 0x44EC1E: Tcl_FindNamespace (tclNamesp.c:2398)
      
      
      But then.... add -verbose bpste to the testing....
      
      $ make valgrind TESTFLAGS="-file ioCmd.test -verbose bpste -match iocmd.tf-22.2"
      ...
      ==15321== 235,133 (112 direct, 235,021 indirect) bytes in 1 blocks are definitely lost in loss record 825 of 825
      ==15321==    at 0x4A05E1C: malloc (vg_replace_malloc.c:195)
      ==15321==    by 0x4BC08E: TclpAlloc (tclAlloc.c:705)
      ==15321==    by 0x4CD692: Tcl_Alloc (tclCkalloc.c:1046)
      ==15321==    by 0x4BEBDA: Tcl_CreateCommand (tclBasic.c:2080)
      ==15321==    by 0x40FA18: Tcltest_Init (tclTest.c:558)
      ==15321==    by 0x42742F: NewTestThread (tclThreadTest.c:583)
      ==15321==    by 0x544869: NewThreadProc (tclEvent.c:1565)
      ==15321==    by 0x340960673C: start_thread (in /lib64/libpthread-2.5.so)
      
      Something more than a simple leak lurking here it seems.
      
    4. foundin initialized to: "obsolete: 8.6b2"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dgp"
    10. subsystem initialized to: "26. Channel Transforms"
    11. title initialized to: "iocmd.tf-22.2 leaks"
    12. type initialized to: "Bug"
  2. Ticket change [1d8d5cee93] (rid 90836) by dgp on 2011-09-24 02:19:29:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2011-09-23T19:19:29"
    3. closer changed to: "dgp"
    4. icomment:
      
      
      allow_comments - 1
      
      
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "dgp"