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

[tor-bugs] #31735 [Core Tor/Tor]: Exit and join all threads, before destroying any mutexes in the main thread



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs