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 #3

Open
ImamWahyuda opened this issue Mar 24, 2023 · 1 comment
Open

Segmentation fault #3

ImamWahyuda opened this issue Mar 24, 2023 · 1 comment

Comments

@ImamWahyuda
Copy link

Why i got segmentation fault when running the module YOLO v5?
[ INFO] [1679647574.517467708]: /yolov5_node with GPU_SUPPORT, selected gpu_device: 0
[0 NVIDIA Tegra Orin (nvgpu)] queueC=2[8] queueG=0[16] queueT=1[2]
[0 NVIDIA Tegra Orin (nvgpu)] bugsbn1=0 bugbilz=0 bugcopc=0 bugihfa=0
[0 NVIDIA Tegra Orin (nvgpu)] fp16-p/s/a=1/1/1 int8-p/s/a=1/1/1
[0 NVIDIA Tegra Orin (nvgpu)] subgroup=32 basic=1 vote=1 ballot=1 shuffle=1
[ INFO] [1679647574.822130129]: Assets path: /home/roisc-orin2/ROS/src/ros_ncnn/assets/ncnn_models/models/
[ INFO] [1679647575.634281506]: Loaded: yolov5.bin
TES1
[ INFO] [1679647575.927460570]: chair = 0.81863 at 4.37 389.99 83.26 x 98.02
[ INFO] [1679647575.927689724]: chair = 0.78277 at 462.71 332.95 120.59 x 168.11
[ INFO] [1679647575.927725308]: person = 0.71518 at 82.42 221.34 189.17 x 287.32
Segmentation fault (core dumped)

Any helps will be appreciated

@ImamWahyuda
Copy link
Author

When i use roslaunch, this is my log
... logging to /home/roisc-orin2/.ros/log/0300dc4a-ca03-11ed-8651-48e7da414bcf/roslaunch-ubuntu-55808.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://ubuntu:38467/

SUMMARY

PARAMETERS

  • /rosdistro: noetic
  • /rosversion: 1.16.0
  • /yolov5_node/display_output: True
  • /yolov5_node/model_file: yolov5.bin
  • /yolov5_node/param_file: yolov5.param
  • /yolov5_node/probability_threshold: 0.5

NODES
/
yolov5_node (ros_ncnn/yolov5_node)

ROS_MASTER_URI=http://localhost:11311

WARNING: Package name "ars_40X" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits, underscores, and dashes.
process[yolov5_node-1]: started with pid [55833]
[ INFO] [1679647730.627943870]: /yolov5_node with GPU_SUPPORT, selected gpu_device: 0
[0 NVIDIA Tegra Orin (nvgpu)] queueC=2[8] queueG=0[16] queueT=1[2]
[0 NVIDIA Tegra Orin (nvgpu)] bugsbn1=0 bugbilz=0 bugcopc=0 bugihfa=0
[0 NVIDIA Tegra Orin (nvgpu)] fp16-p/s/a=1/1/1 int8-p/s/a=1/1/1
[0 NVIDIA Tegra Orin (nvgpu)] subgroup=32 basic=1 vote=1 ballot=1 shuffle=1
[ INFO] [1679647731.025916761]: Assets path: /home/roisc-orin2/ROS/src/ros_ncnn/assets/ncnn_models/models/
[ INFO] [1679647732.194229056]: Loaded: yolov5.bin
TES1
[ INFO] [1679647732.431331594]: chair = 0.81589 at 4.48 389.73 83.04 x 98.54
[ INFO] [1679647732.431428298]: person = 0.71910 at 107.50 221.70 205.00 x 286.60
[ INFO] [1679647732.438867313]: chair = 0.69878 at 460.04 337.19 127.92 x 167.62
[ INFO] [1679647732.439025715]: person = 0.58077 at 15.33 255.35 23.35 x 49.30
[ INFO] [1679647732.439053651]: tv = 0.54695 at 172.43 199.17 63.15 x 31.65
[yolov5_node-1] process has died [pid 55833, exit code -11, cmd /home/roisc-orin2/ROS/devel/lib/ros_ncnn/yolov5_node /camera/image_raw:=/camera/image_raw __name:=yolov5_node __log:=/home/roisc-orin2/.ros/log/0300dc4a-ca03-11ed-8651-48e7da414bcf/yolov5_node-1.log].
log file: /home/roisc-orin2/.ros/log/0300dc4a-ca03-11ed-8651-48e7da414bcf/yolov5_node-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done

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