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

Caught segfault at address 0x0 #406

Open
MING410 opened this issue Oct 21, 2022 · 1 comment
Open

Caught segfault at address 0x0 #406

MING410 opened this issue Oct 21, 2022 · 1 comment

Comments

@MING410
Copy link

MING410 commented Oct 21, 2022

Describe the bug

Mac import nerf 或运行python tools/run_net.py --config-file ./projects/ngp/configs/ngp_base.py --task test 的时候会崩溃

Full Log

[i 1022 00:01:50.683523 00 compiler.py:955] Jittor(1.3.5.21) src: /Users/mei/opt/anaconda3/lib/python3.7/site-packages/jittor
[i 1022 00:01:50.734341 00 compiler.py:956] g++ at /usr/bin/g++(12.0.0)
[i 1022 00:01:50.734457 00 compiler.py:957] cache_path: /Users/mei/.cache/jittor/jt1.3.5/g++12.0.0/py3.7.6/Darwin-20.6.0-x92/IntelRCoreTMi5x84/default
[i 1022 00:01:51.089361 00 init.py:232] using 4 procs for compiling.
[i 1022 00:01:51.343270 00 jit_compiler.cc:28] Load cc_path: /usr/bin/g++
clang: error: unsupported option '--showme:version'
[i 1022 00:01:52.669768 00 compile_extern.py:517] mpicc not found, distribution disabled.
Caught segfault at address 0x0, thread_name: '', flush log...
[bt] Execution path:
[bt] #1 1 jit_utils_core.cpython-37m-darwin.s 0x00000001058371b8 _ZN6jittor18segfault_sigactionEiP9__siginfoPv + 2216
[bt] #2 2 libsystem_platform.dylib 0x00007fff20821d7d _sigtramp + 29
[bt] #3 3 python 0x0000000104ea0cd1 _PyObject_Malloc + 17
[bt] #4 4 libc++abi.1.0.dylib 0x00000001059eebd8 __cxa_throw + 104
[bt] #5 5 jittor_core.cpython-37m-darwin.so 0x0000000105a0a671 _ZN6jittor15LogFatalVoidifyaaERNS_3LogE + 129
[bt] #6 6 jittor_core.cpython-37m-darwin.so 0x0000000105c1598d _ZN6jittor15setter_use_cudaEi + 253
[bt] #7 7 jittor_core.cpython-37m-darwin.so 0x0000000105c15880 _ZN6jittor12set_use_cudaERKi + 16
[bt] #8 8 jittor_core.cpython-37m-darwin.so 0x0000000105b9eb06 _ZZN6jittor18pyjt_def_jit_flagsEP7_objectEN5$_1158__invokeES1_S1_Pv + 374
[bt] #9 9 python 0x0000000104e9ef4b _PyObject_GenericSetAttrWithDict + 219
[bt] #10 10 python 0x0000000104e9dd40 PyObject_SetAttr + 96
[bt] #11 11 python 0x0000000104f76dfb _PyEval_EvalFrameDefault + 30555
[bt] #12 12 python 0x0000000104f6e46e _PyEval_EvalCodeWithName + 414
[bt] #13 13 python 0x0000000104f68e9b builtin_exec + 347
[bt] #14 14 python 0x0000000104e3ec0f _PyMethodDef_RawFastCallDict + 255
[bt] #15 15 python 0x0000000104e4031d PyCFunction_Call + 61
Segfault, exit

Minimal Reproduce

Reproduce this error with a file or several lines of code.
If it is not possible, leave it blank.

Expected behavior

A clear and concise description of what you expected to happen.

If you are submitting an issue for the first time, please refer to our guideline

@Exusial
Copy link
Contributor

Exusial commented Nov 25, 2022

Thanks for your support of JNeRF. For now, JNeRF doesn't support Mac and Windows. We'll public a windows-supported version lately, thanks for your patience.

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

2 participants