Jittor / JNeRF

JNeRF is a NeRF benchmark based on Jittor. JNeRF re-implemented instant-ngp and achieved same performance with original paper.
Apache License 2.0
640 stars 74 forks source link

extract_mesh.py segfault #62

Open R-QinQ opened 1 year ago

R-QinQ commented 1 year ago

what reason results in it? python tools/extract_mesh.py --config-file ./projects/ngp/configs/ngp_base.py [i 1211 23:31:46.072899 28 compiler.py:955] Jittor(1.3.6.3) src: /home/rqq/.local/lib/python3.7/site-packages/jittor [i 1211 23:31:46.084297 28 compiler.py:956] g++ at /usr/bin/g++(5.4.0) [i 1211 23:31:46.084554 28 compiler.py:957] cache_path: /home/rqq/.cache/jittor/jt1.3.6/g++5.4.0/py3.7.15/Linux-4.15.0-1x3d/IntelRXeonRSilxe9/default [i 1211 23:31:50.941330 28 install_cuda.py:93] cuda_driver_version: [10, 2] [i 1211 23:31:50.942246 28 install_cuda.py:81] restart /data/rqq/envs/ngp/bin/python ['tools/extract_mesh.py', '--config-file', './projects/ngp/configs/ngp_base.py'] [i 1211 23:31:51.968684 76 compiler.py:955] Jittor(1.3.6.3) src: /home/rqq/.local/lib/python3.7/site-packages/jittor [i 1211 23:31:51.979015 76 compiler.py:956] g++ at /usr/bin/g++(5.4.0) [i 1211 23:31:51.979376 76 compiler.py:957] cache_path: /home/rqq/.cache/jittor/jt1.3.6/g++5.4.0/py3.7.15/Linux-4.15.0-1x3d/IntelRXeonRSilxe9/default [i 1211 23:31:57.551777 76 install_cuda.py:93] cuda_driver_version: [10, 2] [i 1211 23:31:57.562057 76 init.py:411] Found /home/rqq/.cache/jittor/jtcuda/cuda10.2_cudnn7_linux/bin/nvcc(10.2.89) at /home/rqq/.cache/jittor/jtcuda/cuda10.2_cudnn7_linux/bin/nvcc. [i 1211 23:31:57.638187 76 init.py:411] Found gdb(7.11.1) at /usr/bin/gdb. [i 1211 23:31:57.650179 76 init.py:411] Found addr2line(2.26.1) at /usr/bin/addr2line. [i 1211 23:32:05.867694 76 compiler.py:1010] cuda key:cu10.2.89_sm_70 Caught segfault at address 0, thread_name: '', flush log... [bt] Execution path: [bt] #1 /home/rqq/.cache/jittor/jt1.3.6/g++5.4.0/py3.7.15/Linux-4.15.0-1x3d/IntelRXeonRSilxe9/default/jit_utils_core.cpython-37m-x86_64-linux-gnu.so(_ZN6jittor18segfault_sigactionEiP9siginfo_tPv+0xa24) [0x7fd97342a294] [bt] #2 /lib/x86_64-linux-gnu/libc.so.6(+0x354c0) [0x7fd97f8404c0] [bt] #3 /lib/x86_64-linux-gnu/libc.so.6(cfree+0x22) [0x7fd97f88f562] [bt] #4 /data/rqq/envs/ngp/lib/python3.7/site-packages/open3d/open3d.cpython-37m-x8664-linux-gnu.so(inflateReset2+0x5f) [0x7fd97ee0cbdf] [bt] #5 /data/rqq/envs/ngp/bin/../lib/libz.so.1(inflateInit2+0x88) [0x7fd97f2d4a98] [bt] #6 /data/rqq/envs/ngp/lib/python3.7/lib-dynload/zlib.cpython-37m-x86_64-linux-gnu.so(+0x366f) [0x7fd976d9266f] [bt] #7 /data/rqq/envs/ngp/bin/python(_PyMethodDef_RawFastCallDict+0x169) [0x4bb779] [bt] #8 /data/rqq/envs/ngp/bin/python(PyCFunction_Call+0x3a) [0x4d3cca] [bt] #9 /data/rqq/envs/ngp/bin/python(_PyEval_EvalFrameDefault+0x54fe) [0x4b7b6e] [bt] #10 /data/rqq/envs/ngp/bin/python(_PyEval_EvalCodeWithName+0x201) [0x4b1411] [bt] #11 /data/rqq/envs/ngp/bin/python(_PyFunction_FastCallKeywords+0x29c) [0x4c50ec] [bt] #12 /data/rqq/envs/ngp/bin/python() [0x4ba23f] [bt] #13 /data/rqq/envs/ngp/bin/python(_PyEval_EvalFrameDefault+0x15d1) [0x4b3c41] [bt] #14 /data/rqq/envs/ngp/bin/python(_PyEval_EvalCodeWithName+0x201) [0x4b1411] [bt] #15 /data/rqq/envs/ngp/bin/python(_PyFunction_FastCallDict+0x2d7) [0x4cbc37] Segfault, exit