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

Segmentation fault (core dumped) #55

Open
daituantuan opened this issue Nov 16, 2024 · 0 comments
Open

Segmentation fault (core dumped) #55

daituantuan opened this issue Nov 16, 2024 · 0 comments

Comments

@daituantuan
Copy link

daituantuan commented Nov 16, 2024

Hello, does anyone encounter the problem? The program starts successfully but it ends with this error later.

The problem occurs in the yolov7 thread.
The detailed information is as follows:

Fatal Python error: Segmentation fault

Current thread 0x00007fbdb9ef26c0 (most recent call first):
  File "/home/robolab/miniconda3/envs/vlfm/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1541 in _call_impl
  File "/home/robolab/miniconda3/envs/vlfm/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1532 in _wrapped_call_impl
  File "/home/robolab/projects/vlfm/yolov7/utils/torch_utils.py", line 372 in forward
  File "/home/robolab/miniconda3/envs/vlfm/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1541 in _call_impl
  File "/home/robolab/miniconda3/envs/vlfm/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1532 in _wrapped_call_impl
  File "/home/robolab/projects/vlfm/vlfm/vlm/yolov7.py", line 91 in predict
  File "/home/robolab/projects/vlfm/vlfm/vlm/yolov7.py", line 139 in process_payload
  File "/home/robolab/projects/vlfm/vlfm/vlm/server_wrapper.py", line 33 in process_request
  File "/home/robolab/miniconda3/envs/vlfm/lib/python3.9/site-packages/flask/app.py", line 1469 in dispatch_request
  File "/home/robolab/miniconda3/envs/vlfm/lib/python3.9/site-packages/flask/app.py", line 1484 in full_dispatch_request
  File "/home/robolab/miniconda3/envs/vlfm/lib/python3.9/site-packages/flask/app.py", line 2190 in wsgi_app
  File "/home/robolab/miniconda3/envs/vlfm/lib/python3.9/site-packages/flask/app.py", line 2213 in __call__
  File "/home/robolab/miniconda3/envs/vlfm/lib/python3.9/site-packages/werkzeug/serving.py", line 331 in execute
  File "/home/robolab/miniconda3/envs/vlfm/lib/python3.9/site-packages/werkzeug/serving.py", line 370 in run_wsgi
  File "/home/robolab/miniconda3/envs/vlfm/lib/python3.9/http/server.py", line 421 in handle_one_request
  File "/home/robolab/miniconda3/envs/vlfm/lib/python3.9/http/server.py", line 433 in handle
  File "/home/robolab/miniconda3/envs/vlfm/lib/python3.9/site-packages/werkzeug/serving.py", line 398 in handle
  File "/home/robolab/miniconda3/envs/vlfm/lib/python3.9/socketserver.py", line 747 in __init__
  File "/home/robolab/miniconda3/envs/vlfm/lib/python3.9/socketserver.py", line 360 in finish_request
  File "/home/robolab/miniconda3/envs/vlfm/lib/python3.9/socketserver.py", line 683 in process_request_thread
  File "/home/robolab/miniconda3/envs/vlfm/lib/python3.9/threading.py", line 917 in run
  File "/home/robolab/miniconda3/envs/vlfm/lib/python3.9/threading.py", line 980 in _bootstrap_inner
  File "/home/robolab/miniconda3/envs/vlfm/lib/python3.9/threading.py", line 937 in _bootstrap

Thread 0x00007fc0475bf740 (most recent call first):
  File "/home/robolab/miniconda3/envs/vlfm/lib/python3.9/selectors.py", line 416 in select
  File "/home/robolab/miniconda3/envs/vlfm/lib/python3.9/socketserver.py", line 232 in serve_forever
  File "/home/robolab/miniconda3/envs/vlfm/lib/python3.9/site-packages/werkzeug/serving.py", line 819 in serve_forever
  File "/home/robolab/miniconda3/envs/vlfm/lib/python3.9/site-packages/werkzeug/serving.py", line 1125 in run_simple
  File "/home/robolab/miniconda3/envs/vlfm/lib/python3.9/site-packages/flask/app.py", line 889 in run
  File "/home/robolab/projects/vlfm/vlfm/vlm/server_wrapper.py", line 35 in host_model
  File "/home/robolab/projects/vlfm/vlfm/vlm/yolov7.py", line 144 in <module>
  File "/home/robolab/miniconda3/envs/vlfm/lib/python3.9/runpy.py", line 87 in _run_code
  File "/home/robolab/miniconda3/envs/vlfm/lib/python3.9/runpy.py", line 197 in _run_module_as_main
Segmentation fault (core dumped)
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

1 participant