[tor-bugs] #9639 [Tor]: massive memory leak when starting tor in the absence of /var/lib/tor
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Sep 2 04:45:15 UTC 2013
#9639: massive memory leak when starting tor in the absence of /var/lib/tor
------------------------+---------------------------------
Reporter: mr-4 | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Tor | Version: Tor: 0.2.4.14-alpha
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
------------------------+---------------------------------
Comment (by arma):
Yes indeed!
It doesn't work if you delete the datadirectory before Tor starts, since
then it either creates it (if it can) or exits (if it can't). You need to
let Tor start and *then* rm -rf the directory.
{{{
==27595== LEAK SUMMARY:
==27595== definitely lost: 15,647,096 bytes in 102,949 blocks
==27595== indirectly lost: 85,442,736 bytes in 927,497 blocks
==27595== possibly lost: 98,178 bytes in 916 blocks
==27595== still reachable: 12,814 bytes in 126 blocks
==27595== suppressed: 0 bytes in 0 blocks
}}}
See #9645 for a related bug which is probably even worse.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9639#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list