ZATiTech / open_planner

Integrated open source planner and related tools for autonomous navigation of autonomous vehicle and mobile robots
Apache License 2.0
25 stars 6 forks source link

[ros2run]: Segmentation fault Autoware flash out #16

Open Denghaoyuan123 opened 2 months ago

Denghaoyuan123 commented 2 months ago

Thanks for giving such a wonderful contribution. When I run ./CarlaUE4.sh -quality-level=Low in one terminal the Carla will start normally but when I run op_scripts git:(ros2-humble) ✗ ./run_exploration_mode_ros2.sh in the other terminal, then

➜  op_scripts git:(ros2-humble) ✗ ./run_exploration_mode_ros2.sh  
[INFO] [1712811833.936892722] [rviz2]: Stereo is NOT SUPPORTED
[INFO] [1712811833.936954419] [rviz2]: OpenGl version: 4.6 (GLSL 4.6)
[INFO] [1712811834.107294330] [rviz2]: Stereo is NOT SUPPORTED
[INFO] [1712811834.516079337] [rviz2]: Stereo is NOT SUPPORTED
[INFO] [1712811834.520294510] [rviz2]: Stereo is NOT SUPPORTED
[ros2run]: Segmentation fault

then the autoware flash out, and then the CARLA swith to Town02 with a car, but after 1second it also flash out like

➜  CARLA_0.9.15 ./CarlaUE4.sh -quality-level=Low
4.26.2-0+++UE4+Release-4.26 522 0
Disabling core dumps.
Signal 11 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554 
CommonUnixCrashHandler: Signal=11
Malloc Size=131160 LargeMemoryPoolOffset=196744 
Malloc Size=131160 LargeMemoryPoolOffset=327928 
Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.
Segmentation fault (core dumped)

My laptop has 16G Memory and after launch CARLA Simulator, there is only remaining 8.9G or so, does it sufficient ? or There is other problems should I check.

Also My laptop has NVIDIA GTX3060 with 6G Graphic Memory (CARLA occupies 5G Graphic Memory)

Looking forward to your reply!

hatem-darweesh commented 2 months ago

Have you tried without -quality-level=Low ?

Denghaoyuan123 commented 2 months ago

Yes, first I run ./CarlaUE4.sh ,the CARLA can open normally, but then I run ./run_exploration_mode_ros2.sh ,The autoware Rviz come out and flash out, and then The Carla swith to Town02, then also died

![Uploading Screenshot from 2024-04-12 10-46-14.png…]()

Denghaoyuan123 commented 2 months ago

Maybe I should run ./run_exploration_mode_ros2.sh without GPU, can you give me some suggestions please.

TianYifan-Vincent commented 1 month ago

@Denghaoyuan123 I'm experiencing the same problem.

Denghaoyuan123 commented 3 weeks ago

@TianYifan-Vincent Just because of the insufficient RAM or VRAM of my computer, everything worked once I changed a new workstation.