You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It gives an error for astra_camera and build fails:
Processing: astra_camera
26% Building CXX object CMakeFiles/astra_camera.dir/src/ros_param_backend.cpp.o
31% Building CXX object CMakeFiles/astra_camera.dir/src/ros_service.cpp.o
In file included from /opt/ros/humble/include/rcl_interfaces/rcl_interfaces/msg/detail/parameter__traits.hpp:19,
from /opt/ros/humble/include/rcl_interfaces/rcl_interfaces/msg/detail/parameter_event__traits.hpp:23,
from /opt/ros/humble/include/rcl_interfaces/rcl_interfaces/msg/parameter_event.hpp:9,
from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/kunal/Projects/astra2/src/ros2_astra_camera/astra_camera/src/ros_service.cpp:14:
/opt/ros/humble/include/rcl_interfaces/rcl_interfaces/msg/detail/parameter_value__traits.hpp: In function ‘void rcl_interfaces::msg::to_flow_style_yaml(const ParameterValue&, std::ostream&)’:
/opt/ros/humble/include/rcl_interfaces/rcl_interfaces/msg/detail/parameter_value__traits.hpp:125:47: internal compiler error: Segmentation fault
125 | rosidl_generator_traits::value_to_yaml(item, out);
| ^
0x74eeb8e4251f ???
./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0x74eeb8e29d8f __libc_start_call_main
../sysdeps/nptl/libc_start_call_main.h:58
0x74eeb8e29e3f __libc_start_main_impl
../csu/libc-start.c:392
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See file:///usr/share/doc/gcc-12/README.Bugs for instructions.
gmake[2]: *** [CMakeFiles/astra_camera.dir/build.make:202: CMakeFiles/astra_camera.dir/src/ros_service.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:143: CMakeFiles/astra_camera.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
--- stderr: astra_camera
In file included from /opt/ros/humble/include/rcl_interfaces/rcl_interfaces/msg/detail/parameter__traits.hpp:19,
from /opt/ros/humble/include/rcl_interfaces/rcl_interfaces/msg/detail/parameter_event__traits.hpp:23,
from /opt/ros/humble/include/rcl_interfaces/rcl_interfaces/msg/parameter_event.hpp:9,
from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/kunal/Projects/astra2/src/ros2_astra_camera/astra_camera/src/ros_service.cpp:14:
/opt/ros/humble/include/rcl_interfaces/rcl_interfaces/msg/detail/parameter_value__traits.hpp: In function ‘void rcl_interfaces::msg::to_flow_style_yaml(const ParameterValue&, std::ostream&)’:
/opt/ros/humble/include/rcl_interfaces/rcl_interfaces/msg/detail/parameter_value__traits.hpp:125:47: internal compiler error: Segmentation fault
125 | rosidl_generator_traits::value_to_yaml(item, out);
| ^
0x74eeb8e4251f ???
./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0x74eeb8e29d8f __libc_start_call_main
../sysdeps/nptl/libc_start_call_main.h:58
0x74eeb8e29e3f __libc_start_main_impl
../csu/libc-start.c:392
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See file:///usr/share/doc/gcc-12/README.Bugs for instructions.
gmake[2]: *** [CMakeFiles/astra_camera.dir/build.make:202: CMakeFiles/astra_camera.dir/src/ros_service.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:143: CMakeFiles/astra_camera.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
Failed <<< astra_camera [56.7s, exited with code 2]
I am using Ros2 Humble and Ubuntu 22.04. When I run the command:
colcon build --event-handlers console_direct+ --cmake-args -DCMAKE_BUILD_TYPE=Release
It gives an error for astra_camera and build fails:
Processing: astra_camera
26% Building CXX object CMakeFiles/astra_camera.dir/src/ros_param_backend.cpp.o
31% Building CXX object CMakeFiles/astra_camera.dir/src/ros_service.cpp.o
In file included from /opt/ros/humble/include/rcl_interfaces/rcl_interfaces/msg/detail/parameter__traits.hpp:19,
from /opt/ros/humble/include/rcl_interfaces/rcl_interfaces/msg/detail/parameter_event__traits.hpp:23,
from /opt/ros/humble/include/rcl_interfaces/rcl_interfaces/msg/parameter_event.hpp:9,
from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/kunal/Projects/astra2/src/ros2_astra_camera/astra_camera/src/ros_service.cpp:14:
/opt/ros/humble/include/rcl_interfaces/rcl_interfaces/msg/detail/parameter_value__traits.hpp: In function ‘void rcl_interfaces::msg::to_flow_style_yaml(const ParameterValue&, std::ostream&)’:
/opt/ros/humble/include/rcl_interfaces/rcl_interfaces/msg/detail/parameter_value__traits.hpp:125:47: internal compiler error: Segmentation fault
125 | rosidl_generator_traits::value_to_yaml(item, out);
| ^
0x74eeb8e4251f ???
./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0x74eeb8e29d8f __libc_start_call_main
../sysdeps/nptl/libc_start_call_main.h:58
0x74eeb8e29e3f __libc_start_main_impl
../csu/libc-start.c:392
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See file:///usr/share/doc/gcc-12/README.Bugs for instructions.
gmake[2]: *** [CMakeFiles/astra_camera.dir/build.make:202: CMakeFiles/astra_camera.dir/src/ros_service.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:143: CMakeFiles/astra_camera.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
--- stderr: astra_camera
In file included from /opt/ros/humble/include/rcl_interfaces/rcl_interfaces/msg/detail/parameter__traits.hpp:19,
from /opt/ros/humble/include/rcl_interfaces/rcl_interfaces/msg/detail/parameter_event__traits.hpp:23,
from /opt/ros/humble/include/rcl_interfaces/rcl_interfaces/msg/parameter_event.hpp:9,
from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/kunal/Projects/astra2/src/ros2_astra_camera/astra_camera/src/ros_service.cpp:14:
/opt/ros/humble/include/rcl_interfaces/rcl_interfaces/msg/detail/parameter_value__traits.hpp: In function ‘void rcl_interfaces::msg::to_flow_style_yaml(const ParameterValue&, std::ostream&)’:
/opt/ros/humble/include/rcl_interfaces/rcl_interfaces/msg/detail/parameter_value__traits.hpp:125:47: internal compiler error: Segmentation fault
125 | rosidl_generator_traits::value_to_yaml(item, out);
| ^
0x74eeb8e4251f ???
./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0x74eeb8e29d8f __libc_start_call_main
../sysdeps/nptl/libc_start_call_main.h:58
0x74eeb8e29e3f __libc_start_main_impl
../csu/libc-start.c:392
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See file:///usr/share/doc/gcc-12/README.Bugs for instructions.
gmake[2]: *** [CMakeFiles/astra_camera.dir/build.make:202: CMakeFiles/astra_camera.dir/src/ros_service.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:143: CMakeFiles/astra_camera.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
Failed <<< astra_camera [56.7s, exited with code 2]
Summary: 1 package finished [1min 28s]
1 package failed: astra_camera
1 package had stderr output: astra_camera
The text was updated successfully, but these errors were encountered: