[tor-bugs] #30235 [Core Tor/Tor]: Tor hangs when asked to change User and DisableAllSwap over the control port

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Apr 19 01:32:05 UTC 2019


#30235: Tor hangs when asked to change User and DisableAllSwap over the control
port
-----------------------------------+------------------------------------
 Reporter:  teor                   |          Owner:  (none)
     Type:  defect                 |         Status:  assigned
 Priority:  Medium                 |      Milestone:  Tor: 0.2.9.x-final
Component:  Core Tor/Tor           |        Version:  Tor: 0.2.4.8-alpha
 Severity:  Normal                 |     Resolution:
 Keywords:  tor-ci-fail-sometimes  |  Actual Points:
Parent ID:  #29437                 |         Points:  1
 Reviewer:                         |        Sponsor:
-----------------------------------+------------------------------------

Comment (by teor):

 The failure doesn't happen all the time, but when it does, it's in the
 same place:
 {{{
     self.assertRaisesWith(stem.InvalidArguments, "DisableAllSwap, User
 cannot be changed while tor's running", controller.set_options, {'User':
 'atagar', 'DisableAllSwap': '1'})
 }}}
 https://travis-ci.org/torproject/tor/jobs/521109187#L3568https://travis-
 ci.org/torproject/tor/jobs/521109187#L3568

 I wonder if:
 * Tor successfully does DisableAllSwap?
 * Switching to `User atagar` succeeds? (It shouldn't: that user doesn't
 exist in Travis)

 I also wonder if there's some race condition between Tor and stem.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30235#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list