Opened 2 months ago

Closed 4 weeks ago

#27556 closed defect (fixed)

nyx crashes on launch with error "can't rename process to somethign longer than our initial name"

Reported by: 0b6e5cf835f5887b1129c710613ae45d Owned by: atagar
Priority: Immediate Milestone:
Component: Core Tor/Nyx Version: Tor: 0.3.3.7
Severity: Critical Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

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)

Child Tickets

Change History (1)

comment:1 Changed 4 weeks ago by atagar

Resolution: fixed
Status: newclosed

Sorry for the delay! Been busy with the Stem 1.7 release. Thank you for the catch, fix pushed...

https://gitweb.torproject.org/nyx.git/commit/?id=d3dd23c

Note: See TracTickets for help on using tickets.