Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run ALFRED on a headless server #1259

Closed
Wangff1234 opened this issue Jan 24, 2025 · 0 comments
Closed

Run ALFRED on a headless server #1259

Wangff1234 opened this issue Jan 24, 2025 · 0 comments

Comments

@Wangff1234
Copy link

Hello, based on the method in issue #325 by mengdi-li, I am trying to run ALFRED on a headless server. I have successfully started the X server. However, when I run check_thor.py, I encountered the following error:

Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/home/wff/.local/lib/python3.8/site-packages/ai2thor/controller.py", line 697, in _start_unity_thread
    raise Exception("command: %s exited with %s" % (command, returncode))
Exception: command: ['/home/wff/.ai2thor/releases/thor-201909061227-Linux64/thor-201909061227-Linux64', '-screen-fullscreen', '0', '-screen-quality', '7', '-screen-width', '300', '-screen-height', '300'] exited with -11

There is no additional error information, and no ~/.config/unity3d/Allen Institute for Artificial Intelligence/AI2-Thor/Player.log file is generated. I have not found any similar errors in the Internet with a return code of -11.
When I run ./thor-201909061227-Linux64 -screen-fullscreen 0 -screen-quality 7 -screen-width 300 -screen-height 300 directly, it shows a segmentation fault. When I execute readelf -h thor-201909061227-Linux64, the output is as follows:

ELF Header:
  Magic:   7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 
  Class:                              ELF64
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           Advanced Micro Devices X86-64
  Version:                           0x1
  Entry point address:               0x45a508
  Program headers start at:          64 (bytes into file)
  Section headers start at:          27088144 (bytes into file)
  Flags:                             0x0
  Size of this header:               64 (bytes)
  Size of program headers:           56 (bytes)
  Number of program headers:         9
  Size of section headers:           64 (bytes)
  Number of section headers:         30
  Section header string table index: 29
readelf: warning: Section 0 has an out of range sh_link value of 1633955328
readelf: warning: Section 0 has an out of range sh_info value of 771776884
readelf: warning: Section 5 has an out of range sh_link value of 1280
readelf: warning: Section 6 has an out of range sh_link value of 1536
readelf: warning: Section 8 has an out of range sh_link value of 1280
readelf: warning: Section 9 has an out of range sh_link value of 1536
readelf: warning: Section 9 has an out of range sh_info value of 1792
readelf: warning: Section 10 has an out of range sh_link value of 1280
readelf: warning: Section 11 has an out of range sh_link value of 1280
readelf: warning: Section 24 has an out of range sh_link value of 1536
readelf: error: Reading 70912 bytes extends past end of file for string table
readelf: error: no .dynamic section in the dynamic segment

Is the thor-201909061227-Linux64 file corrupted? I was unable to download it via the script, so I used the download link http://s3-us-west-2.amazonaws.com/ai2-thor/builds/thor-201909061227-Linux64.zip provided by maguro27 in issue #809 .
Do you know how to solve the problem mentioned above? Or can you provide the download link for thor-201909061227-Linux64? Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant