[tor-bugs] #30235 [Core Tor/Tor]: Tor hangs when asked to change DisableAllSwap over the control port (was: Tor hangs when asked to change User and DisableAllSwap over the control port)
    Tor Bug Tracker & Wiki 
    blackhole at torproject.org
       
    Fri Apr 19 06:20:45 UTC 2019
    
    
  
#30235: Tor hangs when asked to change 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:  0.2
Parent ID:  #29437                 |         Points:  1
 Reviewer:                         |        Sponsor:
-----------------------------------+------------------------------------
Changes (by teor):
 * actualpoints:   => 0.2
Old description:
> {{{
>     self.assertRaisesWith(stem.InvalidArguments, "DisableAllSwap, User
> cannot be changed while tor's running", controller.set_options, {'User':
> 'atagar', 'DisableAllSwap': '1'})
> }}}
>
> We don't know why, because we don't have the tor logs or backtrace
> (#30234).
New description:
 {{{
     self.assertRaisesWith(stem.InvalidArguments, "DisableAllSwap, User
 cannot be changed while tor's running", controller.set_options, {'User':
 'atagar', 'DisableAllSwap': '1'})
 }}}
 or
 {{{
   File
 "/home/travis/build/tlyu/tor/stem/test/integ/control/controller.py", line
 793, in test_set_conf_when_immutable
     self.assertRaisesWith(stem.InvalidArguments, "DisableAllSwap cannot be
 changed while tor's running", controller.set_conf, 'DisableAllSwap', '1')
 }}}
 We don't know why, because we don't have the tor logs or backtrace
 (#30234).
--
Comment:
 DisableAllSwap causes this error by itself:
 {{{
   File
 "/home/travis/build/tlyu/tor/stem/test/integ/control/controller.py", line
 793, in test_set_conf_when_immutable
     self.assertRaisesWith(stem.InvalidArguments, "DisableAllSwap cannot be
 changed while tor's running", controller.set_conf, 'DisableAllSwap', '1')
 }}}
 https://travis-ci.org/tlyu/tor/jobs/521994718#L3565
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30235#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
    
    
More information about the tor-bugs
mailing list