# Segmentation Fault (Core Dumped) after source the setup.bash in ADE -Autoware Auto Course Online Lecture 12

Hi guys every example I tried to reproduce in Autoware Auto Lectures I got this error after launch a ros2 node or rviz2 or any other feature (as ros2-web-bridge): Segmentation Fault (Core Dumped)

This always happen when I had previously sourced the "~adehome/AutowareAuto/install/setup.bash. Then I have used tricks to avoid to source this setup.bash to make rviz2 to work until know as:

source /opt/AutowareAuto/setup.bash


instead source/install.setup.bash.Or do not simple run rviz2 with the command:

rviz2


but give the whole path for it such as:

rviz2 -d /home/autoware-ros2/adehome/AutowareAuto/install/autoware_auto_examples/share/autoware_auto_examples/rviz2/autoware.rviz __node=rviz2


Well I would like to properly source the install/setup.bash without having later this "Segmentation Fault (Core Dumped)" error because I am going deep in Autoware Auto demo tutorials and this command seems really important.

In fact actually I do not know what this command is responsible for (I mean I know it enable the ros launch files and scripts built with colcon build to be launched, but is there any difference from source the AutowareAuto/setup.bash)?

Why does this error happens on my machine? I think this error is the main error of my system and is located in some bash file as this post recommend: