[tor-bugs] #31735 [Core Tor/Tor]: Exit and join all threads, before destroying any mutexes in the main thread
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Sep 13 14:18:22 UTC 2019
#31735: Exit and join all threads, before destroying any mutexes in the main thread
-------------------------+-------------------------------------------------
Reporter: teor | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone: Tor: 0.4.2.x-final
Component: Core | Version: Tor: 0.3.5.1-alpha
Tor/Tor | Keywords: consider-backport-after-042-stable,
Severity: Normal | consider-backport-if-needed, diagnostics,
| 042-should, 035-backport-maybe, 040-backport-
| maybe, 041-backport-maybe, regression,
| BugSmashFund
Actual Points: | Parent ID: #31614
Points: | Reviewer:
Sponsor: |
-------------------------+-------------------------------------------------
Otherwise, the mutex could be locked by another thread, and destroying a
locked mutex triggers undefined behaviour.
Part of #31614.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31735>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list