带有“进程以退出代码 139 结束(被信号 11:SIGSEGV 中断)”的中断?

时间:2021-07-06 04:23:26

标签: python-3.x error-handling

当我尝试重现该实验时,发生了错误。该错误源于hyperas.(keras的优化工具)的优化包。然后我检查了 optim 的包,发现错误源于导入了一个名为“nbconvert”的包,这里是错误的详细信息:

source code:

import faulthandler
faulthandler.enable()
import nbconvert

stacktrace:

    /home/t7810/anaconda2/envs/xzh_env/bin/python /home/t7810/xzh_proj/RENOIR-master/test.py
    Fatal Python error: Segmentation fault
    
    Current thread 0x00007ffb9e67c740 (most recent call first):
    File "/home/t7810/anaconda2/envs/xzh_env/lib/python3.6/ssl.py", line 391 in __new__
    File "/home/t7810/anaconda2/envs/xzh_env/lib/python3.6/ssl.py", line 502 in create_default_context
    File "/home/t7810/anaconda2/envs/xzh_env/lib/python3.6/site-packages/tornado/netutil.py", line 34 in <module>
    File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
    File "<frozen importlib._bootstrap_external>", line 678 in exec_module
    File "<frozen importlib._bootstrap>", line 665 in _load_unlocked
    File "<frozen importlib._bootstrap>", line 955 in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 971 in _find_and_load
    File "/home/t7810/anaconda2/envs/xzh_env/lib/python3.6/site-packages/tornado/iostream.py", line 40 in <module>
    File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
    File "<frozen importlib._bootstrap_external>", line 678 in exec_module
    File "<frozen importlib._bootstrap>", line 665 in _load_unlocked
    File "<frozen importlib._bootstrap>", line 955 in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 971 in _find_and_load
    File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
    File "<frozen importlib._bootstrap>", line 1023 in _handle_fromlist
    File "/home/t7810/anaconda2/envs/xzh_env/lib/python3.6/site-packages/tornado/http1connection.py", line 34 in <module>
    File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
    File "<frozen importlib._bootstrap_external>", line 678 in exec_module
    File "<frozen importlib._bootstrap>", line 665 in _load_unlocked
    File "<frozen importlib._bootstrap>", line 955 in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 971 in _find_and_load
    File "/home/t7810/anaconda2/envs/xzh_env/lib/python3.6/site-packages/tornado/httpserver.py", line 32 in <module>
    File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
    File "<frozen importlib._bootstrap_external>", line 678 in exec_module
    File "<frozen importlib._bootstrap>", line 665 in _load_unlocked
    File "<frozen importlib._bootstrap>", line 955 in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 971 in _find_and_load
    File "/home/t7810/anaconda2/envs/xzh_env/lib/python3.6/site-packages/tornado/web.py", line 87 in <module>
    File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
    File "<frozen importlib._bootstrap_external>", line 678 in exec_module
    File "<frozen importlib._bootstrap>", line 665 in _load_unlocked
    File "<frozen importlib._bootstrap>", line 955 in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 971 in _find_and_load
    File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
    File "<frozen importlib._bootstrap>", line 1023 in _handle_fromlist
    File "/home/t7810/anaconda2/envs/xzh_env/lib/python3.6/site-packages/nbconvert/postprocessors/serve.py", line 12 in <module>
    File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
    File "<frozen importlib._bootstrap_external>", line 678 in exec_module
    File "<frozen importlib._bootstrap>", line 665 in _load_unlocked
    File "<frozen importlib._bootstrap>", line 955 in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 971 in _find_and_load
    File "/home/t7810/anaconda2/envs/xzh_env/lib/python3.6/site-packages/nbconvert/postprocessors/__init__.py", line 5 in <module>
    File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
    File "<frozen importlib._bootstrap_external>", line 678 in exec_module
    File "<frozen importlib._bootstrap>", line 665 in _load_unlocked
    File "<frozen importlib._bootstrap>", line 955 in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 971 in _find_and_load
    File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
    File "<frozen importlib._bootstrap>", line 1023 in _handle_fromlist
    File "/home/t7810/anaconda2/envs/xzh_env/lib/python3.6/site-packages/nbconvert/__init__.py", line 7 in <module>
    File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
    File "<frozen importlib._bootstrap_external>", line 678 in exec_module
    File "<frozen importlib._bootstrap>", line 665 in _load_unlocked
    File "<frozen importlib._bootstrap>", line 955 in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 971 in _find_and_load
    File "/home/t7810/xzh_proj/RENOIR-master/test.py", line 3 in <module>
    
    Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)

0 个答案:

没有答案