Skip to content

Segmentation Fualt Error #8

@MT-Shark

Description

@MT-Shark

Thank you for your great work! I compiled the code successfully but met some problem when running the code. It has segmentation fault in run_testbed.py , line: testbed.testbed.background_color = [0.0, 0.0, 0.0, 1.0]
I tried many ways but cannot fix it.

#0 0x0000000000000000 in ?? ()
#1 0x00007fffe44d8901 in pybind11::cpp_function::initialize<pybind11::class_ngp::Testbed::def_readwrite<ngp::Testbed, Eigen::Array<float, 4, 1, 0, 4, 1>>(char const*, Eigen::Array<float, 4, 1, 0, 4, 1> ngp::Testbed::)::{lambda(ngp::Testbed&, Eigen::Array<float, 4, 1, 0, 4, 1> const&)#2}, void, ngp::Testbed&, Eigen::Array<float, 4, 1, 0, 4, 1> const&, pybind11::is_method>(pybind11::class_ngp::Testbed::def_readwrite<ngp::Testbed, Eigen::Array<float, 4, 1, 0, 4, 1>>(char const, Eigen::Array<float, 4, 1, 0, 4, 1> ngp::Testbed::)::{lambda(ngp::Testbed&, Eigen::Array<float, 4, 1, 0, 4, 1> const&)#2}&&, void ()(ngp::Testbed&, Eigen::Array<float, 4, 1, 0, 4, 1> const&), pybind11::is_method const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call) ()
from /media/SSD/siyuan/ParticleNeRF/build/pyngp.cpython-39-x86_64-linux-gnu.so
#2 0x00007fffe44b9e03 in pybind11::cpp_function::dispatcher(_object*, _object*, _object*) ()
from /media/SSD/siyuan/ParticleNeRF/build/pyngp.cpython-39-x86_64-linux-gnu.so
#3 0x0000000000507767 in cfunction_call (func=0x7fffe22d1770, args=, kwargs=)
at /usr/local/src/conda/python-3.9.21/Objects/methodobject.c:543
#4 0x0000000000505c58 in _PyObject_Call (kwargs=, args=0x7fff3d894200, callable=0x7fffe22d1770,
tstate=0x772da0,
tstate@entry=)
at /usr/local/src/conda/python-3.9.21/Objects/call.c:281
#5 PyObject_Call (callable=0x7fffe22d1770, args=0x7fff3d894200, kwargs=)

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions