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

[tor-bugs] #28877 [Core Tor/Nyx]: Command desc/all-recent slows down or craches Nyx



#28877: Command desc/all-recent slows down or craches Nyx
--------------------+------------------------------
 Reporter:  wagon   |          Owner:  atagar
     Type:  defect  |         Status:  assigned
 Priority:  Medium  |      Component:  Core Tor/Nyx
  Version:          |       Severity:  Normal
 Keywords:          |  Actual Points:
Parent ID:          |         Points:
 Reviewer:          |        Sponsor:
--------------------+------------------------------
 If `UseMicrodescriptors` is set to 0 in Tor client, the command `GETINFO
 desc/all-recent` returns very huge listing which interpreter cannot manage
 properly. If amount of memory is big, after finishing this command Nyx
 starts to response slowly on any keyboard input everywhere and in all its
 windows, not only in interpreter window (restart of Nyx helps). If amount
 of resources is not that big, it may crash with the following log (I tired
 to kill it, because my operating system hanged):

 {{{
 Traceback (most recent call last):
   File "/path/to/nyx_git/nyx/run_nyx", line 14, in <module>
     nyx.main()
   File "/path/to/nyx_git/nyx/nyx/__init__.py", line 177, in main
     nyx.starter.main()
   File "/path/to/nyx_git/nyx/stem/util/conf.py", line 289, in wrapped
     return func(*args, config = config, **kwargs)
   File "/path/to/nyx_git/nyx/nyx/starter.py", line 122, in main
     nyx.curses.halt()
   File "/path/to/nyx_git/nyx/nyx/curses.py", line 565, in halt
     with CURSES_LOCK:
   File "/usr/lib/python2.7/threading.py", line 168, in acquire
     me = _get_ident()
 KeyboardInterrupt
 Exception in thread Event notifier (most likely raised during interpreter
 shutdown):Exception in thread Tor listener (most likely raised during
 interpreter shutdown):
 Traceback (most recent call last):
 Traceback (most recent call last):
   File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner

   File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    File "/usr/lib/python2.7/threading.py", line 763, in run
   File "/path/to/nyx_git/nyx/stem/control.py", line 978, in _event_loop
 File "/usr/lib/python2.7/threading.py", line 763, in run
 <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute
 'Empty'
   File "/path/to/nyx_git/nyx/stem/control.py", line 947, in _reader_loop
 <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute
 'ControllerError'
 }}}

 Nyx version is
 [[http://ea5faa5po25cf7fb.onion/projects/tor/ticket/28332#comment:7|this
 one]].

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28877>
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