[tor-bugs] #27556 [Core Tor/Nyx]: nyx crashes on launch with error "can't rename process to somethign longer than our initial name"

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Sep 7 22:21:48 UTC 2018


#27556: nyx crashes on launch with error "can't rename process to somethign longer
than our initial name"
-------------------------------------------------+-------------------------
     Reporter:                                   |      Owner:  atagar
  0b6e5cf835f5887b1129c710613ae45d               |
         Type:  defect                           |     Status:  new
     Priority:  Immediate                        |  Milestone:
    Component:  Core Tor/Nyx                     |    Version:  Tor:
                                                 |  0.3.3.7
     Severity:  Critical                         |   Keywords:
Actual Points:                                   |  Parent ID:
       Points:                                   |   Reviewer:
      Sponsor:                                   |
-------------------------------------------------+-------------------------
 Please let me know if this belongs in the stem bugs or if any further
 information is required.

 I installed nyx through pip on a armhf version of alpine linux (alpine
 doesn't seem to have nyx in its repos), but nyx immediately crashes on
 launch with the following error.

 {{{
 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 106, in
 main
     _set_process_name()
   File "/usr/lib/python3.6/site-packages/nyx/starter.py", line 222, in
 _set_process_name
     stem.util.system.set_process_name('nyx\0%s' % '\0'.join(sys.argv[1:]))
   File "/usr/lib/python3.6/site-packages/stem/util/system.py", line 1413,
 in set_process_name
     _set_argv(process_name)
   File "/usr/lib/python3.6/site-packages/stem/util/system.py", line 1440,
 in _set_argv
     raise IOError("Can't rename process to something longer than our
 initial name (this would overwrite memory used for the env)")
 OSError: Can't rename process to something longer than our initial name
 (this would overwrite memory used for the env)

 }}}

 Tor version: 0.3.3.7 (from alpine repo)
 Python version: 3.6.6 (from alpine repo)
 Nyx version: 2.0.4 (from pip)
 Stem version: 1.6.0 (from pip)

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


More information about the tor-bugs mailing list