[tor-bugs] #8896 [Stem]: Thread leak in integ tests
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri May 17 15:59:34 UTC 2013
#8896: Thread leak in integ tests
---------------------+------------------------------------------------------
Reporter: atagar | Owner: atagar
Type: defect | Status: new
Priority: normal | Milestone:
Component: Stem | Version:
Keywords: testing | Parent:
Points: | Actualpoints:
---------------------+------------------------------------------------------
On occasion when I run our integ tests [https://jenkins.torproject.org/job
/stem-tor-ci/158/console they fail with]...
{{{
Threads lingering after test run:
<_MainThread(MainThread, started 139940160231168)>
<Thread(Tor Listener, started daemon 139940072584960)>
}}}
I've seen this occasionally when running these tests on my netbook too,
but it's very rare.
This indicates either that our
[https://gitweb.torproject.org/stem.git/blob/HEAD:/stem/control.py#l481
BaseController's close() call] is somehow failing to clean up our threads,
or we're forgetting to call close() somewhere.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8896>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list