jrender
jrender copied to clipboard
运行jrender demo时报错
Caught segfault at address 0, thread_name: '', flush log...
[i 0622 16:16:54.348247 64 tracer.cc:149] stack trace for pid= 475875
[New LWP 477059]
[New LWP 477063]
[New LWP 477064]
[New LWP 481746]
[New LWP 481749]
[New LWP 481752]
[New LWP 481775]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fae6362dcaf in _GI___wait4 (pid=487229, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27
27 ../sysdeps/unix/sysv/linux/wait4.c: No such file or directory.
[Current thread is 1 (Thread 0x7fae633e2740 (LWP 475875))]
#0 0x00007fae6362dcaf in GI___wait4 (pid=487229, stat_loc=0x0, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27
#1 0x00007fae6062b897 in jittor::print_trace() () from /space0/yuhc/.cache/jittor/jt1.3.4/g++9.4.0/py3.8.5/Linux-5.13.0-4xcd/IntelRXeonRCPUxd5/default/jit_utils_core.cpython-38-x86_64-linux-gnu.so
#2 0x00007fae60627625 in jittor::segfault_sigaction(int, siginfo_t*, void*) () from /space0/yuhc/.cache/jittor/jt1.3.4/g++9.4.0/py3.8.5/Linux-5.13.0-4xcd/IntelRXeonRCPUxd5/default/jit_utils_core.cpython-38-x86_64-linux-gnu.so
#3
把import numpy as np放到import jittor as jt前,成功解决 import jittor as jt也必须放到import jrender as jr之前才能正常讲Var换回cpu