[tor-bugs] #24820 [Core Tor/Nyx]: nyx crashes on startup

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jan 7 15:43:56 UTC 2018


#24820: nyx crashes on startup
------------------------------+-------------------------------
     Reporter:  monochromec   |      Owner:  atagar
         Type:  defect        |     Status:  new
     Priority:  High          |  Milestone:
    Component:  Core Tor/Nyx  |    Version:
     Severity:  Critical      |   Keywords:  nyx crash startup
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+-------------------------------
 nyx crashes on startup on an ALARM system running on an v5 type
 architecture (Feroceon 88FR131).

 Python is 3.6.4 and the traceback is as follows:

 Exception in thread Thread-5:
 Traceback (most recent call last):
   File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
     self.run()
   File "/usr/lib/python3.6/threading.py", line 864, in run
     self._target(*self._args, **self._kwargs)
   File "/usr/lib/python3.6/site-packages/nyx/__init__.py", line 740, in
 halt_panels
     panel.join()
   File "/usr/lib/python3.6/threading.py", line 1051, in join
     raise RuntimeError("cannot join thread before it is started")
 RuntimeError: cannot join thread before it is started

 Traceback (most recent call last):
   File "/usr/bin/nyx", line 11, in <module>
     load_entry_point('nyx==2.0.4', 'console_scripts', 'nyx')()
   File "/usr/lib/python3.6/site-packages/nyx/__init__.py", line 176, in
 main
     nyx.starter.main()
   File "/usr/lib/python3.6/site-packages/stem/util/conf.py", line 289, in
 wrapped
     return func(*args, config = config, **kwargs)
   File "/usr/lib/python3.6/site-packages/nyx/starter.py", line 118, in
 main
     nyx.curses.start(nyx.draw_loop, acs_support =
 config.get('acs_support', True), transparent_background = True, cursor =
 False)
   File "/usr/lib/python3.6/site-packages/nyx/curses.py", line 217, in
 start
     curses.wrapper(_wrapper)
   File "/usr/lib/python3.6/curses/__init__.py", line 94, in wrapper
     return func(stdscr, *args, **kwds)
   File "/usr/lib/python3.6/site-packages/nyx/curses.py", line 215, in
 _wrapper
     function()
   File "/usr/lib/python3.6/site-packages/nyx/__init__.py", line 194, in
 draw_loop
     interface = nyx_interface()
   File "/usr/lib/python3.6/site-packages/nyx/__init__.py", line 256, in
 nyx_interface
     Interface()  # constructor sets NYX_INTERFACE
   File "/usr/lib/python3.6/site-packages/nyx/__init__.py", line 596, in
 __init__
     first_page_panels.append(nyx.panel.log.LogPanel())
   File "/usr/lib/python3.6/site-packages/nyx/panel/log.py", line 114, in
 __init__
     for entry in reversed(list(nyx.log.read_tor_log(log_location,
 CONFIG['prepopulate_read_limit']))):
   File "/usr/lib/python3.6/site-packages/nyx/log.py", line 497, in
 read_tor_log
     timestamp = int(time.mktime(timestamp_comp))
 TypeError: Tuple or struct_time argument required

 Seems to be 3.6 related as I cannot reproduce it on a box running 3.5.

 More than happy to provide more details - just let me know.

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


More information about the tor-bugs mailing list