Skip to content
Tcl Source Code History Of Ticket 2871908
Login

History Of Ticket 2871908

Artifacts Associated With Ticket 2871908

  1. Ticket change [4c4a3c2500] (rid 126859) by mistachkin on 2009-10-02 16:59:45:

    1. assignee initialized to: "mistachkin"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      The lineCLPtr hashtable structure is being leaked.  The entire objThreadMap hashtable and its contained data are also being leaked.
      
      This bug also applies to the 8.5 branch.
      
    4. foundin initialized to: "obsolete: 8.6b1.1"
    5. is_private initialized to: "0"
    6. priority initialized to: "9 Immediate"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "mistachkin"
    10. subsystem initialized to: "10. Objects"
    11. title initialized to: "leaking two hashtables and some data in tclObj.c"
    12. type initialized to: "Bug"
  2. Ticket change [b037ba3328] (rid 97946) by ferrieux on 2009-10-03 02:57:54:

    1. icomment:
      Can you describe the code path you are considering ?
      Are you calling Tcl_Exit or Tcl_Finalize ?
      Remember that since the exit reform of 2001201, Tcl_Exit only calls the finalizer of the calling thread. Another way of missing a finalizer in Tcl_Exit, even if no extra threads are created, is the test on currentAppExitPtr. Can you say which scenario you are reporting ?
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  3. Ticket change [624d22ab25] (rid 92393) by mistachkin on 2009-10-05 04:44:33:

    1. icomment:
       
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  4. Add attachment "leaks.diff" [977ae66174] (rid 106497) by mistachkin on 2009-10-05 04:45:46.

  5. Ticket change [81a65d4f60] (rid 117078) by mistachkin on 2009-10-05 04:45:46:

    1. icomment:
      
      
      File Added - 345329: leaks.diff
      
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  6. Ticket change [b624a58c41] (rid 125374) by mistachkin on 2009-10-05 04:46:50:

    1. icomment:
      Attached initial patch.  Sorry for the previous blank comment, SF UI is acting weird.
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  7. Ticket change [922fabd10b] (rid 120735) by mistachkin on 2009-10-06 10:03:44:

    1. foundin changed to: "obsolete: 8.5.7"
  8. Ticket change [2735efcfba] (rid 88481) by andreas_kupries on 2009-10-08 05:43:53:

    1. icomment:
      Review patch ... Looks ok, after some thinking.
      Agreed, applies to 8.5 as well. 8.5 actually has the whole TclFinalizeThreadObjects() function missing.
      
      Patch applies ok, modulo ChangeLog entry.
      
      I see no test cases however. How can I check the leak from the testsuite ?
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  9. Ticket change [09770c3c59] (rid 113658) by andreas_kupries on 2009-10-08 06:12:32:

    1. assignee changed to: "andreas_kupries"
    2. closedate changed to: "2009-10-07T23:12:32"
    3. closer changed to: "andreas_kupries"
    4. icomment:
      
      
      allow_comments - 1
      
      Applied patch to head and 8.5 branches. Please check in your environ that the leaks are gone.
      My system passes testsuite before and after.
      
      
      
    5. login: "andreas_kupries"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "andreas_kupries"
  10. Ticket change [44d9310cdf] (rid 116773) by mistachkin on 2009-10-09 03:31:47:

    1. icomment:
      It would be very hard to duplicate the leaks from the existing test suite since the leaks are per-thread and are only really seen after Tcl_Finalize is called.  Just ran my tests here and the leaks appear to be fixed in HEAD.  Thanks.
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  11. Ticket change [30578f8e48] (rid 93234) by mistachkin on 2009-10-18 18:23:16:

    1. icomment:
      Corrected some issues with this in both HEAD and core-8-5-branch.
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"