Strange behavior source build_ros2_workspace.bash

Now I install ROS2 according to this instruction ROS 2 User Guide (PX4-ROS 2 Bridge) | PX4 User Guide
I settled on the command ‘source build_ros2_workspace.bash’.

If I execute it in gnome-terminal everything works fine. But if I execute this command in Tilix, then this error pops up, after which Tilix is closed.

How can I fix this error?
Снимок экрана от 2021-06-14 04-45-11