Skip to content

Error: subprocess.CalledProcessError: Command '['build/query_devices']' died with <Signals.SIGSEGV: 11>. #5

Description

@fubowen1229

Error

When running python ycb_renderer.py, the following error occurs. Though I can built CppYCBRenderer successfully, there seems to be some mistakes in it.

Traceback (most recent call last):
  File "ycb_renderer.py", line 702, in <module>
    renderer = YCBRenderer(w, h, render_marker=False)
  File "ycb_renderer.py", line 80, in __init__
    self.r = CppYCBRenderer.CppYCBRenderer(width, height, get_available_devices()[gpu_id])
  File "/data2/fbw/PoseRBPF/ycb_render/get_available_devices.py", line 7, in get_available_devices
    num_devices = int(subprocess.check_output(["{}/query_devices".format(executable_path)]))
  File "/home/fbw/anaconda3/envs/pose_rbpf_env/lib/python3.6/subprocess.py", line 356, in check_output
    **kwargs).stdout
  File "/home/fbw/anaconda3/envs/pose_rbpf_env/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/data2/fbw/PoseRBPF/ycb_render/build/query_devices']' died with <Signals.SIGSEGV: 11>.

When running get_available_devices.py, a similar error occurs.

Traceback (most recent call last):
  File "get_available_devices.py", line 26, in <module>
    print(get_available_devices())
  File "get_available_devices.py", line 7, in get_available_devices
    num_devices = int(subprocess.check_output(["{}/query_devices".format(executable_path)]))
  File "/home/fbw/anaconda3/envs/pose_rbpf_env/lib/python3.6/subprocess.py", line 356, in check_output
    **kwargs).stdout
  File "/home/fbw/anaconda3/envs/pose_rbpf_env/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['build/query_devices']' died with <Signals.SIGSEGV: 11>.

It seems that there is something wrong during cmake.

Environment

Ubuntu 16.04
cuda 10.0
python 3.6
(using pose_rbpf_env)
cmake 3.5.1
gcc 7.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions