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

测试时出现错误 #44

Closed
optimusleobear opened this issue Jun 11, 2022 · 3 comments
Closed

测试时出现错误 #44

optimusleobear opened this issue Jun 11, 2022 · 3 comments

Comments

@optimusleobear
Copy link

optimusleobear commented Jun 11, 2022

你好,当我运行python run_net.py --config-file=configs/retinanet_config.py --task=test测试时出现以下错误:

Caught segfault at address 0x2b95dd8ffe00, thread_name: '', flush log...
[i 0611 14:45:27.094591 36 tracer.cc:149] stack trace for pid= 78086
[New LWP 78219]
[New LWP 78218]
[New LWP 78217]
[New LWP 78216]
[New LWP 78215]
[New LWP 78214]
[New LWP 78213]
[New LWP 78212]
[New LWP 78211]
[New LWP 78210]
[New LWP 78209]
[New LWP 78208]
[New LWP 78207]
[New LWP 78206]
[New LWP 78205]
[New LWP 78204]
[New LWP 78203]
[New LWP 78202]
[New LWP 78201]
[New LWP 78173]
[New LWP 78172]
[New LWP 78171]
[New LWP 78170]
[New LWP 78169]
[New LWP 78168]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Dwarf Error: wrong version in compilation unit header (is 5, should be 2, 3, or 4) [in module /home/xxx/anaconda3/envs/jdet/bin/../lib/libstdc++.so.6]
Dwarf Error: wrong version in compilation unit header (is 5, should be 2, 3, or 4) [in module /home/xxx/anaconda3/envs/jdet/bin/../lib/libgcc_s.so.1]
Dwarf Error: wrong version in compilation unit header (is 5, should be 2, 3, or 4) [in module /home/xxx/anaconda3/envs/jdet/lib/libgomp.so.1]
Missing separate debuginfo for /home/xxx/anaconda3/envs/jdet/lib/python3.9/site-packages/numpy/core/../../numpy.libs/libgfortran-040039e1.so.5.0.0
Try: yum --enablerepo='*debug*' install /usr/lib/debug/.build-id/5b/be74eb6855e0a2c043c0bec2f484bf3e9f14c0.debug
Missing separate debuginfo for /home/xxx/anaconda3/envs/jdet/lib/python3.9/site-packages/numpy/core/../../numpy.libs/libquadmath-96973f99.so.0.0.0
Try: yum --enablerepo='*debug*' install /usr/lib/debug/.build-id/54/9b4c82347785459571c79239872ad31509dcf4.debug
Missing separate debuginfo for /home/xxx/anaconda3/envs/jdet/lib/python3.9/site-packages/PIL/../Pillow.libs/libXau-00ec42fe.so.6.0.0
Try: yum --enablerepo='*debug*' install /usr/lib/debug/.build-id/31/af390be616b7cb3e805b5fb014bd097ee08dfd.debug
Missing separate debuginfo for /home/xxx/anaconda3/envs/jdet/lib/python3.9/site-packages/cv2/../opencv_python.libs/libopenblas-r0-f650aae0.3.3.so
Try: yum --enablerepo='*debug*' install /usr/lib/debug/.build-id/7c/23b5dcd1a14cd7d5dbfa81e8a02ac76b4e4450.debug
Missing separate debuginfo for /home/xxx/anaconda3/envs/jdet/lib/python3.9/site-packages/cv2/../opencv_python.libs/libbz2-a273e504.so.1.0.6
Try: yum --enablerepo='*debug*' install /usr/lib/debug/.build-id/0c/85c0386f0cf41ea39969cf7f58a558d1ad3235.debug
Missing separate debuginfo for /home/xxx/anaconda3/envs/jdet/lib/python3.9/site-packages/cv2/../opencv_python.libs/libgfortran-91cc3cb1.so.3.0.0
Try: yum --enablerepo='*debug*' install /usr/lib/debug/.build-id/53/827b36771c70cc3514402ac6e419f0533ad60c.debug
0x00002b948bc3d1c9 in waitpid () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x2b948b074880 (LWP 78086))]
#0  0x00002b948bc3d1c9 in waitpid () from /lib64/libc.so.6
#1  0x00002b9493098f28 in jittor::print_trace() () from /home/xxx/.cache/jittor/jt1.3.4/g++9.3.0/py3.9.12/Linux-3.10.0-8x74/IntelRXeonRGolx16/default/jit_utils_core.cpython-39-x86_64-linux-gnu.so
#2  0x00002b9493094f65 in jittor::segfault_sigaction(int, siginfo_t*, void*) () from /home/xxx/.cache/jittor/jt1.3.4/g++9.3.0/py3.9.12/Linux-3.10.0-8x74/IntelRXeonRGolx16/default/jit_utils_core.cpython-39-x86_64-linux-gnu.so
#3  <signal handler called>
#4  0x00002b9770aa4ad8 in jittor::CodeOp::jit_run() () from /home/xxx/.cache/jittor/jt1.3.4/g++9.3.0/py3.9.12/Linux-3.10.0-8x74/IntelRXeonRGolx16/default/cu11.2.152_sm_70/jit/code__IN_SIZE_2__in0_dim_1__in0_type_int32__in1_dim_2__in1_type_float32__OUT_SIZE_1__out0____hash_37c6b9432a4203e_op.so
#5  0x00002b949c57a8ac in jittor::Profiler::record_and_run(void (*)(jittor::Op*), jittor::Op*, char const*) () from /home/xxx/.cache/jittor/jt1.3.4/g++9.3.0/py3.9.12/Linux-3.10.0-8x74/IntelRXeonRGolx16/default/cu11.2.152_sm_70/jittor_core.cpython-39-x86_64-linux-gnu.so
#6  0x00002b949c420ddb in jittor::Op::jit_run(jittor::JitKey&) () from /home/xxx/.cache/jittor/jt1.3.4/g++9.3.0/py3.9.12/Linux-3.10.0-8x74/IntelRXeonRGolx16/default/cu11.2.152_sm_70/jittor_core.cpython-39-x86_64-linux-gnu.so
#7  0x00002b949c5826c1 in jittor::Executor::run_sync(std::vector<jittor::Var*, std::allocator<jittor::Var*> >, bool, bool) () from /home/xxx/.cache/jittor/jt1.3.4/g++9.3.0/py3.9.12/Linux-3.10.0-8x74/IntelRXeonRGolx16/default/cu11.2.152_sm_70/jittor_core.cpython-39-x86_64-linux-gnu.so
#8  0x00002b949c41e710 in jittor::Op::init() () from /home/xxx/.cache/jittor/jt1.3.4/g++9.3.0/py3.9.12/Linux-3.10.0-8x74/IntelRXeonRGolx16/default/cu11.2.152_sm_70/jittor_core.cpython-39-x86_64-linux-gnu.so
#9  0x00002b949c35e0f0 in jittor::jit_op_maker::make_where(jittor::Var*, jittor::NanoString) () from /home/xxx/.cache/jittor/jt1.3.4/g++9.3.0/py3.9.12/Linux-3.10.0-8x74/IntelRXeonRGolx16/default/cu11.2.152_sm_70/jittor_core.cpython-39-x86_64-linux-gnu.so
Undefined command: "py-bt".  Try "help".
Segfault, exit
Aborted

请问这个错误应该如何解决?
谢谢。

@optimusleobear
Copy link
Author

再往上检查错误时,我注意到以下的错误导致MKL安装失败:

./test: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./test)
./test: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by ./test)
./test: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./test)

我无法通过sudo安装gcc或是g++,我当前使用的是Conda环境。请问这样的情况下应该如何解决这个错误?

@li-xl
Copy link
Collaborator

li-xl commented Jun 14, 2022 via email

@optimusleobear optimusleobear closed this as not planned Won't fix, can't repro, duplicate, stale Jul 25, 2022
@xingyuezhiji
Copy link

遇到同样的问题了,解决了吗

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

3 participants