[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #27383 [Core Tor/Tor]: Resolve memory leaks in NSS unit tests



#27383: Resolve memory leaks in NSS unit tests
------------------------------+--------------------------------
     Reporter:  nickm         |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.5.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:  #26631
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 These leaks seem to be caused by the way that the unit tests fork and
 reinitialize NSS: they don't appear to affect Tor itself.  That said,
 we'll need to get rid of them, to make sure that we're able to find real
 memory leaks.

 One possibility here is to refactor our test harness so that NSS
 initialization happens only in subprocesses, and so that forking *always*
 happens.  I'm not sure I like that, but most other things I have tried
 seem to fail.

 Tor itself doesn't have these leaks.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27383>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs