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

It shows [ros2run]: Segmentation fault when running in ROS2 in local environment #127

Open
shavargo109 opened this issue Dec 11, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@shavargo109
Copy link

Describe the bug
Following the 'Installation' and 'Getting started' guide, everything installed OK. When running "ros2 run glim_ros glim_rosnode", it shows[ros2run]: Segmentation fault, and cannot proceed afterward

To Reproduce
Steps to reproduce the behavior:

  1. ros2 run glim_ros glim_rosnode in the workspace

Expected behavior
works normally followed the guide

Screenshots
There is some problem on uploading screenshot, I will post the log in terminal instead

ros2 run glim_ros glim_rosnode
[2024-12-11 17:51:58.173] [glim] [info] config_path: /home/asd/glim_ws/install/glim/share/glim/config
[2024-12-11 17:51:58.173] [glim] [info] load libodometry_estimation_gpu.so
[2024-12-11 17:51:58.353] [glim] [info] load libsub_mapping.so
[2024-12-11 17:51:58.354] [glim] [info] load libglobal_mapping.so
[2024-12-11 17:51:58.354] [glim] [info] load libmemory_monitor.so
[2024-12-11 17:51:58.355] [glim] [info] load libstandard_viewer.so
[2024-12-11 17:51:58.358] [glim] [info] load librviz_viewer.so
[ros2run]: Segmentation fault

Environment (please complete the following information):

  • CPU/GPU: Core i9-13900HX/RTX4070
  • OS: Ubuntu 22.04
  • ROS: ROS2 humble
  • CUDA: CUDA 12.3
  • Build with CUDA: OFF

Additional context
Thanks

@shavargo109 shavargo109 added the bug Something isn't working label Dec 11, 2024
@wsung1
Copy link

wsung1 commented Dec 11, 2024

I’m experiencing the same issue.
After completing a normal installation and using it without problems for a while, this issue suddenly occurred one day, and I still don’t know how to resolve it.

@wsung1
Copy link

wsung1 commented Dec 11, 2024

A bit different error I ran into was
terminate called after throwing an instance of 'thrust::system::system_error'
what(): This program was not compiled for SM 75
: cudaErrorInvalidDevice: invalid device ordinal

My environment is
CPU/GPU: Core i7-9700T/GTX 1650
OS: Ubuntu 22.04
ROS: Humble
CUDA: CUDA 12.3
Build with CUDA: ON

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants