ros2 / rmw_fastrtps

Implementation of the ROS Middleware (rmw) Interface using eProsima's Fast RTPS.
Apache License 2.0
157 stars 117 forks source link

use_sim_time with this->now() and callback inconsistency after #619 in Humble #635

Closed benjinne closed 1 year ago

benjinne commented 2 years ago

Bug report

Required Info:

Steps to reproduce issue

After #619 and #633 merged into humble, my simulation became very unreliable. It worked well before that PR, so I'm wondering if anyone else is having issues with it.

I don't have a good example yet, but with use_sim_time I have some callbacks that eventually stop updating about a minute after launching. Other times, in my callback this->now() freezes and stops updating even though the /clock topic is always updating. For example I have a callback from one subscription which transforms a message into another format then grabs this->now() and publishes it into a new topic. Since the time stops updating on the output of that callback, it breaks my simulation.

I've tried using various callback groups and the multi-threaded executor, but nothing seems to help.

Expected behavior

this->now() with use_sim_time should always update and never freeze

audrow commented 2 years ago

Thanks for the bug report, @benjinne. I'm going to see if I can reproduce this. @MiguelCompany, have you seen anything like this?

fujitatomoya commented 2 years ago

@Barry-Xu-2018 @iuhilnehc-ynos any idea? sound really critical issue.

iuhilnehc-ynos commented 2 years ago

I can't reproduce this problem. I tried using simple applications to get now() from a node with use_sim_time enable, but it seems work as I expected.


# terminal 1 (add a test application that a publisher publishes '/clock' with `rosgraph_msgs.msg.Clock` starting from 1)

ros2 run demo_nodes_py timer

# terminal 2 (update the callback to call `this->now()`)

ros2 run demo_nodes_cpp talker --ros-args -p use_sim_time:=True
        or
ros2 run demo_nodes_cpp talker  ( use terminal 3 to call `ros2 param set /talker use_sim_time True` later )

# terminal 2 log
[INFO] [1664331704.865874420] [talker]: Publishing: 'Hello World: 1' time: 1664331704865865605
[INFO] [1664331705.865777557] [talker]: Publishing: 'Hello World: 2' time: 1664331705865774037
[INFO] [1664331706.865919796] [talker]: Publishing: 'Hello World: 3' time: 1664331706865913545
[INFO] [1664331707.865875875] [talker]: Publishing: 'Hello World: 4' time: 1664331707865871912
[INFO] [1664331708.865777110] [talker]: Publishing: 'Hello World: 5' time: 1664331708865773788
[INFO] [1664331709.865772521] [talker]: Publishing: 'Hello World: 6' time: 1664331709865769315
[INFO] [1664331710.866109847] [talker]: Publishing: 'Hello World: 7' time: 0
[INFO] [1664331711.865835457] [talker]: Publishing: 'Hello World: 8' time: 15000000000
[INFO] [1664331712.866043628] [talker]: Publishing: 'Hello World: 9' time: 16000000000
[INFO] [1664331713.865918251] [talker]: Publishing: 'Hello World: 10' time: 17000000000
...
[INFO] [1664331873.866060468] [talker]: Publishing: 'Hello World: 170' time: 177000000000   # check it more than 2 minutes

The backtrace correctly shows to get the time if using simulator time for the node. I have no idea what kind of situation could block calling the now().

now() backtrace

```cpp (gdb) bt #0 rcl_get_ros_time (data=0x555555767760, current_time=0x7fffffffab68) at /home/chenlh/Projects/ROS2/ros2-master/src/ros2/rcl/rcl/src/rcl/time.c:71 ready to use `rcutils_atomic_load_uint64_t` get the `current` from `t->current_time` #1 0x00007ffff6cabb9b in rcl_clock_get_now (clock=0x5555557676b0, time_point_value=0x7fffffffab68) at /home/chenlh/Projects/ROS2/ros2-master/src/ros2/rcl/rcl/src/rcl/time.c:261 #2 0x00007ffff7bd32f7 in rclcpp::Clock::now (this=0x555555767690) at /home/chenlh/Projects/ROS2/ros2-master/src/ros2/rclcpp/rclcpp/src/rclcpp/clock.cpp:74 #3 0x00007ffff7c3fe9a in rclcpp::Node::now (this=0x555555602c40) at /home/chenlh/Projects/ROS2/ros2-master/src/ros2/rclcpp/rclcpp/src/rclcpp/node.cpp:544 #4 0x00007ffff4302dee in demo_nodes_cpp::Talker::Talker(rclcpp::NodeOptions const&)::{lambda()#1}::operator()() const (__closure=0x5555558a35c0) at /home/chenlh/Projects/ROS2/ros2-master/src/ros2/demos/demo_nodes_cpp/src/topics/talker.cpp:48 #5 0x00007ffff430dbb6 in rclcpp::GenericTimer::execute_callback_delegate<{lambda()#1}, (demo_nodes_cpp::Talker::Talker(rclcpp::NodeOptions const&)::{lambda()#1})0>() (this=0x5555558a3590) at /home/chenlh/Projects/ROS2/ros2-master/install/include/rclcpp/rclcpp/timer.hpp:244 #6 0x00007ffff430d8be in rclcpp::GenericTimer::execute_callback() (this=0x5555558a3590) at /home/chenlh/Projects/ROS2/ros2-master/install/include/rclcpp/rclcpp/timer.hpp:230 #7 0x00007ffff7bf8bd7 in rclcpp::Executor::execute_timer (timer=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr_inplace, std::allocator, (__gnu_cxx::_Lock_policy)2>' warning: RTTI symbol not found for class 'std::_Sp_counted_ptr_inplace, std::allocator, (__gnu_cxx::_Lock_policy)2>' std::shared_ptr (use count 3, weak count 1) = {...}) at /home/chenlh/Projects/ROS2/ros2-master/src/ros2/rclcpp/rclcpp/src/rclcpp/executor.cpp:650 #8 0x00007ffff7bf766e in rclcpp::Executor::execute_any_executable (this=0x7fffffffb750, any_exec=...) at /home/chenlh/Projects/ROS2/ros2-master/src/ros2/rclcpp/rclcpp/src/rclcpp/executor.cpp:512 #9 0x00007ffff7c089ca in rclcpp::executors::SingleThreadedExecutor::spin (this=0x7fffffffb750) at /home/chenlh/Projects/ROS2/ros2-master/src/ros2/rclcpp/rclcpp/src/rclcpp/executors/single_threaded_executor.cpp:37 #10 0x0000555555566318 in main (argc=4, argv=0x7fffffffc548) at /home/chenlh/Projects/ROS2/ros2-master/build/demo_nodes_cpp/rclcpp_components/node_main_talker.cpp:62 ```

fujitatomoya commented 2 years ago

@audrow can you reproduce this issue?

audrow commented 2 years ago

I haven't been able to reproduce it. I tried for a good while yesterday.

benjinne commented 2 years ago

Anyone have tips on how I can debug a callback to see why this->now() gets stuck and keeps repeating the same value after a few minutes? I'm able to debug it with gdb but I don't know what to look for.

fujitatomoya commented 2 years ago

@benjinne can you provide the reproducible test package on this?

I'm able to debug it with gdb but I don't know what to look for.

if you attach the gdb on that process or get the core file, how about checking the stack trace on that stuck thread?

benjinne commented 2 years ago

@fujitatomoya I don't have a reproducible test package, but I was able to get the stacktrace of the node that has an issue with this->now() returning with the same repeated value even though the /clock topic is updating.

I think thread 12 is listening to the clock topic and enters deadlock somehow

stack trace ``` (gdb) thread apply all backtrace Thread 27 (Thread 0x7fffc77f6700 (LWP 1465901)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe9090, private=0) at lowlevellock.c:52 #1 0x00007ffff64ed0a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe9090) at ../nptl/pthread_mutex_lock.c:80 #2 0x00005555555aeaa7 in __gthread_mutex_lock (__mutex=) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=) at /usr/include/c++/9/bits/std_mutex.h:100 #4 0x00007ffff7e1ba3a in std::lock_guard::lock_guard(std::mutex&) () from /home/ben/projects/ros2_humble/install/tf2_ros/lib/libtf2_ros.so #5 0x00007ffff76cd97e in rclcpp::executors::MultiThreadedExecutor::run(unsigned long) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #6 0x00007ffff76cfdc5 in void std::__invoke_impl(std::__invoke_memfun_deref, void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #7 0x00007ffff76cfcd7 in std::__invoke_result::type std::__invoke(void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #8 0x00007ffff76cfbe0 in void std::_Bind::__call(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #9 0x00007ffff76cfb37 in void std::_Bind::operator()<, void>() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #10 0x00007ffff76cfade in void std::__invoke_impl>(std::__invoke_other, std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #11 0x00007ffff76cfa87 in std::__invoke_result>::type std::__invoke>(std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #12 0x00007ffff76cfa28 in void std::thread::_Invoker > >::_M_invoke<0ul>(std::_Index_tuple<0ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #13 0x00007ffff76cf9fa in std::thread::_Invoker > >::operator()() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #14 0x00007ffff76cf9da in std::thread::_State_impl > > >::_M_run() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #15 0x00007ffff6a88de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #16 0x00007ffff64ea609 in start_thread (arg=) at pthread_create.c:477 #17 0x00007ffff68c4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 26 (Thread 0x7fffc7ff7700 (LWP 1465900)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe9090, private=0) at lowlevellock.c:52 #1 0x00007ffff64ed0a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe9090) at ../nptl/pthread_mutex_lock.c:80 --Type for more, q to quit, c to continue without paging-- #2 0x00005555555aeaa7 in __gthread_mutex_lock (__mutex=) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=) at /usr/include/c++/9/bits/std_mutex.h:100 #4 0x00007ffff7e1ba3a in std::lock_guard::lock_guard(std::mutex&) () from /home/ben/projects/ros2_humble/install/tf2_ros/lib/libtf2_ros.so #5 0x00007ffff76cd97e in rclcpp::executors::MultiThreadedExecutor::run(unsigned long) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #6 0x00007ffff76cfdc5 in void std::__invoke_impl(std::__invoke_memfun_deref, void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #7 0x00007ffff76cfcd7 in std::__invoke_result::type std::__invoke(void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #8 0x00007ffff76cfbe0 in void std::_Bind::__call(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #9 0x00007ffff76cfb37 in void std::_Bind::operator()<, void>() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #10 0x00007ffff76cfade in void std::__invoke_impl>(std::__invoke_other, std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #11 0x00007ffff76cfa87 in std::__invoke_result>::type std::__invoke>(std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #12 0x00007ffff76cfa28 in void std::thread::_Invoker > >::_M_invoke<0ul>(std::_Index_tuple<0ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #13 0x00007ffff76cf9fa in std::thread::_Invoker > >::operator()() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #14 0x00007ffff76cf9da in std::thread::_State_impl > > >::_M_run() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #15 0x00007ffff6a88de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #16 0x00007ffff64ea609 in start_thread (arg=) at pthread_create.c:477 #17 0x00007ffff68c4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 25 (Thread 0x7fffc87f8700 (LWP 1465899)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe9090, private=0) at lowlevellock.c:52 #1 0x00007ffff64ed0a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe9090) at ../nptl/pthread_mutex_lock.c:80 #2 0x00005555555aeaa7 in __gthread_mutex_lock (__mutex=) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=) at /usr/include/c++/9/bits/std_mutex.h:100 #4 0x00007ffff7e1ba3a in std::lock_guard::lock_guard(std::mutex&) () from /home/ben/projects/ros2_humble/install/tf2_ros/lib/libtf2_ros.so #5 0x00007ffff76cd97e in rclcpp::executors::MultiThreadedExecutor::run(unsigned long) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #6 0x00007ffff76cfdc5 in void std::__invoke_impl(std::__invoke_memfun_deref, void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #7 0x00007ffff76cfcd7 in std::__invoke_result::type std::__invoke(void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #8 0x00007ffff76cfbe0 in void std::_Bind::__call(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #9 0x00007ffff76cfb37 in void std::_Bind::operator()<, void>() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #10 0x00007ffff76cfade in void std::__invoke_impl>(std::__invoke_other, std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #11 0x00007ffff76cfa87 in std::__invoke_result>::type std::__invoke for more, q to quit, c to continue without paging-- :_Bind>(std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #12 0x00007ffff76cfa28 in void std::thread::_Invoker > >::_M_invoke<0ul>(std::_Index_tuple<0ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #13 0x00007ffff76cf9fa in std::thread::_Invoker > >::operator()() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #14 0x00007ffff76cf9da in std::thread::_State_impl > > >::_M_run() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #15 0x00007ffff6a88de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #16 0x00007ffff64ea609 in start_thread (arg=) at pthread_create.c:477 #17 0x00007ffff68c4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 24 (Thread 0x7fffc8ff9700 (LWP 1465897)): #0 futex_abstimed_wait_cancelable (private=, abstime=0x7fffc8ff7430, clockid=, expected=0, futex_word=0x555555aaa060) at ../sysdeps/nptl/futex-internal.h:320 #1 __pthread_cond_wait_common (abstime=0x7fffc8ff7430, clockid=, mutex=0x555555aaa010, cond=0x555555aaa038) at pthread_cond_wait.c:520 #2 __pthread_cond_timedwait (cond=0x555555aaa038, mutex=0x555555aaa010, abstime=0x7fffc8ff7430) at pthread_cond_wait.c:665 #3 0x00007ffff5e36125 in eprosima::fastdds::dds::detail::WaitSetImpl::wait(std::vector >&, eprosima::fastrtps::Time_t const&) () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #4 0x00007ffff5e3563a in eprosima::fastdds::dds::WaitSet::wait(std::vector >&, eprosima::fastrtps::Time_t) const () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #5 0x00007ffff628e496 in rmw_fastrtps_shared_cpp::__rmw_wait (identifier=, subscriptions=, guard_conditions=0x555555aa9a40, services=0x555555aa9a70, clients=0x555555aa9a58, events=0x555555aa9a88, wait_set=0x555555aa9960, wait_timeout=0x7fffc8ff76f0) at /home/ben/projects/ros2_humble/src/ros2/rmw_fastrtps/rmw_fastrtps_shared_cpp/src/rmw_wait.cpp:127 #6 0x00007ffff62e941a in rmw_wait (subscriptions=, guard_conditions=, services=, clients=, events=, wait_set=, wait_timeout=0x7fffc8ff76f0) at /home/ben/projects/ros2_humble/src/ros2/rmw_fastrtps/rmw_fastrtps_cpp/src/rmw_wait.cpp:33 #7 0x00007ffff64b730b in rmw_wait () from /home/ben/projects/ros2_humble/install/rmw_implementation/lib/librmw_implementation.so #8 0x00007ffff6c239df in rcl_wait () from /home/ben/projects/ros2_humble/install/rcl/lib/librcl.so #9 0x00007ffff76c0f72 in rclcpp::Executor::wait_for_work(std::chrono::duration >) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #10 0x00007ffff76c1c90 in rclcpp::Executor::get_next_executable(rclcpp::AnyExecutable&, std::chrono::duration >) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #11 0x00007ffff76cda2c in rclcpp::executors::MultiThreadedExecutor::run(unsigned long) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #12 0x00007ffff76cfdc5 in void std::__invoke_impl(std::__invoke_memfun_deref, void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #13 0x00007ffff76cfcd7 in std::__invoke_result::type std::__invoke(void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #14 0x00007ffff76cfbe0 in void std::_Bind::__call(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #15 0x00007ffff76cfb37 in void std::_Bind::operator()<, void>() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #16 0x00007ffff76cfade in void std::__invoke_impl>(std::__invoke_other, std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #17 0x00007ffff76cfa87 in std::__invoke_result>::type std::__invoke>(std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #18 0x00007ffff76cfa28 in void std::thread::_Invoker > >::_M_invoke<0ul>(std::_Index_tuple<0ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #19 0x00007ffff76cf9fa in std::thread::_Invoker > >::operator()() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so --Type for more, q to quit, c to continue without paging-- #20 0x00007ffff76cf9da in std::thread::_State_impl > > >::_M_run() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #21 0x00007ffff6a88de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #22 0x00007ffff64ea609 in start_thread (arg=) at pthread_create.c:477 #23 0x00007ffff68c4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 23 (Thread 0x7fffc97fa700 (LWP 1465896)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe9090, private=0) at lowlevellock.c:52 #1 0x00007ffff64ed0a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe9090) at ../nptl/pthread_mutex_lock.c:80 #2 0x00005555555aeaa7 in __gthread_mutex_lock (__mutex=) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=) at /usr/include/c++/9/bits/std_mutex.h:100 #4 0x00007ffff7e1ba3a in std::lock_guard::lock_guard(std::mutex&) () from /home/ben/projects/ros2_humble/install/tf2_ros/lib/libtf2_ros.so #5 0x00007ffff76cd97e in rclcpp::executors::MultiThreadedExecutor::run(unsigned long) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #6 0x00007ffff76cfdc5 in void std::__invoke_impl(std::__invoke_memfun_deref, void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #7 0x00007ffff76cfcd7 in std::__invoke_result::type std::__invoke(void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #8 0x00007ffff76cfbe0 in void std::_Bind::__call(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #9 0x00007ffff76cfb37 in void std::_Bind::operator()<, void>() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #10 0x00007ffff76cfade in void std::__invoke_impl>(std::__invoke_other, std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #11 0x00007ffff76cfa87 in std::__invoke_result>::type std::__invoke>(std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #12 0x00007ffff76cfa28 in void std::thread::_Invoker > >::_M_invoke<0ul>(std::_Index_tuple<0ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #13 0x00007ffff76cf9fa in std::thread::_Invoker > >::operator()() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #14 0x00007ffff76cf9da in std::thread::_State_impl > > >::_M_run() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #15 0x00007ffff6a88de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #16 0x00007ffff64ea609 in start_thread (arg=) at pthread_create.c:477 #17 0x00007ffff68c4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 22 (Thread 0x7fffc9ffb700 (LWP 1465892)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe9090, private=0) at lowlevellock.c:52 #1 0x00007ffff64ed0a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe9090) at ../nptl/pthread_mutex_lock.c:80 #2 0x00005555555aeaa7 in __gthread_mutex_lock (__mutex=) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=) at /usr/include/c++/9/bits/std_mutex.h:100 #4 0x00007ffff7e1ba3a in std::lock_guard::lock_guard(std::mutex&) () from /home/ben/projects/ros2_humble/install/tf2_ros/lib/libtf2_ros.so #5 0x00007ffff76cd97e in rclcpp::executors::MultiThreadedExecutor::run(unsigned long) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #6 0x00007ffff76cfdc5 in void std::__invoke_impl(std::__invoke_memfun_deref, void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #7 0x00007ffff76cfcd7 in std::__invoke_result::type std::__invoke(void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiT--Type for more, q to quit, c to continue without paging-- hreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #8 0x00007ffff76cfbe0 in void std::_Bind::__call(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #9 0x00007ffff76cfb37 in void std::_Bind::operator()<, void>() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #10 0x00007ffff76cfade in void std::__invoke_impl>(std::__invoke_other, std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #11 0x00007ffff76cfa87 in std::__invoke_result>::type std::__invoke>(std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #12 0x00007ffff76cfa28 in void std::thread::_Invoker > >::_M_invoke<0ul>(std::_Index_tuple<0ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #13 0x00007ffff76cf9fa in std::thread::_Invoker > >::operator()() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #14 0x00007ffff76cf9da in std::thread::_State_impl > > >::_M_run() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #15 0x00007ffff6a88de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #16 0x00007ffff64ea609 in start_thread (arg=) at pthread_create.c:477 #17 0x00007ffff68c4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 21 (Thread 0x7fffca7fc700 (LWP 1465891)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe9090, private=0) at lowlevellock.c:52 #1 0x00007ffff64ed0a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe9090) at ../nptl/pthread_mutex_lock.c:80 #2 0x00005555555aeaa7 in __gthread_mutex_lock (__mutex=) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=) at /usr/include/c++/9/bits/std_mutex.h:100 #4 0x00007ffff7e1ba3a in std::lock_guard::lock_guard(std::mutex&) () from /home/ben/projects/ros2_humble/install/tf2_ros/lib/libtf2_ros.so #5 0x00007ffff76cd97e in rclcpp::executors::MultiThreadedExecutor::run(unsigned long) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #6 0x00007ffff76cfdc5 in void std::__invoke_impl(std::__invoke_memfun_deref, void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #7 0x00007ffff76cfcd7 in std::__invoke_result::type std::__invoke(void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #8 0x00007ffff76cfbe0 in void std::_Bind::__call(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #9 0x00007ffff76cfb37 in void std::_Bind::operator()<, void>() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #10 0x00007ffff76cfade in void std::__invoke_impl>(std::__invoke_other, std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #11 0x00007ffff76cfa87 in std::__invoke_result>::type std::__invoke>(std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #12 0x00007ffff76cfa28 in void std::thread::_Invoker > >::_M_invoke<0ul>(std::_Index_tuple<0ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #13 0x00007ffff76cf9fa in std::thread::_Invoker > >::operator()() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #14 0x00007ffff76cf9da in std::thread::_State_impl > > >::_M_run() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so --Type for more, q to quit, c to continue without paging-- #15 0x00007ffff6a88de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #16 0x00007ffff64ea609 in start_thread (arg=) at pthread_create.c:477 #17 0x00007ffff68c4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 20 (Thread 0x7fffcaffd700 (LWP 1465890)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe9090, private=0) at lowlevellock.c:52 #1 0x00007ffff64ed0a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe9090) at ../nptl/pthread_mutex_lock.c:80 #2 0x00005555555aeaa7 in __gthread_mutex_lock (__mutex=) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=) at /usr/include/c++/9/bits/std_mutex.h:100 #4 0x00007ffff7e1ba3a in std::lock_guard::lock_guard(std::mutex&) () from /home/ben/projects/ros2_humble/install/tf2_ros/lib/libtf2_ros.so #5 0x00007ffff76cd97e in rclcpp::executors::MultiThreadedExecutor::run(unsigned long) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #6 0x00007ffff76cfdc5 in void std::__invoke_impl(std::__invoke_memfun_deref, void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #7 0x00007ffff76cfcd7 in std::__invoke_result::type std::__invoke(void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #8 0x00007ffff76cfbe0 in void std::_Bind::__call(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #9 0x00007ffff76cfb37 in void std::_Bind::operator()<, void>() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #10 0x00007ffff76cfade in void std::__invoke_impl>(std::__invoke_other, std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #11 0x00007ffff76cfa87 in std::__invoke_result>::type std::__invoke>(std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #12 0x00007ffff76cfa28 in void std::thread::_Invoker > >::_M_invoke<0ul>(std::_Index_tuple<0ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #13 0x00007ffff76cf9fa in std::thread::_Invoker > >::operator()() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #14 0x00007ffff76cf9da in std::thread::_State_impl > > >::_M_run() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #15 0x00007ffff6a88de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #16 0x00007ffff64ea609 in start_thread (arg=) at pthread_create.c:477 #17 0x00007ffff68c4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 19 (Thread 0x7fffcb7fe700 (LWP 1465888)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe9090, private=0) at lowlevellock.c:52 #1 0x00007ffff64ed0a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe9090) at ../nptl/pthread_mutex_lock.c:80 #2 0x00005555555aeaa7 in __gthread_mutex_lock (__mutex=) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=) at /usr/include/c++/9/bits/std_mutex.h:100 #4 0x00007ffff7e1ba3a in std::lock_guard::lock_guard(std::mutex&) () from /home/ben/projects/ros2_humble/install/tf2_ros/lib/libtf2_ros.so #5 0x00007ffff76cd97e in rclcpp::executors::MultiThreadedExecutor::run(unsigned long) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #6 0x00007ffff76cfdc5 in void std::__invoke_impl(std::__invoke_memfun_deref, void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #7 0x00007ffff76cfcd7 in std::__invoke_result::type std::__invoke(void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #8 0x00007ffff76cfbe0 in void std::_Bind::__call(std::tuple<>&&,--Type for more, q to quit, c to continue without paging-- std::_Index_tuple<0ul, 1ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #9 0x00007ffff76cfb37 in void std::_Bind::operator()<, void>() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #10 0x00007ffff76cfade in void std::__invoke_impl>(std::__invoke_other, std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #11 0x00007ffff76cfa87 in std::__invoke_result>::type std::__invoke>(std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #12 0x00007ffff76cfa28 in void std::thread::_Invoker > >::_M_invoke<0ul>(std::_Index_tuple<0ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #13 0x00007ffff76cf9fa in std::thread::_Invoker > >::operator()() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #14 0x00007ffff76cf9da in std::thread::_State_impl > > >::_M_run() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #15 0x00007ffff6a88de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #16 0x00007ffff64ea609 in start_thread (arg=) at pthread_create.c:477 #17 0x00007ffff68c4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 18 (Thread 0x7fffcbfff700 (LWP 1465887)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe9090, private=0) at lowlevellock.c:52 #1 0x00007ffff64ed0a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe9090) at ../nptl/pthread_mutex_lock.c:80 #2 0x00005555555aeaa7 in __gthread_mutex_lock (__mutex=) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=) at /usr/include/c++/9/bits/std_mutex.h:100 #4 0x00007ffff7e1ba3a in std::lock_guard::lock_guard(std::mutex&) () from /home/ben/projects/ros2_humble/install/tf2_ros/lib/libtf2_ros.so #5 0x00007ffff76cd97e in rclcpp::executors::MultiThreadedExecutor::run(unsigned long) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #6 0x00007ffff76cfdc5 in void std::__invoke_impl(std::__invoke_memfun_deref, void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #7 0x00007ffff76cfcd7 in std::__invoke_result::type std::__invoke(void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #8 0x00007ffff76cfbe0 in void std::_Bind::__call(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #9 0x00007ffff76cfb37 in void std::_Bind::operator()<, void>() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #10 0x00007ffff76cfade in void std::__invoke_impl>(std::__invoke_other, std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #11 0x00007ffff76cfa87 in std::__invoke_result>::type std::__invoke>(std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #12 0x00007ffff76cfa28 in void std::thread::_Invoker > >::_M_invoke<0ul>(std::_Index_tuple<0ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #13 0x00007ffff76cf9fa in std::thread::_Invoker > >::operator()() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #14 0x00007ffff76cf9da in std::thread::_State_impl > > >::_M_run() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #15 0x00007ffff6a88de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #16 0x00007ffff64ea609 in start_thread (arg=) at pthread_create.c:477 --Type for more, q to quit, c to continue without paging-- #17 0x00007ffff68c4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 17 (Thread 0x7fffe0f15700 (LWP 1465886)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe9090, private=0) at lowlevellock.c:52 #1 0x00007ffff64ed0a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe9090) at ../nptl/pthread_mutex_lock.c:80 #2 0x00005555555aeaa7 in __gthread_mutex_lock (__mutex=) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=) at /usr/include/c++/9/bits/std_mutex.h:100 #4 0x00007ffff7e1ba3a in std::lock_guard::lock_guard(std::mutex&) () from /home/ben/projects/ros2_humble/install/tf2_ros/lib/libtf2_ros.so #5 0x00007ffff76cd97e in rclcpp::executors::MultiThreadedExecutor::run(unsigned long) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #6 0x00007ffff76cfdc5 in void std::__invoke_impl(std::__invoke_memfun_deref, void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #7 0x00007ffff76cfcd7 in std::__invoke_result::type std::__invoke(void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #8 0x00007ffff76cfbe0 in void std::_Bind::__call(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #9 0x00007ffff76cfb37 in void std::_Bind::operator()<, void>() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #10 0x00007ffff76cfade in void std::__invoke_impl>(std::__invoke_other, std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #11 0x00007ffff76cfa87 in std::__invoke_result>::type std::__invoke>(std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #12 0x00007ffff76cfa28 in void std::thread::_Invoker > >::_M_invoke<0ul>(std::_Index_tuple<0ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #13 0x00007ffff76cf9fa in std::thread::_Invoker > >::operator()() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #14 0x00007ffff76cf9da in std::thread::_State_impl > > >::_M_run() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #15 0x00007ffff6a88de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #16 0x00007ffff64ea609 in start_thread (arg=) at pthread_create.c:477 #17 0x00007ffff68c4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 16 (Thread 0x7fffe1716700 (LWP 1465885)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe9090, private=0) at lowlevellock.c:52 #1 0x00007ffff64ed0a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe9090) at ../nptl/pthread_mutex_lock.c:80 #2 0x00005555555aeaa7 in __gthread_mutex_lock (__mutex=) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=) at /usr/include/c++/9/bits/std_mutex.h:100 #4 0x00007ffff7e1ba3a in std::lock_guard::lock_guard(std::mutex&) () from /home/ben/projects/ros2_humble/install/tf2_ros/lib/libtf2_ros.so #5 0x00007ffff76cd97e in rclcpp::executors::MultiThreadedExecutor::run(unsigned long) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #6 0x00007ffff76cfdc5 in void std::__invoke_impl(std::__invoke_memfun_deref, void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #7 0x00007ffff76cfcd7 in std::__invoke_result::type std::__invoke(void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #8 0x00007ffff76cfbe0 in void std::_Bind::__call(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #9 0x00007ffff76cfb37 in void std::_Bind::operator()<, void>() () from /home/ben/p--Type for more, q to quit, c to continue without paging-- rojects/ros2_humble/install/rclcpp/lib/librclcpp.so #10 0x00007ffff76cfade in void std::__invoke_impl>(std::__invoke_other, std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #11 0x00007ffff76cfa87 in std::__invoke_result>::type std::__invoke>(std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #12 0x00007ffff76cfa28 in void std::thread::_Invoker > >::_M_invoke<0ul>(std::_Index_tuple<0ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #13 0x00007ffff76cf9fa in std::thread::_Invoker > >::operator()() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #14 0x00007ffff76cf9da in std::thread::_State_impl > > >::_M_run() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #15 0x00007ffff6a88de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #16 0x00007ffff64ea609 in start_thread (arg=) at pthread_create.c:477 #17 0x00007ffff68c4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 15 (Thread 0x7fffe1f17700 (LWP 1465884)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe9090, private=0) at lowlevellock.c:52 #1 0x00007ffff64ed0a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe9090) at ../nptl/pthread_mutex_lock.c:80 #2 0x00005555555aeaa7 in __gthread_mutex_lock (__mutex=) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=) at /usr/include/c++/9/bits/std_mutex.h:100 #4 0x00007ffff7e1ba3a in std::lock_guard::lock_guard(std::mutex&) () from /home/ben/projects/ros2_humble/install/tf2_ros/lib/libtf2_ros.so #5 0x00007ffff76cd97e in rclcpp::executors::MultiThreadedExecutor::run(unsigned long) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #6 0x00007ffff76cfdc5 in void std::__invoke_impl(std::__invoke_memfun_deref, void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #7 0x00007ffff76cfcd7 in std::__invoke_result::type std::__invoke(void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #8 0x00007ffff76cfbe0 in void std::_Bind::__call(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #9 0x00007ffff76cfb37 in void std::_Bind::operator()<, void>() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #10 0x00007ffff76cfade in void std::__invoke_impl>(std::__invoke_other, std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #11 0x00007ffff76cfa87 in std::__invoke_result>::type std::__invoke>(std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #12 0x00007ffff76cfa28 in void std::thread::_Invoker > >::_M_invoke<0ul>(std::_Index_tuple<0ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #13 0x00007ffff76cf9fa in std::thread::_Invoker > >::operator()() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #14 0x00007ffff76cf9da in std::thread::_State_impl > > >::_M_run() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #15 0x00007ffff6a88de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #16 0x00007ffff64ea609 in start_thread (arg=) at pthread_create.c:477 #17 0x00007ffff68c4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 --Type for more, q to quit, c to continue without paging-- Thread 14 (Thread 0x7fffe2718700 (LWP 1465883)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe9090, private=0) at lowlevellock.c:52 #1 0x00007ffff64ed0a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe9090) at ../nptl/pthread_mutex_lock.c:80 #2 0x00005555555aeaa7 in __gthread_mutex_lock (__mutex=) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=) at /usr/include/c++/9/bits/std_mutex.h:100 #4 0x00007ffff7e1ba3a in std::lock_guard::lock_guard(std::mutex&) () from /home/ben/projects/ros2_humble/install/tf2_ros/lib/libtf2_ros.so #5 0x00007ffff76cd97e in rclcpp::executors::MultiThreadedExecutor::run(unsigned long) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #6 0x00007ffff76cfdc5 in void std::__invoke_impl(std::__invoke_memfun_deref, void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #7 0x00007ffff76cfcd7 in std::__invoke_result::type std::__invoke(void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #8 0x00007ffff76cfbe0 in void std::_Bind::__call(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #9 0x00007ffff76cfb37 in void std::_Bind::operator()<, void>() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #10 0x00007ffff76cfade in void std::__invoke_impl>(std::__invoke_other, std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #11 0x00007ffff76cfa87 in std::__invoke_result>::type std::__invoke>(std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #12 0x00007ffff76cfa28 in void std::thread::_Invoker > >::_M_invoke<0ul>(std::_Index_tuple<0ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #13 0x00007ffff76cf9fa in std::thread::_Invoker > >::operator()() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #14 0x00007ffff76cf9da in std::thread::_State_impl > > >::_M_run() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #15 0x00007ffff6a88de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #16 0x00007ffff64ea609 in start_thread (arg=) at pthread_create.c:477 #17 0x00007ffff68c4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 13 (Thread 0x7fffe2f19700 (LWP 1465882)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe9090, private=0) at lowlevellock.c:52 #1 0x00007ffff64ed0a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe9090) at ../nptl/pthread_mutex_lock.c:80 #2 0x00005555555aeaa7 in __gthread_mutex_lock (__mutex=) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=) at /usr/include/c++/9/bits/std_mutex.h:100 #4 0x00007ffff7e1ba3a in std::lock_guard::lock_guard(std::mutex&) () from /home/ben/projects/ros2_humble/install/tf2_ros/lib/libtf2_ros.so #5 0x00007ffff76cd97e in rclcpp::executors::MultiThreadedExecutor::run(unsigned long) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #6 0x00007ffff76cfdc5 in void std::__invoke_impl(std::__invoke_memfun_deref, void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #7 0x00007ffff76cfcd7 in std::__invoke_result::type std::__invoke(void (rclcpp::executors::MultiThreadedExecutor::*&)(unsigned long), rclcpp::executors::MultiThreadedExecutor*&, unsigned long&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #8 0x00007ffff76cfbe0 in void std::_Bind::__call(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #9 0x00007ffff76cfb37 in void std::_Bind::operator()<, void>() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #10 0x00007ffff76cfade in void std::__invoke_impl>(std::__invoke_o--Type for more, q to quit, c to continue without paging-- ther, std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #11 0x00007ffff76cfa87 in std::__invoke_result>::type std::__invoke>(std::_Bind&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #12 0x00007ffff76cfa28 in void std::thread::_Invoker > >::_M_invoke<0ul>(std::_Index_tuple<0ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #13 0x00007ffff76cf9fa in std::thread::_Invoker > >::operator()() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #14 0x00007ffff76cf9da in std::thread::_State_impl > > >::_M_run() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #15 0x00007ffff6a88de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #16 0x00007ffff64ea609 in start_thread (arg=) at pthread_create.c:477 #17 0x00007ffff68c4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 12 (Thread 0x7fffe37fe700 (LWP 1465789)): #0 futex_wait_cancelable (private=, expected=0, futex_word=0x555555987a10) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5555559879c0, cond=0x5555559879e8) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x5555559879e8, mutex=0x5555559879c0) at pthread_cond_wait.c:647 #3 0x00007ffff6a82e30 in std::condition_variable::wait(std::unique_lock&) () from /lib/x86_64-linux-gnu/libstdc++.so.6 #4 0x00007ffff5e362c9 in eprosima::fastdds::dds::detail::WaitSetImpl::wait(std::vector >&, eprosima::fastrtps::Time_t const&) () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #5 0x00007ffff5e3563a in eprosima::fastdds::dds::WaitSet::wait(std::vector >&, eprosima::fastrtps::Time_t) const () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #6 0x00007ffff628e496 in rmw_fastrtps_shared_cpp::__rmw_wait (identifier=, subscriptions=, guard_conditions=0x555555984640, services=0x555555984670, clients=0x555555984658, events=0x555555984688, wait_set=0x5555559844f0, wait_timeout=0x0) at /home/ben/projects/ros2_humble/src/ros2/rmw_fastrtps/rmw_fastrtps_shared_cpp/src/rmw_wait.cpp:127 #7 0x00007ffff62e941a in rmw_wait (subscriptions=, guard_conditions=, services=, clients=, events=, wait_set=, wait_timeout=0x0) at /home/ben/projects/ros2_humble/src/ros2/rmw_fastrtps/rmw_fastrtps_cpp/src/rmw_wait.cpp:33 #8 0x00007ffff64b730b in rmw_wait () from /home/ben/projects/ros2_humble/install/rmw_implementation/lib/librmw_implementation.so #9 0x00007ffff6c239df in rcl_wait () from /home/ben/projects/ros2_humble/install/rcl/lib/librcl.so #10 0x00007ffff76c0f72 in rclcpp::Executor::wait_for_work(std::chrono::duration >) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #11 0x00007ffff76c1c90 in rclcpp::Executor::get_next_executable(rclcpp::AnyExecutable&, std::chrono::duration >) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #12 0x00007ffff76be6e8 in rclcpp::Executor::spin_once_impl(std::chrono::duration >) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #13 0x00007ffff7850658 in rclcpp::FutureReturnCode rclcpp::Executor::spin_until_future_complete, long, std::ratio<1l, 1000l> >(std::future const&, std::chrono::duration >) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #14 0x00007ffff784db92 in rclcpp::TimeSource::NodeState::create_clock_sub()::{lambda()#1}::operator()() const () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #15 0x00007ffff78d44f4 in void std::__invoke_impl(std::__invoke_other, rclcpp::TimeSource::NodeState::create_clock_sub()::{lambda()#1}&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #16 0x00007ffff78d0b22 in std::__invoke_result::type std::__invoke(std::__invoke_result&&, (rclcpp::TimeSource::NodeState::create_clock_sub()::{lambda()#1}&&)...) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #17 0x00007ffff78cbe72 in void std::thread::_Invoker >::_M_invoke<0ul>(std::_Index_tuple<0ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #18 0x00007ffff78ba66e in std::thread::_Invoker >::operator()() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #19 0x00007ffff78b66f6 in std::thread::_State_impl > >::_M_run() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #20 0x00007ffff6a88de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #21 0x00007ffff64ea609 in start_thread (arg=) at pthread_create.c:477 --Type for more, q to quit, c to continue without paging-- #22 0x00007ffff68c4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 11 (Thread 0x7fffe3fff700 (LWP 1465788)): #0 futex_wait_cancelable (private=, expected=0, futex_word=0x7fffdc000bf0) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7fffdc000ba0, cond=0x7fffdc000bc8) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x7fffdc000bc8, mutex=0x7fffdc000ba0) at pthread_cond_wait.c:647 #3 0x00007ffff6a82e30 in std::condition_variable::wait(std::unique_lock&) () from /lib/x86_64-linux-gnu/libstdc++.so.6 #4 0x00007ffff5e362c9 in eprosima::fastdds::dds::detail::WaitSetImpl::wait(std::vector >&, eprosima::fastrtps::Time_t const&) () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #5 0x00007ffff5e3563a in eprosima::fastdds::dds::WaitSet::wait(std::vector >&, eprosima::fastrtps::Time_t) const () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #6 0x00007ffff628e496 in rmw_fastrtps_shared_cpp::__rmw_wait (identifier=, subscriptions=subscriptions@entry=0x7fffe3ffe630, guard_conditions=guard_conditions@entry=0x7fffe3ffe640, services=services@entry=0x0, clients=clients@entry=0x0, events=events@entry=0x0, wait_set=0x7fffdc000b60, wait_timeout=0x0) at /home/ben/projects/ros2_humble/src/ros2/rmw_fastrtps/rmw_fastrtps_shared_cpp/src/rmw_wait.cpp:127 #7 0x00007ffff6274903 in node_listener (context=0x5555556ed9c0) at /home/ben/projects/ros2_humble/src/ros2/rmw_fastrtps/rmw_fastrtps_shared_cpp/src/listener_thread.cpp:142 #8 0x00007ffff6a88de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #9 0x00007ffff64ea609 in start_thread (arg=) at pthread_create.c:477 #10 0x00007ffff68c4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 10 (Thread 0x7ffff1370700 (LWP 1465787)): #0 futex_wait_cancelable (private=, expected=0, futex_word=0x555555735dd8) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555555735e40, cond=0x555555735db0) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x555555735db0, mutex=0x555555735e40) at pthread_cond_wait.c:647 #3 0x00007ffff6a82e30 in std::condition_variable::wait(std::unique_lock&) () from /lib/x86_64-linux-gnu/libstdc++.so.6 #4 0x00007ffff5eaaeca in eprosima::fastdds::rtps::FlowControllerImpl::run() () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #5 0x00007ffff6a88de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #6 0x00007ffff64ea609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff68c4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 9 (Thread 0x7ffff1c51700 (LWP 1465786)): #0 0x00007ffff64f4678 in futex_abstimed_wait_cancelable (private=128, abstime=0x7ffff1c4ff40, clockid=0, expected=0, futex_word=0x7fffe0320110) at ../sysdeps/nptl/futex-internal.h:320 #1 do_futex_wait (sem=sem@entry=0x7fffe0320110, abstime=abstime@entry=0x7ffff1c4ff40, clockid=0) at sem_waitcommon.c:112 #2 0x00007ffff64f47a3 in __new_sem_wait_slow (sem=0x7fffe0320110, abstime=0x7ffff1c4ff40, clockid=0) at sem_waitcommon.c:184 #3 0x00007ffff5f82450 in eprosima::fastdds::rtps::SharedMemGlobal::Port::wait_pop(eprosima::fastdds::rtps::MultiProducerConsumerRingBuffer::Listener&, std::atomic const&, unsigned int) () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #4 0x00007ffff5f8d93f in eprosima::fastdds::rtps::SharedMemManager::Listener::pop() () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #5 0x00007ffff5f8e38c in eprosima::fastdds::rtps::SharedMemChannelResource::Receive(eprosima::fastrtps::rtps::Locator_t&) () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #6 0x00007ffff5f876d6 in eprosima::fastdds::rtps::SharedMemChannelResource::perform_listen_operation(eprosima::fastrtps::rtps::Locator_t) () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #7 0x00007ffff5f7b28a in std::thread::_State_impl > >::_M_run() () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #8 0x00007ffff6a88de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #9 0x00007ffff64ea609 in start_thread (arg=) at pthread_create.c:477 #10 0x00007ffff68c4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 8 (Thread 0x7ffff2452700 (LWP 1465785)): #0 __libc_recvmsg (flags=0, msg=0x7ffff24511c0, fd=15) at ../sysdeps/unix/sysv/linux/recvmsg.c:28 #1 __libc_recvmsg (fd=15, msg=0x7ffff24511c0, flags=0) at ../sysdeps/unix/sysv/linux/recvmsg.c:25 --Type for more, q to quit, c to continue without paging-- #2 0x00007ffff5d3e850 in eprosima::fastdds::rtps::UDPChannelResource::Receive(unsigned char*, unsigned int, unsigned int&, eprosima::fastrtps::rtps::Locator_t&) () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #3 0x00007ffff5d3ec87 in eprosima::fastdds::rtps::UDPChannelResource::perform_listen_operation(eprosima::fastrtps::rtps::Locator_t) () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #4 0x00007ffff5d3f1ba in std::thread::_State_impl > >::_M_run() () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #5 0x00007ffff6a88de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #6 0x00007ffff64ea609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff68c4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 7 (Thread 0x7ffff2c53700 (LWP 1465784)): #0 0x00007ffff64f4678 in futex_abstimed_wait_cancelable (private=128, abstime=0x7ffff2c51f40, clockid=0, expected=0, futex_word=0x7ffff589b110) at ../sysdeps/nptl/futex-internal.h:320 #1 do_futex_wait (sem=sem@entry=0x7ffff589b110, abstime=abstime@entry=0x7ffff2c51f40, clockid=0) at sem_waitcommon.c:112 #2 0x00007ffff64f47a3 in __new_sem_wait_slow (sem=0x7ffff589b110, abstime=0x7ffff2c51f40, clockid=0) at sem_waitcommon.c:184 #3 0x00007ffff5f82450 in eprosima::fastdds::rtps::SharedMemGlobal::Port::wait_pop(eprosima::fastdds::rtps::MultiProducerConsumerRingBuffer::Listener&, std::atomic const&, unsigned int) () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #4 0x00007ffff5f8d93f in eprosima::fastdds::rtps::SharedMemManager::Listener::pop() () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #5 0x00007ffff5f8e38c in eprosima::fastdds::rtps::SharedMemChannelResource::Receive(eprosima::fastrtps::rtps::Locator_t&) () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #6 0x00007ffff5f876d6 in eprosima::fastdds::rtps::SharedMemChannelResource::perform_listen_operation(eprosima::fastrtps::rtps::Locator_t) () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #7 0x00007ffff5f7b28a in std::thread::_State_impl > >::_M_run() () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #8 0x00007ffff6a88de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #9 0x00007ffff64ea609 in start_thread (arg=) at pthread_create.c:477 #10 0x00007ffff68c4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 6 (Thread 0x7ffff3454700 (LWP 1465783)): #0 __libc_recvmsg (flags=0, msg=0x7ffff34531c0, fd=13) at ../sysdeps/unix/sysv/linux/recvmsg.c:28 #1 __libc_recvmsg (fd=13, msg=0x7ffff34531c0, flags=0) at ../sysdeps/unix/sysv/linux/recvmsg.c:25 #2 0x00007ffff5d3e850 in eprosima::fastdds::rtps::UDPChannelResource::Receive(unsigned char*, unsigned int, unsigned int&, eprosima::fastrtps::rtps::Locator_t&) () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #3 0x00007ffff5d3ec87 in eprosima::fastdds::rtps::UDPChannelResource::perform_listen_operation(eprosima::fastrtps::rtps::Locator_t) () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #4 0x00007ffff5d3f1ba in std::thread::_State_impl > >::_M_run() () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #5 0x00007ffff6a88de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #6 0x00007ffff64ea609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff68c4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 5 (Thread 0x7ffff3c55700 (LWP 1465782)): #0 __libc_recvmsg (flags=0, msg=0x7ffff3c541c0, fd=12) at ../sysdeps/unix/sysv/linux/recvmsg.c:28 #1 __libc_recvmsg (fd=12, msg=0x7ffff3c541c0, flags=0) at ../sysdeps/unix/sysv/linux/recvmsg.c:25 #2 0x00007ffff5d3e850 in eprosima::fastdds::rtps::UDPChannelResource::Receive(unsigned char*, unsigned int, unsigned int&, eprosima::fastrtps::rtps::Locator_t&) () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #3 0x00007ffff5d3ec87 in eprosima::fastdds::rtps::UDPChannelResource::perform_listen_operation(eprosima::fastrtps::rtps::Locator_t) () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #4 0x00007ffff5d3f1ba in std::thread::_State_impl > >::_M_run() () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #5 0x00007ffff6a88de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 --Type for more, q to quit, c to continue without paging-- #6 0x00007ffff64ea609 in start_thread (arg=) at pthread_create.c:477 #7 0x00007ffff68c4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 4 (Thread 0x7ffff4456700 (LWP 1465781)): #0 futex_abstimed_wait_cancelable (private=, abstime=0x7ffff4455680, clockid=, expected=0, futex_word=0x5555556f7384) at ../sysdeps/nptl/futex-internal.h:320 #1 __pthread_cond_wait_common (abstime=0x7ffff4455680, clockid=, mutex=0x5555556f6470, cond=0x5555556f7358) at pthread_cond_wait.c:520 #2 __pthread_cond_timedwait (cond=0x5555556f7358, mutex=0x5555556f6470, abstime=0x7ffff4455680) at pthread_cond_wait.c:665 #3 0x00007ffff5be970e in eprosima::fastrtps::rtps::ResourceEvent::event_service() () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #4 0x00007ffff6a88de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #5 0x00007ffff64ea609 in start_thread (arg=) at pthread_create.c:477 #6 0x00007ffff68c4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7ffff4cde700 (LWP 1465780)): #0 futex_abstimed_wait_cancelable (private=, abstime=0x7ffff4cdd680, clockid=, expected=0, futex_word=0x5555556f4fb0) at ../sysdeps/nptl/futex-internal.h:320 #1 __pthread_cond_wait_common (abstime=0x7ffff4cdd680, clockid=, mutex=0x5555556f4fb8, cond=0x5555556f4f88) at pthread_cond_wait.c:520 #2 __pthread_cond_timedwait (cond=0x5555556f4f88, mutex=0x5555556f4fb8, abstime=0x7ffff4cdd680) at pthread_cond_wait.c:665 #3 0x00007ffff5f7b534 in eprosima::fastdds::rtps::SharedMemWatchdog::run() () from /home/ben/projects/ros2_humble/install/fastrtps/lib/libfastrtps.so.2.6 #4 0x00007ffff6a88de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #5 0x00007ffff64ea609 in start_thread (arg=) at pthread_create.c:477 #6 0x00007ffff68c4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7ffff54f3700 (LWP 1465779)): #0 futex_abstimed_wait_cancelable (private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x7ffff7a9e368 ) at ../sysdeps/nptl/futex-internal.h:320 #1 do_futex_wait (sem=sem@entry=0x7ffff7a9e368 , abstime=0x0, clockid=0) at sem_waitcommon.c:112 #2 0x00007ffff64f4548 in __new_sem_wait_slow (sem=0x7ffff7a9e368 , abstime=0x0, clockid=0) at sem_waitcommon.c:184 #3 0x00007ffff783ef89 in rclcpp::SignalHandler::wait_for_signal() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #4 0x00007ffff783e942 in rclcpp::SignalHandler::deferred_signal_handler() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #5 0x00007ffff783fad2 in void std::__invoke_impl(std::__invoke_memfun_deref, void (rclcpp::SignalHandler::*&&)(), rclcpp::SignalHandler*&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #6 0x00007ffff783fa00 in std::__invoke_result::type std::__invoke(void (rclcpp::SignalHandler::*&&)(), rclcpp::SignalHandler*&&) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #7 0x00007ffff783f95f in void std::thread::_Invoker >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #8 0x00007ffff783f916 in std::thread::_Invoker >::operator()() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #9 0x00007ffff783f8f6 in std::thread::_State_impl > >::_M_run() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #10 0x00007ffff6a88de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #11 0x00007ffff64ea609 in start_thread (arg=) at pthread_create.c:477 #12 0x00007ffff68c4133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7ffff630ff40 (LWP 1465291)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe9090, private=0) at lowlevellock.c:52 #1 0x00007ffff64ed0a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe9090) at ../nptl/pthread_mutex_lock.c:80 #2 0x00005555555aeaa7 in __gthread_mutex_lock (__mutex=) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=) at /usr/include/c++/9/bits/std_mutex.h:100 #4 0x00007ffff7e1ba3a in std::lock_guard::lock_guard(std::mutex&) () from /home/ben/projects/ros2_humble/install/tf2_ros/lib/libtf2_ros.so #5 0x00007ffff76cd97e in rclcpp::executors::MultiThreadedExecutor::run(unsigned long) () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so #6 0x00007ffff76cd771 in rclcpp::executors::MultiThreadedExecutor::spin() () from /home/ben/projects/ros2_humble/install/rclcpp/lib/librclcpp.so --Type for more, q to quit, c to continue without paging-- #7 0x000055555558e794 in main (argc=, argv=) at /home/ben/projects/humble/src/communication/px4_ros2_interface/src/px4_ros2_interface_node.cpp:14 ```
benjinne commented 2 years ago

Edit, here's a better stacktrace with all of ros2 built with debug flags

stack trace ``` (gdb) thread apply all backtrace Thread 27 (Thread 0x7fffd8ff9700 (LWP 1718540)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe90d0, private=0) at lowlevellock.c:52 #1 0x00007ffff75750a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe90d0) at ../nptl/pthread_mutex_lock.c:80 #2 0x00007ffff7d32aa1 in __gthread_mutex_lock (__mutex=0x7ffffffe90d0) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=0x7ffffffe90d0) at /usr/include/c++/9/bits/std_mutex.h:100 #4 std::lock_guard::lock_guard (__m=..., this=) at /usr/include/c++/9/bits/std_mutex.h:159 #5 rclcpp::executors::MultiThreadedExecutor::run (this=0x7ffffffe8e90, this_thread_number=) at /home/ben/projects/ros2_humble/src/ros2/rclcpp/rclcpp/src/rclcpp/executors/multi_threaded_executor.cpp:81 #6 0x00007ffff7a20de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #7 0x00007ffff7572609 in start_thread (arg=) at pthread_create.c:477 #8 0x00007ffff785c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 26 (Thread 0x7fffd97fa700 (LWP 1718539)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe90d0, private=0) at lowlevellock.c:52 #1 0x00007ffff75750a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe90d0) at ../nptl/pthread_mutex_lock.c:80 #2 0x00007ffff7d32aa1 in __gthread_mutex_lock (__mutex=0x7ffffffe90d0) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=0x7ffffffe90d0) at /usr/include/c++/9/bits/std_mutex.h:100 #4 std::lock_guard::lock_guard (__m=..., this=) at /usr/include/c++/9/bits/std_mutex.h:159 #5 rclcpp::executors::MultiThreadedExecutor::run (this=0x7ffffffe8e90, this_thread_number=) at /home/ben/projects/ros2_humble/src/ros2/rclcpp/rclcpp/src/rclcpp/executors/multi_threaded_executor.cpp:81 #6 0x00007ffff7a20de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #7 0x00007ffff7572609 in start_thread (arg=) at pthread_create.c:477 #8 0x00007ffff785c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 25 (Thread 0x7fffd9ffb700 (LWP 1718538)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe90d0, private=0) at lowlevellock.c:52 #1 0x00007ffff75750a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe90d0) at ../nptl/pthread_mutex_lock.c:80 #2 0x00007ffff7d32aa1 in __gthread_mutex_lock (__mutex=0x7ffffffe90d0) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 --Type for more, q to quit, c to continue without paging--c #3 std::mutex::lock (this=0x7ffffffe90d0) at /usr/include/c++/9/bits/std_mutex.h:100 #4 std::lock_guard::lock_guard (__m=..., this=) at /usr/include/c++/9/bits/std_mutex.h:159 #5 rclcpp::executors::MultiThreadedExecutor::run (this=0x7ffffffe8e90, this_thread_number=) at /home/ben/projects/ros2_humble/src/ros2/rclcpp/rclcpp/src/rclcpp/executors/multi_threaded_executor.cpp:81 #6 0x00007ffff7a20de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #7 0x00007ffff7572609 in start_thread (arg=) at pthread_create.c:477 #8 0x00007ffff785c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 24 (Thread 0x7fffda7fc700 (LWP 1718537)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe90d0, private=0) at lowlevellock.c:52 #1 0x00007ffff75750a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe90d0) at ../nptl/pthread_mutex_lock.c:80 #2 0x00007ffff7d32aa1 in __gthread_mutex_lock (__mutex=0x7ffffffe90d0) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=0x7ffffffe90d0) at /usr/include/c++/9/bits/std_mutex.h:100 #4 std::lock_guard::lock_guard (__m=..., this=) at /usr/include/c++/9/bits/std_mutex.h:159 #5 rclcpp::executors::MultiThreadedExecutor::run (this=0x7ffffffe8e90, this_thread_number=) at /home/ben/projects/ros2_humble/src/ros2/rclcpp/rclcpp/src/rclcpp/executors/multi_threaded_executor.cpp:81 #6 0x00007ffff7a20de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #7 0x00007ffff7572609 in start_thread (arg=) at pthread_create.c:477 #8 0x00007ffff785c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 23 (Thread 0x7fffdaffd700 (LWP 1718536)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe90d0, private=0) at lowlevellock.c:52 #1 0x00007ffff75750a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe90d0) at ../nptl/pthread_mutex_lock.c:80 #2 0x00007ffff7d32aa1 in __gthread_mutex_lock (__mutex=0x7ffffffe90d0) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=0x7ffffffe90d0) at /usr/include/c++/9/bits/std_mutex.h:100 #4 std::lock_guard::lock_guard (__m=..., this=) at /usr/include/c++/9/bits/std_mutex.h:159 #5 rclcpp::executors::MultiThreadedExecutor::run (this=0x7ffffffe8e90, this_thread_number=) at /home/ben/projects/ros2_humble/src/ros2/rclcpp/rclcpp/src/rclcpp/executors/multi_threaded_executor.cpp:81 #6 0x00007ffff7a20de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #7 0x00007ffff7572609 in start_thread (arg=) at pthread_create.c:477 #8 0x00007ffff785c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 22 (Thread 0x7fffdb7fe700 (LWP 1718535)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe90d0, private=0) at lowlevellock.c:52 #1 0x00007ffff75750a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe90d0) at ../nptl/pthread_mutex_lock.c:80 #2 0x00007ffff7d32aa1 in __gthread_mutex_lock (__mutex=0x7ffffffe90d0) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=0x7ffffffe90d0) at /usr/include/c++/9/bits/std_mutex.h:100 #4 std::lock_guard::lock_guard (__m=..., this=) at /usr/include/c++/9/bits/std_mutex.h:159 #5 rclcpp::executors::MultiThreadedExecutor::run (this=0x7ffffffe8e90, this_thread_number=) at /home/ben/projects/ros2_humble/src/ros2/rclcpp/rclcpp/src/rclcpp/executors/multi_threaded_executor.cpp:81 #6 0x00007ffff7a20de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #7 0x00007ffff7572609 in start_thread (arg=) at pthread_create.c:477 #8 0x00007ffff785c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 21 (Thread 0x7fffdbfff700 (LWP 1718534)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe90d0, private=0) at lowlevellock.c:52 #1 0x00007ffff75750a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe90d0) at ../nptl/pthread_mutex_lock.c:80 #2 0x00007ffff7d32aa1 in __gthread_mutex_lock (__mutex=0x7ffffffe90d0) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=0x7ffffffe90d0) at /usr/include/c++/9/bits/std_mutex.h:100 #4 std::lock_guard::lock_guard (__m=..., this=) at /usr/include/c++/9/bits/std_mutex.h:159 #5 rclcpp::executors::MultiThreadedExecutor::run (this=0x7ffffffe8e90, this_thread_number=) at /home/ben/projects/ros2_humble/src/ros2/rclcpp/rclcpp/src/rclcpp/executors/multi_threaded_executor.cpp:81 #6 0x00007ffff7a20de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #7 0x00007ffff7572609 in start_thread (arg=) at pthread_create.c:477 #8 0x00007ffff785c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 20 (Thread 0x7fffe0ff9700 (LWP 1718533)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe90d0, private=0) at lowlevellock.c:52 #1 0x00007ffff75750a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe90d0) at ../nptl/pthread_mutex_lock.c:80 #2 0x00007ffff7d32aa1 in __gthread_mutex_lock (__mutex=0x7ffffffe90d0) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=0x7ffffffe90d0) at /usr/include/c++/9/bits/std_mutex.h:100 #4 std::lock_guard::lock_guard (__m=..., this=) at /usr/include/c++/9/bits/std_mutex.h:159 #5 rclcpp::executors::MultiThreadedExecutor::run (this=0x7ffffffe8e90, this_thread_number=) at /home/ben/projects/ros2_humble/src/ros2/rclcpp/rclcpp/src/rclcpp/executors/multi_threaded_executor.cpp:81 #6 0x00007ffff7a20de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #7 0x00007ffff7572609 in start_thread (arg=) at pthread_create.c:477 #8 0x00007ffff785c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 19 (Thread 0x7fffe17fa700 (LWP 1718532)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe90d0, private=0) at lowlevellock.c:52 #1 0x00007ffff75750a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe90d0) at ../nptl/pthread_mutex_lock.c:80 #2 0x00007ffff7d32aa1 in __gthread_mutex_lock (__mutex=0x7ffffffe90d0) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=0x7ffffffe90d0) at /usr/include/c++/9/bits/std_mutex.h:100 #4 std::lock_guard::lock_guard (__m=..., this=) at /usr/include/c++/9/bits/std_mutex.h:159 #5 rclcpp::executors::MultiThreadedExecutor::run (this=0x7ffffffe8e90, this_thread_number=) at /home/ben/projects/ros2_humble/src/ros2/rclcpp/rclcpp/src/rclcpp/executors/multi_threaded_executor.cpp:81 #6 0x00007ffff7a20de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #7 0x00007ffff7572609 in start_thread (arg=) at pthread_create.c:477 #8 0x00007ffff785c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 18 (Thread 0x7fffe1ffb700 (LWP 1718531)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe90d0, private=0) at lowlevellock.c:52 #1 0x00007ffff75750a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe90d0) at ../nptl/pthread_mutex_lock.c:80 #2 0x00007ffff7d32aa1 in __gthread_mutex_lock (__mutex=0x7ffffffe90d0) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=0x7ffffffe90d0) at /usr/include/c++/9/bits/std_mutex.h:100 #4 std::lock_guard::lock_guard (__m=..., this=) at /usr/include/c++/9/bits/std_mutex.h:159 #5 rclcpp::executors::MultiThreadedExecutor::run (this=0x7ffffffe8e90, this_thread_number=) at /home/ben/projects/ros2_humble/src/ros2/rclcpp/rclcpp/src/rclcpp/executors/multi_threaded_executor.cpp:81 #6 0x00007ffff7a20de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #7 0x00007ffff7572609 in start_thread (arg=) at pthread_create.c:477 #8 0x00007ffff785c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 17 (Thread 0x7fffe27fc700 (LWP 1718530)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe90d0, private=0) at lowlevellock.c:52 #1 0x00007ffff75750a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe90d0) at ../nptl/pthread_mutex_lock.c:80 #2 0x00007ffff7d32aa1 in __gthread_mutex_lock (__mutex=0x7ffffffe90d0) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=0x7ffffffe90d0) at /usr/include/c++/9/bits/std_mutex.h:100 #4 std::lock_guard::lock_guard (__m=..., this=) at /usr/include/c++/9/bits/std_mutex.h:159 #5 rclcpp::executors::MultiThreadedExecutor::run (this=0x7ffffffe8e90, this_thread_number=) at /home/ben/projects/ros2_humble/src/ros2/rclcpp/rclcpp/src/rclcpp/executors/multi_threaded_executor.cpp:81 #6 0x00007ffff7a20de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #7 0x00007ffff7572609 in start_thread (arg=) at pthread_create.c:477 #8 0x00007ffff785c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 16 (Thread 0x7fffe2ffd700 (LWP 1718529)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe90d0, private=0) at lowlevellock.c:52 #1 0x00007ffff75750a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe90d0) at ../nptl/pthread_mutex_lock.c:80 #2 0x00007ffff7d32aa1 in __gthread_mutex_lock (__mutex=0x7ffffffe90d0) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=0x7ffffffe90d0) at /usr/include/c++/9/bits/std_mutex.h:100 #4 std::lock_guard::lock_guard (__m=..., this=) at /usr/include/c++/9/bits/std_mutex.h:159 #5 rclcpp::executors::MultiThreadedExecutor::run (this=0x7ffffffe8e90, this_thread_number=) at /home/ben/projects/ros2_humble/src/ros2/rclcpp/rclcpp/src/rclcpp/executors/multi_threaded_executor.cpp:81 #6 0x00007ffff7a20de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #7 0x00007ffff7572609 in start_thread (arg=) at pthread_create.c:477 #8 0x00007ffff785c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 15 (Thread 0x7fffe37fe700 (LWP 1718528)): #0 futex_abstimed_wait_cancelable (private=, abstime=0x7fffe37fc670, clockid=, expected=0, futex_word=0x555555a3bc50) at ../sysdeps/nptl/futex-internal.h:320 #1 __pthread_cond_wait_common (abstime=0x7fffe37fc670, clockid=, mutex=0x555555a3bc00, cond=0x555555a3bc28) at pthread_cond_wait.c:520 #2 __pthread_cond_timedwait (cond=0x555555a3bc28, mutex=0x555555a3bc00, abstime=0x7fffe37fc670) at pthread_cond_wait.c:665 #3 0x00007ffff6f9307d in __gthread_cond_timedwait (__abs_timeout=0x7fffe37fc670, __mutex=, __cond=0x555555a3bc28) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:872 #4 std::condition_variable::__wait_until_impl > > (__atime=..., __lock=..., this=0x555555a3bc28) at /usr/include/c++/9/condition_variable:188 #5 std::condition_variable::wait_until > > (__atime=..., __lock=..., this=0x555555a3bc28) at /usr/include/c++/9/condition_variable:121 #6 std::condition_variable::wait_until >, eprosima::fastdds::dds::detail::WaitSetImpl::wait(eprosima::fastdds::dds::ConditionSeq&, const Duration_t&):: > (__p=..., __atime=..., __lock=..., this=0x555555a3bc28) at /usr/include/c++/9/condition_variable:138 #7 std::condition_variable::wait_for, eprosima::fastdds::dds::detail::WaitSetImpl::wait(eprosima::fastdds::dds::ConditionSeq&, const Duration_t&):: > (__p=..., __rtime=..., __lock=..., this=0x555555a3bc28) at /usr/include/c++/9/condition_variable:166 #8 eprosima::fastdds::dds::detail::WaitSetImpl::wait (this=0x555555a3bc00, active_conditions=std::vector of length 0, capacity 0, timeout=...) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/src/cpp/fastdds/core/condition/WaitSetImpl.cpp:137 #9 0x00007ffff6f9295a in eprosima::fastdds::dds::WaitSet::wait (this=this@entry=0x555555a257c0, active_conditions=std::vector of length 0, capacity 0, timeout=...) at /usr/include/c++/9/bits/unique_ptr.h:360 #10 0x00007ffff7361496 in rmw_fastrtps_shared_cpp::__rmw_wait (identifier=, subscriptions=, guard_conditions=0x555555a3b650, services=0x555555a3b680, clients=0x555555a3b668, events=0x555555a3b698, wait_set=0x555555a3b570, wait_timeout=0x7fffe37fc890) at /home/ben/projects/ros2_humble/src/ros2/rmw_fastrtps/rmw_fastrtps_shared_cpp/src/rmw_wait.cpp:127 #11 0x00007ffff73bc41a in rmw_wait (subscriptions=, guard_conditions=, services=, clients=, events=, wait_set=, wait_timeout=0x7fffe37fc890) at /home/ben/projects/ros2_humble/src/ros2/rmw_fastrtps/rmw_fastrtps_cpp/src/rmw_wait.cpp:33 #12 0x00007ffff7bb53a8 in rcl_wait (wait_set=wait_set@entry=0x7ffffffe8f38, timeout=timeout@entry=-1) at /home/ben/projects/ros2_humble/src/ros2/rcl/rcl/src/rcl/wait.c:595 #13 0x00007ffff7d2e8a1 in rclcpp::Executor::wait_for_work (this=0x7ffffffe8e90, timeout=...) at /usr/include/c++/9/chrono:331 #14 0x00007ffff7d2ed63 in rclcpp::Executor::get_next_executable (this=0x7ffffffe8e90, any_executable=..., timeout=...) at /home/ben/projects/ros2_humble/src/ros2/rclcpp/rclcpp/src/rclcpp/executor.cpp:906 #15 0x00007ffff7d32b2e in rclcpp::executors::MultiThreadedExecutor::run (this=0x7ffffffe8e90, this_thread_number=) at /home/ben/projects/ros2_humble/src/ros2/rclcpp/rclcpp/src/rclcpp/executors/multi_threaded_executor.cpp:85 #16 0x00007ffff7a20de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #17 0x00007ffff7572609 in start_thread (arg=) at pthread_create.c:477 #18 0x00007ffff785c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 14 (Thread 0x7fffe3fff700 (LWP 1718527)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe90d0, private=0) at lowlevellock.c:52 #1 0x00007ffff75750a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe90d0) at ../nptl/pthread_mutex_lock.c:80 #2 0x00007ffff7d32aa1 in __gthread_mutex_lock (__mutex=0x7ffffffe90d0) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=0x7ffffffe90d0) at /usr/include/c++/9/bits/std_mutex.h:100 #4 std::lock_guard::lock_guard (__m=..., this=) at /usr/include/c++/9/bits/std_mutex.h:159 #5 rclcpp::executors::MultiThreadedExecutor::run (this=0x7ffffffe8e90, this_thread_number=) at /home/ben/projects/ros2_humble/src/ros2/rclcpp/rclcpp/src/rclcpp/executors/multi_threaded_executor.cpp:81 #6 0x00007ffff7a20de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #7 0x00007ffff7572609 in start_thread (arg=) at pthread_create.c:477 #8 0x00007ffff785c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 13 (Thread 0x7ffff0bd7700 (LWP 1718526)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe90d0, private=0) at lowlevellock.c:52 #1 0x00007ffff75750a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe90d0) at ../nptl/pthread_mutex_lock.c:80 #2 0x00007ffff7d32aa1 in __gthread_mutex_lock (__mutex=0x7ffffffe90d0) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=0x7ffffffe90d0) at /usr/include/c++/9/bits/std_mutex.h:100 #4 std::lock_guard::lock_guard (__m=..., this=) at /usr/include/c++/9/bits/std_mutex.h:159 #5 rclcpp::executors::MultiThreadedExecutor::run (this=0x7ffffffe8e90, this_thread_number=) at /home/ben/projects/ros2_humble/src/ros2/rclcpp/rclcpp/src/rclcpp/executors/multi_threaded_executor.cpp:81 #6 0x00007ffff7a20de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #7 0x00007ffff7572609 in start_thread (arg=) at pthread_create.c:477 #8 0x00007ffff785c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 12 (Thread 0x7ffff1516700 (LWP 1718525)): #0 futex_wait_cancelable (private=, expected=0, futex_word=0x555555941620) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5555559415d0, cond=0x5555559415f8) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x5555559415f8, mutex=0x5555559415d0) at pthread_cond_wait.c:647 #3 0x00007ffff7a1ae30 in std::condition_variable::wait(std::unique_lock&) () from /lib/x86_64-linux-gnu/libstdc++.so.6 #4 0x00007ffff6f931f7 in std::condition_variable::wait > (__p=..., __lock=..., this=0x5555559415f8) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/src/cpp/fastdds/core/condition/WaitSetImpl.cpp:116 #5 eprosima::fastdds::dds::detail::WaitSetImpl::wait (this=0x5555559415d0, active_conditions=std::vector of length 0, capacity 0, timeout=...) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/src/cpp/fastdds/core/condition/WaitSetImpl.cpp:131 #6 0x00007ffff6f9295a in eprosima::fastdds::dds::WaitSet::wait (this=this@entry=0x55555592d9a0, active_conditions=std::vector of length 0, capacity 0, timeout=...) at /usr/include/c++/9/bits/unique_ptr.h:360 #7 0x00007ffff7361496 in rmw_fastrtps_shared_cpp::__rmw_wait (identifier=, subscriptions=, guard_conditions=0x55555593e210, services=0x55555593e240, clients=0x55555593e228, events=0x55555593e258, wait_set=0x55555593e0c0, wait_timeout=0x0) at /home/ben/projects/ros2_humble/src/ros2/rmw_fastrtps/rmw_fastrtps_shared_cpp/src/rmw_wait.cpp:127 #8 0x00007ffff73bc41a in rmw_wait (subscriptions=, guard_conditions=, services=, clients=, events=, wait_set=, wait_timeout=0x0) at /home/ben/projects/ros2_humble/src/ros2/rmw_fastrtps/rmw_fastrtps_cpp/src/rmw_wait.cpp:33 #9 0x00007ffff7bb53a8 in rcl_wait (wait_set=wait_set@entry=0x55555591f1a8, timeout=timeout@entry=-1000000) at /home/ben/projects/ros2_humble/src/ros2/rcl/rcl/src/rcl/wait.c:595 #10 0x00007ffff7d2e8a1 in rclcpp::Executor::wait_for_work (this=0x55555591f100, timeout=...) at /usr/include/c++/9/chrono:331 #11 0x00007ffff7d2ed63 in rclcpp::Executor::get_next_executable (this=0x55555591f100, any_executable=..., timeout=...) at /home/ben/projects/ros2_humble/src/ros2/rclcpp/rclcpp/src/rclcpp/executor.cpp:906 #12 0x00007ffff7d311b2 in rclcpp::Executor::spin_once_impl (this=0x55555591f100, timeout=...) at /home/ben/projects/ros2_humble/src/ros2/rclcpp/rclcpp/src/rclcpp/executor.cpp:465 #13 0x00007ffff7deeac3 in rclcpp::Executor::spin_until_future_complete, long, std::ratio<1l, 1000l> > (this=0x55555591f100, future=..., timeout=..., timeout@entry=...) at /usr/include/c++/9/ext/atomicity.h:82 #14 0x00007ffff7deef02 in rclcpp::TimeSource::NodeState::create_clock_sub()::{lambda()#1}::operator()() const (__closure=0x55555593d098) at /usr/include/c++/9/chrono:331 #15 std::__invoke_impl(std::__invoke_other, rclcpp::TimeSource::NodeState::create_clock_sub()::{lambda()#1}&&) (__f=...) at /usr/include/c++/9/bits/invoke.h:60 #16 std::__invoke(std::__invoke_result&&, (rclcpp::TimeSource::NodeState::create_clock_sub()::{lambda()#1}&&)...) (__fn=...) at /usr/include/c++/9/bits/invoke.h:95 #17 std::thread::_Invoker >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x55555593d098) at /usr/include/c++/9/thread:244 #18 std::thread::_Invoker >::operator()() (this=0x55555593d098) at /usr/include/c++/9/thread:251 #19 std::thread::_State_impl > >::_M_run() (this=0x55555593d090) at /usr/include/c++/9/thread:195 #20 0x00007ffff7a20de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #21 0x00007ffff7572609 in start_thread (arg=) at pthread_create.c:477 #22 0x00007ffff785c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 11 (Thread 0x7ffff1d7a700 (LWP 1718518)): #0 futex_wait_cancelable (private=, expected=0, futex_word=0x7fffe4000bf0) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7fffe4000ba0, cond=0x7fffe4000bc8) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x7fffe4000bc8, mutex=0x7fffe4000ba0) at pthread_cond_wait.c:647 #3 0x00007ffff7a1ae30 in std::condition_variable::wait(std::unique_lock&) () from /lib/x86_64-linux-gnu/libstdc++.so.6 #4 0x00007ffff6f931f7 in std::condition_variable::wait > (__p=..., __lock=..., this=0x7fffe4000bc8) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/src/cpp/fastdds/core/condition/WaitSetImpl.cpp:116 #5 eprosima::fastdds::dds::detail::WaitSetImpl::wait (this=0x7fffe4000ba0, active_conditions=std::vector of length 0, capacity 0, timeout=...) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/src/cpp/fastdds/core/condition/WaitSetImpl.cpp:131 #6 0x00007ffff6f9295a in eprosima::fastdds::dds::WaitSet::wait (this=this@entry=0x7fffe4000b80, active_conditions=std::vector of length 0, capacity 0, timeout=...) at /usr/include/c++/9/bits/unique_ptr.h:360 #7 0x00007ffff7361496 in rmw_fastrtps_shared_cpp::__rmw_wait (identifier=, subscriptions=subscriptions@entry=0x7ffff1d79630, guard_conditions=guard_conditions@entry=0x7ffff1d79640, services=services@entry=0x0, clients=clients@entry=0x0, events=events@entry=0x0, wait_set=0x7fffe4000b60, wait_timeout=0x0) at /home/ben/projects/ros2_humble/src/ros2/rmw_fastrtps/rmw_fastrtps_shared_cpp/src/rmw_wait.cpp:127 #8 0x00007ffff7347903 in node_listener (context=0x5555556eac70) at /home/ben/projects/ros2_humble/src/ros2/rmw_fastrtps/rmw_fastrtps_shared_cpp/src/listener_thread.cpp:142 #9 0x00007ffff7a20de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #10 0x00007ffff7572609 in start_thread (arg=) at pthread_create.c:477 #11 0x00007ffff785c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 10 (Thread 0x7ffff257b700 (LWP 1718513)): #0 futex_wait_cancelable (private=, expected=0, futex_word=0x5555556fdf7c) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5555556fdfe0, cond=0x5555556fdf50) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x5555556fdf50, mutex=0x5555556fdfe0) at pthread_cond_wait.c:647 #3 0x00007ffff7a1ae30 in std::condition_variable::wait(std::unique_lock&) () from /lib/x86_64-linux-gnu/libstdc++.so.6 #4 0x00007ffff7001516 in eprosima::fastdds::rtps::FlowControllerAsyncPublishMode::wait (lock=..., this=0x5555556fdf38) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/src/cpp/rtps/flowcontrol/FlowControllerImpl.hpp:222 #5 eprosima::fastdds::rtps::FlowControllerImpl::run (this=0x5555556fd850) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/src/cpp/rtps/flowcontrol/FlowControllerImpl.hpp:1290 #6 0x00007ffff7a20de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #7 0x00007ffff7572609 in start_thread (arg=) at pthread_create.c:477 #8 0x00007ffff785c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 9 (Thread 0x7ffff2e5c700 (LWP 1718512)): #0 0x00007ffff757c678 in futex_abstimed_wait_cancelable (private=128, abstime=0x7ffff2e5aef0, clockid=0, expected=0, futex_word=0x7ffff6aa9110) at ../sysdeps/nptl/futex-internal.h:320 #1 do_futex_wait (sem=sem@entry=0x7ffff6aa9110, abstime=abstime@entry=0x7ffff2e5aef0, clockid=0) at sem_waitcommon.c:112 #2 0x00007ffff757c7a3 in __new_sem_wait_slow (sem=sem@entry=0x7ffff6aa9110, abstime=abstime@entry=0x7ffff2e5aef0, clockid=0) at sem_waitcommon.c:184 #3 0x00007ffff757c84a in sem_timedwait (sem=sem@entry=0x7ffff6aa9110, abstime=abstime@entry=0x7ffff2e5aef0) at sem_timedwait.c:40 #4 0x00007ffff70b5e2a in boost::interprocess::ipcdetail::semaphore_timed_wait (abs_time=..., handle=0x7ffff6aa9110) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/thirdparty/boost/include/boost/interprocess/sync/posix/semaphore_wrapper.hpp:226 #5 boost::interprocess::ipcdetail::posix_semaphore::timed_wait (abs_time=..., this=0x7ffff6aa9110) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/thirdparty/boost/include/boost/interprocess/sync/posix/semaphore.hpp:55 #6 boost::interprocess::interprocess_semaphore::timed_wait (abs_time=..., this=0x7ffff6aa9110) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/thirdparty/boost/include/boost/interprocess/sync/interprocess_semaphore.hpp:139 #7 eprosima::fastdds::rtps::RobustInterprocessCondition::do_timed_wait (mut=..., abs_time=..., this=0x7ffff6aa4138) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/src/cpp/utils/shared_memory/RobustInterprocessCondition.hpp:398 #8 eprosima::fastdds::rtps::RobustInterprocessCondition::timed_wait, eprosima::fastdds::rtps::SharedMemGlobal::Port::wait_pop(eprosima::fastdds::rtps::MultiProducerConsumerRingBuffer::Listener&, std::atomic const&, unsigned int)::{lambda()#1}>(std::unique_lock&, boost::posix_time::ptime const&, eprosima::fastdds::rtps::SharedMemGlobal::Port::wait_pop(eprosima::fastdds::rtps::MultiProducerConsumerRingBuffer::Listener&, std::atomic const&, unsigned int)::{lambda()#1}) (pred=..., abs_time=..., lock=..., this=0x7ffff6aa4138) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/src/cpp/utils/shared_memory/RobustInterprocessCondition.hpp:148 #9 eprosima::fastdds::rtps::SharedMemGlobal::Port::wait_pop (this=, listener=..., is_listener_closed=..., listener_index=) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/src/cpp/rtps/transport/shared_mem/SharedMemGlobal.hpp:576 #10 0x00007ffff70c274f in eprosima::fastdds::rtps::SharedMemManager::Listener::pop (this=0x5555556f9a40) at /usr/include/c++/9/bits/unique_ptr.h:360 #11 0x00007ffff70c318c in eprosima::fastdds::rtps::SharedMemChannelResource::Receive (this=0x5555556f9a80, remote_locator=...) at /usr/include/c++/9/bits/shared_ptr_base.h:1020 #12 0x00007ffff70bc4db in eprosima::fastdds::rtps::SharedMemChannelResource::perform_listen_operation (this=0x5555556f9a80, input_locator=...) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/src/cpp/rtps/transport/shared_mem/SharedMemChannelResource.hpp:133 #13 0x00007ffff70b15aa in std::__invoke_impl (__t=, __f=) at /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34 #14 std::__invoke (__fn=) at /usr/include/c++/9/bits/invoke.h:95 #15 std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul> (this=) at /usr/include/c++/9/thread:244 #16 std::thread::_Invoker >::operator() (this=) at /usr/include/c++/9/thread:251 #17 std::thread::_State_impl > >::_M_run (this=) at /usr/include/c++/9/thread:195 #18 0x00007ffff7a20de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #19 0x00007ffff7572609 in start_thread (arg=) at pthread_create.c:477 #20 0x00007ffff785c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 8 (Thread 0x7ffff365d700 (LWP 1718511)): #0 __libc_recvmsg (flags=0, msg=0x7ffff365c1d0, fd=15) at ../sysdeps/unix/sysv/linux/recvmsg.c:28 #1 __libc_recvmsg (fd=fd@entry=15, msg=msg@entry=0x7ffff365c1d0, flags=flags@entry=0) at ../sysdeps/unix/sysv/linux/recvmsg.c:25 #2 0x00007ffff6ea668f in asio::detail::socket_ops::recvfrom (ec=..., addrlen=, addr=0x7ffff365c210, flags=0, count=1, bufs=0x7ffff365c1b0, s=15) at /usr/include/asio/detail/impl/socket_ops.ipp:939 #3 asio::detail::socket_ops::sync_recvfrom (ec=..., addrlen=, addr=, flags=, count=, bufs=, state=, s=) at /usr/include/asio/detail/impl/socket_ops.ipp:961 #4 asio::detail::socket_ops::sync_recvfrom (ec=..., addrlen=, addr=0x7ffff365c210, flags=0, count=1, bufs=0x7ffff365c1b0, state=, s=15) at /usr/include/asio/detail/impl/socket_ops.ipp:947 #5 asio::detail::reactive_socket_service::receive_from (flags=0, this=, impl=..., impl=..., ec=..., sender_endpoint=..., buffers=...) at /usr/include/asio/detail/reactive_socket_service.hpp:298 #6 asio::basic_datagram_socket::receive_from (sender_endpoint=..., buffers=..., this=0x5555556f9230) at /usr/include/asio/basic_datagram_socket.hpp:858 #7 eprosima::fastdds::rtps::UDPChannelResource::Receive (this=0x5555556f91f0, receive_buffer=0x55555571f940 "RTPS\002\002\001\017\001\017$\\\302:\nS\026", receive_buffer_capacity=, receive_buffer_size=@0x5555556f920c: 140, remote_locator=...) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/src/cpp/rtps/transport/UDPChannelResource.cpp:91 #8 0x00007ffff6ea6a98 in eprosima::fastdds::rtps::UDPChannelResource::perform_listen_operation (this=0x5555556f91f0, input_locator=...) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/src/cpp/rtps/transport/UDPChannelResource.cpp:62 #9 0x00007ffff6ea700a in std::__invoke_impl (__t=, __f=) at /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34 #10 std::__invoke (__fn=) at /usr/include/c++/9/bits/invoke.h:95 #11 std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul> (this=) at /usr/include/c++/9/thread:244 #12 std::thread::_Invoker >::operator() (this=) at /usr/include/c++/9/thread:251 #13 std::thread::_State_impl > >::_M_run (this=) at /usr/include/c++/9/thread:195 #14 0x00007ffff7a20de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #15 0x00007ffff7572609 in start_thread (arg=) at pthread_create.c:477 #16 0x00007ffff785c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 7 (Thread 0x7ffff3e5e700 (LWP 1718510)): #0 0x00007ffff757c678 in futex_abstimed_wait_cancelable (private=128, abstime=0x7ffff3e5cef0, clockid=0, expected=0, futex_word=0x7ffff6ab6110) at ../sysdeps/nptl/futex-internal.h:320 #1 do_futex_wait (sem=sem@entry=0x7ffff6ab6110, abstime=abstime@entry=0x7ffff3e5cef0, clockid=0) at sem_waitcommon.c:112 #2 0x00007ffff757c7a3 in __new_sem_wait_slow (sem=sem@entry=0x7ffff6ab6110, abstime=abstime@entry=0x7ffff3e5cef0, clockid=0) at sem_waitcommon.c:184 #3 0x00007ffff757c84a in sem_timedwait (sem=sem@entry=0x7ffff6ab6110, abstime=abstime@entry=0x7ffff3e5cef0) at sem_timedwait.c:40 #4 0x00007ffff70b5e2a in boost::interprocess::ipcdetail::semaphore_timed_wait (abs_time=..., handle=0x7ffff6ab6110) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/thirdparty/boost/include/boost/interprocess/sync/posix/semaphore_wrapper.hpp:226 #5 boost::interprocess::ipcdetail::posix_semaphore::timed_wait (abs_time=..., this=0x7ffff6ab6110) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/thirdparty/boost/include/boost/interprocess/sync/posix/semaphore.hpp:55 #6 boost::interprocess::interprocess_semaphore::timed_wait (abs_time=..., this=0x7ffff6ab6110) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/thirdparty/boost/include/boost/interprocess/sync/interprocess_semaphore.hpp:139 #7 eprosima::fastdds::rtps::RobustInterprocessCondition::do_timed_wait (mut=..., abs_time=..., this=0x7ffff6ab1138) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/src/cpp/utils/shared_memory/RobustInterprocessCondition.hpp:398 #8 eprosima::fastdds::rtps::RobustInterprocessCondition::timed_wait, eprosima::fastdds::rtps::SharedMemGlobal::Port::wait_pop(eprosima::fastdds::rtps::MultiProducerConsumerRingBuffer::Listener&, std::atomic const&, unsigned int)::{lambda()#1}>(std::unique_lock&, boost::posix_time::ptime const&, eprosima::fastdds::rtps::SharedMemGlobal::Port::wait_pop(eprosima::fastdds::rtps::MultiProducerConsumerRingBuffer::Listener&, std::atomic const&, unsigned int)::{lambda()#1}) (pred=..., abs_time=..., lock=..., this=0x7ffff6ab1138) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/src/cpp/utils/shared_memory/RobustInterprocessCondition.hpp:148 #9 eprosima::fastdds::rtps::SharedMemGlobal::Port::wait_pop (this=, listener=..., is_listener_closed=..., listener_index=) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/src/cpp/rtps/transport/shared_mem/SharedMemGlobal.hpp:576 #10 0x00007ffff70c274f in eprosima::fastdds::rtps::SharedMemManager::Listener::pop (this=0x5555556f8c40) at /usr/include/c++/9/bits/unique_ptr.h:360 #11 0x00007ffff70c318c in eprosima::fastdds::rtps::SharedMemChannelResource::Receive (this=0x5555556f8c80, remote_locator=...) at /usr/include/c++/9/bits/shared_ptr_base.h:1020 #12 0x00007ffff70bc4db in eprosima::fastdds::rtps::SharedMemChannelResource::perform_listen_operation (this=0x5555556f8c80, input_locator=...) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/src/cpp/rtps/transport/shared_mem/SharedMemChannelResource.hpp:133 #13 0x00007ffff70b15aa in std::__invoke_impl (__t=, __f=) at /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34 #14 std::__invoke (__fn=) at /usr/include/c++/9/bits/invoke.h:95 #15 std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul> (this=) at /usr/include/c++/9/thread:244 #16 std::thread::_Invoker >::operator() (this=) at /usr/include/c++/9/thread:251 #17 std::thread::_State_impl > >::_M_run (this=) at /usr/include/c++/9/thread:195 #18 0x00007ffff7a20de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #19 0x00007ffff7572609 in start_thread (arg=) at pthread_create.c:477 #20 0x00007ffff785c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 6 (Thread 0x7ffff465f700 (LWP 1718509)): #0 __libc_recvmsg (flags=0, msg=0x7ffff465e1d0, fd=13) at ../sysdeps/unix/sysv/linux/recvmsg.c:28 #1 __libc_recvmsg (fd=fd@entry=13, msg=msg@entry=0x7ffff465e1d0, flags=flags@entry=0) at ../sysdeps/unix/sysv/linux/recvmsg.c:25 #2 0x00007ffff6ea668f in asio::detail::socket_ops::recvfrom (ec=..., addrlen=, addr=0x7ffff465e210, flags=0, count=1, bufs=0x7ffff465e1b0, s=13) at /usr/include/asio/detail/impl/socket_ops.ipp:939 #3 asio::detail::socket_ops::sync_recvfrom (ec=..., addrlen=, addr=, flags=, count=, bufs=, state=, s=) at /usr/include/asio/detail/impl/socket_ops.ipp:961 #4 asio::detail::socket_ops::sync_recvfrom (ec=..., addrlen=, addr=0x7ffff465e210, flags=0, count=1, bufs=0x7ffff465e1b0, state=, s=13) at /usr/include/asio/detail/impl/socket_ops.ipp:947 #5 asio::detail::reactive_socket_service::receive_from (flags=0, this=, impl=..., impl=..., ec=..., sender_endpoint=..., buffers=...) at /usr/include/asio/detail/reactive_socket_service.hpp:298 #6 asio::basic_datagram_socket::receive_from (sender_endpoint=..., buffers=..., this=0x5555556fa470) at /usr/include/asio/basic_datagram_socket.hpp:858 #7 eprosima::fastdds::rtps::UDPChannelResource::Receive (this=0x5555556fa430, receive_buffer=0x55555570f950 "RTPS\002\002\001\017\001\017$\\\302:\nS\027", receive_buffer_capacity=, receive_buffer_size=@0x5555556fa44c: 348, remote_locator=...) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/src/cpp/rtps/transport/UDPChannelResource.cpp:91 #8 0x00007ffff6ea6a98 in eprosima::fastdds::rtps::UDPChannelResource::perform_listen_operation (this=0x5555556fa430, input_locator=...) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/src/cpp/rtps/transport/UDPChannelResource.cpp:62 #9 0x00007ffff6ea700a in std::__invoke_impl (__t=, __f=) at /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34 #10 std::__invoke (__fn=) at /usr/include/c++/9/bits/invoke.h:95 #11 std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul> (this=) at /usr/include/c++/9/thread:244 #12 std::thread::_Invoker >::operator() (this=) at /usr/include/c++/9/thread:251 #13 std::thread::_State_impl > >::_M_run (this=) at /usr/include/c++/9/thread:195 #14 0x00007ffff7a20de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #15 0x00007ffff7572609 in start_thread (arg=) at pthread_create.c:477 #16 0x00007ffff785c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 5 (Thread 0x7ffff4e60700 (LWP 1718508)): #0 __libc_recvmsg (flags=0, msg=0x7ffff4e5f1d0, fd=12) at ../sysdeps/unix/sysv/linux/recvmsg.c:28 #1 __libc_recvmsg (fd=fd@entry=12, msg=msg@entry=0x7ffff4e5f1d0, flags=flags@entry=0) at ../sysdeps/unix/sysv/linux/recvmsg.c:25 #2 0x00007ffff6ea668f in asio::detail::socket_ops::recvfrom (ec=..., addrlen=, addr=0x7ffff4e5f210, flags=0, count=1, bufs=0x7ffff4e5f1b0, s=12) at /usr/include/asio/detail/impl/socket_ops.ipp:939 #3 asio::detail::socket_ops::sync_recvfrom (ec=..., addrlen=, addr=, flags=, count=, bufs=, state=, s=) at /usr/include/asio/detail/impl/socket_ops.ipp:961 #4 asio::detail::socket_ops::sync_recvfrom (ec=..., addrlen=, addr=0x7ffff4e5f210, flags=0, count=1, bufs=0x7ffff4e5f1b0, state=, s=12) at /usr/include/asio/detail/impl/socket_ops.ipp:947 #5 asio::detail::reactive_socket_service::receive_from (flags=0, this=, impl=..., impl=..., ec=..., sender_endpoint=..., buffers=...) at /usr/include/asio/detail/reactive_socket_service.hpp:298 #6 asio::basic_datagram_socket::receive_from (sender_endpoint=..., buffers=..., this=0x5555556fa030) at /usr/include/asio/basic_datagram_socket.hpp:858 #7 eprosima::fastdds::rtps::UDPChannelResource::Receive (this=0x5555556f9ff0, receive_buffer=0x5555556ff960 "RTPS\002\002\001\017\001\017$\\\260:\312\r\001", receive_buffer_capacity=, receive_buffer_size=@0x5555556fa00c: 364, remote_locator=...) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/src/cpp/rtps/transport/UDPChannelResource.cpp:91 #8 0x00007ffff6ea6a98 in eprosima::fastdds::rtps::UDPChannelResource::perform_listen_operation (this=0x5555556f9ff0, input_locator=...) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/src/cpp/rtps/transport/UDPChannelResource.cpp:62 #9 0x00007ffff6ea700a in std::__invoke_impl (__t=, __f=) at /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34 #10 std::__invoke (__fn=) at /usr/include/c++/9/bits/invoke.h:95 #11 std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul> (this=) at /usr/include/c++/9/thread:244 #12 std::thread::_Invoker >::operator() (this=) at /usr/include/c++/9/thread:251 #13 std::thread::_State_impl > >::_M_run (this=) at /usr/include/c++/9/thread:195 #14 0x00007ffff7a20de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #15 0x00007ffff7572609 in start_thread (arg=) at pthread_create.c:477 #16 0x00007ffff785c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 4 (Thread 0x7ffff5661700 (LWP 1718507)): #0 futex_abstimed_wait_cancelable (private=, abstime=0x7ffff5660680, clockid=, expected=0, futex_word=0x5555556f2688) at ../sysdeps/nptl/futex-internal.h:320 #1 __pthread_cond_wait_common (abstime=0x7ffff5660680, clockid=, mutex=0x5555556cb680, cond=0x5555556f2660) at pthread_cond_wait.c:520 #2 __pthread_cond_timedwait (cond=0x5555556f2660, mutex=0x5555556cb680, abstime=0x7ffff5660680) at pthread_cond_wait.c:665 #3 0x00007ffff6d62d3e in __gthread_cond_timedwait (__abs_timeout=0x7ffff5660680, __mutex=, __cond=0x5555556f2660) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:872 #4 std::condition_variable::__wait_until_impl > > (__atime=..., __lock=..., this=0x5555556f2660) at /usr/include/c++/9/condition_variable:188 #5 std::condition_variable::wait_until > > (__atime=..., __lock=..., this=0x5555556f2660) at /usr/include/c++/9/condition_variable:121 #6 std::_V2::condition_variable_any::wait_until, std::chrono::_V2::steady_clock, std::chrono::duration > > (__atime=..., __lock=..., this=0x5555556f2660) at /usr/include/c++/9/condition_variable:296 #7 eprosima::fastrtps::rtps::ResourceEvent::event_service (this=0x5555556f25e8) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/src/cpp/rtps/resources/ResourceEvent.cpp:190 #8 0x00007ffff7a20de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #9 0x00007ffff7572609 in start_thread (arg=) at pthread_create.c:477 #10 0x00007ffff785c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7ffff5ee9700 (LWP 1718506)): #0 futex_abstimed_wait_cancelable (private=, abstime=0x7ffff5ee8680, clockid=, expected=0, futex_word=0x5555556f1e00) at ../sysdeps/nptl/futex-internal.h:320 #1 __pthread_cond_wait_common (abstime=0x7ffff5ee8680, clockid=, mutex=0x5555556f1e08, cond=0x5555556f1dd8) at pthread_cond_wait.c:520 #2 __pthread_cond_timedwait (cond=0x5555556f1dd8, mutex=0x5555556f1e08, abstime=0x7ffff5ee8680) at pthread_cond_wait.c:665 #3 0x00007ffff70b1754 in __gthread_cond_timedwait (__abs_timeout=0x7ffff5ee8680, __mutex=, __cond=0x5555556f1dd8) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:872 #4 std::condition_variable::__wait_until_impl > > (__atime=..., __lock=..., this=0x5555556f1dd8) at /usr/include/c++/9/condition_variable:188 #5 std::condition_variable::wait_until > > (__atime=..., __lock=..., this=0x5555556f1dd8) at /usr/include/c++/9/condition_variable:121 #6 std::condition_variable::wait_until >, eprosima::fastdds::rtps::SharedMemWatchdog::run()::{lambda()#1}>(std::unique_lock&, std::chrono::time_point > > const&, eprosima::fastdds::rtps::SharedMemWatchdog::run()::{lambda()#1}) (__p=..., __atime=..., __lock=..., this=0x5555556f1dd8) at /usr/include/c++/9/condition_variable:138 #7 std::condition_variable::wait_for, eprosima::fastdds::rtps::SharedMemWatchdog::run()::{lambda()#1}>(std::unique_lock&, std::chrono::duration > const&, eprosima::fastdds::rtps::SharedMemWatchdog::run()::{lambda()#1}) (__p=..., __rtime=..., __lock=..., this=0x5555556f1dd8) at /usr/include/c++/9/condition_variable:166 #8 eprosima::fastdds::rtps::SharedMemWatchdog::run (this=0x5555556f1d70) at /home/ben/projects/ros2_humble/src/eProsima/Fast-DDS/src/cpp/utils/shared_memory/SharedMemWatchdog.hpp:129 #9 0x00007ffff7a20de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #10 0x00007ffff7572609 in start_thread (arg=) at pthread_create.c:477 #11 0x00007ffff785c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7ffff66ea700 (LWP 1718505)): #0 futex_abstimed_wait_cancelable (private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x7ffff7e84148 ) at ../sysdeps/nptl/futex-internal.h:320 #1 do_futex_wait (sem=sem@entry=0x7ffff7e84148 , abstime=0x0, clockid=0) at sem_waitcommon.c:112 #2 0x00007ffff757c548 in __new_sem_wait_slow (sem=sem@entry=0x7ffff7e84148 , abstime=0x0, clockid=0) at sem_waitcommon.c:184 #3 0x00007ffff757c5c1 in __new_sem_wait (sem=sem@entry=0x7ffff7e84148 ) at sem_wait.c:42 #4 0x00007ffff7ddde32 in rclcpp::SignalHandler::wait_for_signal (this=0x7ffff7e83fc0 ) at /home/ben/projects/ros2_humble/src/ros2/rclcpp/rclcpp/src/rclcpp/signal_handler.cpp:359 #5 0x00007ffff7ddedbc in rclcpp::SignalHandler::deferred_signal_handler (this=) at /home/ben/projects/ros2_humble/src/ros2/rclcpp/rclcpp/src/rclcpp/signal_handler.cpp:279 #6 0x00007ffff7a20de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6 #7 0x00007ffff7572609 in start_thread (arg=) at pthread_create.c:477 #8 0x00007ffff785c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7ffff73e2f40 (LWP 1718496)): #0 __lll_lock_wait (futex=futex@entry=0x7ffffffe90d0, private=0) at lowlevellock.c:52 #1 0x00007ffff75750a3 in __GI___pthread_mutex_lock (mutex=0x7ffffffe90d0) at ../nptl/pthread_mutex_lock.c:80 #2 0x00007ffff7d32aa1 in __gthread_mutex_lock (__mutex=0x7ffffffe90d0) at /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:749 #3 std::mutex::lock (this=0x7ffffffe90d0) at /usr/include/c++/9/bits/std_mutex.h:100 #4 std::lock_guard::lock_guard (__m=..., this=) at /usr/include/c++/9/bits/std_mutex.h:159 #5 rclcpp::executors::MultiThreadedExecutor::run (this=0x7ffffffe8e90, this_thread_number=) at /home/ben/projects/ros2_humble/src/ros2/rclcpp/rclcpp/src/rclcpp/executors/multi_threaded_executor.cpp:81 #6 0x00007ffff7d32f95 in rclcpp::executors::MultiThreadedExecutor::spin (this=0x7ffffffe8e90) at /home/ben/projects/ros2_humble/src/ros2/rclcpp/rclcpp/src/rclcpp/executors/multi_threaded_executor.cpp:62 #7 0x000055555558e794 in main (argc=, argv=) at /home/ben/projects/humble/src/communication/px4_ros2_interface/src/px4_ros2_interface_node.cpp:14 ```
MiguelCompany commented 1 year ago

@benjinne I think this might have been solved by eProsima/Fast-DDS#3194 and its corresponding backports (eProsima/Fast-DDS#3195) for Humble.

Could you try?

benjinne commented 1 year ago

@benjinne I think this might have been solved by eProsima/Fast-DDS#3194 and its corresponding backports (eProsima/Fast-DDS#3195) for Humble.

Could you try?

I'm having a hard time replicating the issue. Sometimes it takes over 10 minutes for it to happen and I have to leave my computer run for a while. I can give this a try and let it run for an hour and see what happens

benjinne commented 1 year ago

@MiguelCompany is there an easy way to check which fast-dds version is being used for a binary install of ros2?

benjinne commented 1 year ago

I believe those fastdds changes helped. Everything is running more smoothly and no crashes after running for an hour. I'd say it's fixed.

clalancette commented 1 year ago

Given the latest comments, I'm going to say that this is a duplicate of #650 , and close it as such.