We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_qos_event__rmw_zenoh_cpp
While testing test_qos_event__rmw_zenoh_cpp I found this ugly error. Even If I skipped all tests the error is still there
130: thread '<unnamed>' panicked at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:246:26: 130: cannot access a Thread Local Storage value during or after destruction: AccessError 130: stack backtrace: 130: 0: rust_begin_unwind 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5 130: 1: core::panicking::panic_fmt 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:72:14 130: 2: core::result::unwrap_failed 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1649:5 130: 3: core::result::Result<T,E>::expect 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1030:23 130: 4: std::thread::local::LocalKey<T>::with 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:246:9 130: 5: tokio::runtime::context::runtime_mt::current_enter_context 130: at /home/ahcorde/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/context/runtime_mt.rs:5:5 130: 6: tokio::runtime::scheduler::multi_thread::worker::block_in_place::{{closure}} 130: at /home/ahcorde/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/multi_thread/worker.rs:355:13 130: 7: tokio::runtime::scheduler::multi_thread::worker::with_current::{{closure}} 130: at /home/ahcorde/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/multi_thread/worker.rs:1223:14 130: 8: tokio::runtime::context::with_scheduler::{{closure}} 130: at /home/ahcorde/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/context.rs:183:33 130: 9: core::result::Result<T,E>::unwrap_or_else 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1426:23 130: 10: tokio::runtime::context::with_scheduler 130: at /home/ahcorde/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/context.rs:182:9 130: 11: tokio::runtime::scheduler::multi_thread::worker::with_current 130: at /home/ahcorde/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/multi_thread/worker.rs:1221:5 130: 12: tokio::runtime::scheduler::multi_thread::worker::block_in_place 130: at /home/ahcorde/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/multi_thread/worker.rs:353:24 130: 13: tokio::runtime::scheduler::block_in_place::block_in_place 130: at /home/ahcorde/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/block_in_place.rs:20:5 130: 14: tokio::task::blocking::block_in_place 130: at /home/ahcorde/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/task/blocking.rs:78:9 130: 15: zenoh_runtime::ZRuntime::block_in_place 130: at /home/ahcorde/.cargo/git/checkouts/zenoh-cc237f2570fab813/e66745e/commons/zenoh-runtime/src/lib.rs:130:9 130: 16: <zenoh_core::ResolveFuture<F,To> as zenoh_core::SyncResolve>::res_sync 130: at /home/ahcorde/.cargo/git/checkouts/zenoh-cc237f2570fab813/e66745e/commons/zenoh-core/src/lib.rs:166:9 130: 17: zenoh_core::SyncResolve::res 130: at /home/ahcorde/.cargo/git/checkouts/zenoh-cc237f2570fab813/e66745e/commons/zenoh-core/src/lib.rs:57:9 130: 18: z_close 130: at /home/ahcorde/ros2_rolling/build/zenoh_c_vendor/zenoh_c_vendor-prefix/src/zenoh_c_vendor/src/session.rs:144:11 130: 19: rmw_shutdown 130: at /home/ahcorde/ros2_rolling/src/ros2/rmw_zenoh/rmw_zenoh_cpp/src/rmw_init.cpp:415:14 130: 20: rmw_shutdown 130: at /home/ahcorde/ros2_rolling/src/ros2/rmw_implementation/rmw_implementation/src/functions.cpp:248:1 130: 21: rcl_shutdown 130: at /home/ahcorde/ros2_rolling/src/ros2/rcl/rcl/src/rcl/init.c:294:23 130: 22: _ZN6rclcpp7Context8shutdownERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 130: at /home/ahcorde/ros2_rolling/src/ros2/rclcpp/rclcpp/src/rclcpp/context.cpp:320:31 130: 23: _ZN6rclcpp7ContextD2Ev 130: at /home/ahcorde/ros2_rolling/src/ros2/rclcpp/rclcpp/src/rclcpp/context.cpp:159:22 130: 24: _ZN6rclcpp8contexts14DefaultContextD2Ev 130: at /home/ahcorde/ros2_rolling/src/ros2/rclcpp/rclcpp/include/rclcpp/contexts/default_context.hpp:26:7 130: 25: _ZN9__gnu_cxx13new_allocatorIN6rclcpp8contexts14DefaultContextEE7destroyIS3_EEvPT_ 130: at /usr/include/c++/11/ext/new_allocator.h:168:13 130: 26: _ZNSt16allocator_traitsISaIN6rclcpp8contexts14DefaultContextEEE7destroyIS2_EEvRS3_PT_ 130: at /usr/include/c++/11/bits/alloc_traits.h:535:15 130: 27: _ZNSt23_Sp_counted_ptr_inplaceIN6rclcpp8contexts14DefaultContextESaIS2_ELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv 130: at /usr/include/c++/11/bits/shared_ptr_base.h:528:35 130: 28: _ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_releaseEv 130: at /usr/include/c++/11/bits/shared_ptr_base.h:168:16 130: 29: _ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev 130: at /usr/include/c++/11/bits/shared_ptr_base.h:705:21 130: 30: _ZNSt12__shared_ptrIN6rclcpp8contexts14DefaultContextELN9__gnu_cxx12_Lock_policyE2EED2Ev 130: at /usr/include/c++/11/bits/shared_ptr_base.h:1154:7 130: 31: _ZNSt10shared_ptrIN6rclcpp8contexts14DefaultContextEED2Ev 130: at /usr/include/c++/11/bits/shared_ptr.h:122:11 130: 32: __run_exit_handlers 130: at ./stdlib/exit.c:113:8 130: 33: __GI_exit 130: at ./stdlib/exit.c:143:3 130: 34: __libc_start_call_main 130: at ./csu/../sysdeps/nptl/libc_start_call_main.h:74:3 130: 35: __libc_start_main_impl 130: at ./csu/../csu/libc-start.c:392:3 130: 36: _start 130: note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. 130: thread '<unnamed>' panicked at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:246:26: 130: cannot access a Thread Local Storage value during or after destruction: AccessError 130: stack backtrace: 130: 0: 0x7f9caf99c6f6 - std::backtrace_rs::backtrace::libunwind::trace::hbee8a7973eeb6c93 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 130: 1: 0x7f9caf99c6f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hc8ac75eea3aa6899 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 130: 2: 0x7f9caf99c6f6 - std::sys_common::backtrace::_print_fmt::hc7f3e3b5298b1083 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:68:5 130: 3: 0x7f9caf99c6f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hbb235daedd7c6190 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:44:22 130: 4: 0x7f9caf9c7830 - core::fmt::rt::Argument::fmt::h76c38a80d925a410 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/rt.rs:142:9 130: 5: 0x7f9caf9c7830 - core::fmt::write::h3ed6aeaa977c8e45 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/mod.rs:1120:17 130: 6: 0x7f9caf999b9f - std::io::Write::write_fmt::h78b18af5775fedb5 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/io/mod.rs:1810:15 130: 7: 0x7f9caf99c4d4 - std::sys_common::backtrace::_print::h5d645a07e0fcfdbb 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:47:5 130: 8: 0x7f9caf99c4d4 - std::sys_common::backtrace::print::h85035a511aafe7a8 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:34:9 130: 9: 0x7f9caf99dd57 - std::panicking::default_hook::{{closure}}::hcce8cea212785a25 130: 10: 0x7f9caf99dab9 - std::panicking::default_hook::hf5fcb0f213fe709a 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:292:9 130: 11: 0x7f9caf99e1e8 - std::panicking::rust_panic_with_hook::h095fccf1dc9379ee 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:779:13 130: 12: 0x7f9caf99e0c2 - std::panicking::begin_panic_handler::{{closure}}::h032ba12139b353db 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:657:13 130: 13: 0x7f9caf99cbf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h9259bc2ff8fd0f76 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:171:18 130: 14: 0x7f9caf99de20 - rust_begin_unwind 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5 130: 15: 0x7f9cae5d6915 - core::panicking::panic_fmt::h784f20a50eaab275 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:72:14 130: 16: 0x7f9cae5d6f53 - core::result::unwrap_failed::h03d8a5018196e1cd 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1649:5 130: 17: 0x7f9caf940cb9 - core::result::Result<T,E>::expect::he0ae4059ebe345fc 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1030:23 130: 18: 0x7f9caf916d2b - std::thread::local::LocalKey<T>::with::hf9c3cfdae039b70e 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:246:9 130: 19: 0x7f9caf91ae5e - tokio::runtime::context::runtime_mt::current_enter_context::h7a3b12d34f614819 130: at /home/ahcorde/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/context/runtime_mt.rs:5:5 130: 20: 0x7f9cae9b3794 - tokio::runtime::scheduler::multi_thread::worker::block_in_place::{{closure}}::h0b40a4196b97f726 130: at /home/ahcorde/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/multi_thread/worker.rs:355:13 130: 21: 0x7f9cae9b2c9d - tokio::runtime::scheduler::multi_thread::worker::with_current::{{closure}}::hb31a0b60a6546707 130: at /home/ahcorde/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/multi_thread/worker.rs:1223:14 130: 22: 0x7f9cae8cf2d4 - tokio::runtime::context::with_scheduler::{{closure}}::h817e3ce4d847d19c 130: at /home/ahcorde/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/context.rs:183:33 130: 23: 0x7f9cae848682 - core::result::Result<T,E>::unwrap_or_else::haf384b285be2b314 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1426:23 130: 24: 0x7f9cae8cefbf - tokio::runtime::context::with_scheduler::hcf5de6fd88464192 130: at /home/ahcorde/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/context.rs:182:9 130: 25: 0x7f9cae9b2acb - tokio::runtime::scheduler::multi_thread::worker::with_current::h1000d0b8d933a2c3 130: at /home/ahcorde/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/multi_thread/worker.rs:1221:5 130: 26: 0x7f9cae9b3561 - tokio::runtime::scheduler::multi_thread::worker::block_in_place::hbde48014978b0056 130: at /home/ahcorde/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/multi_thread/worker.rs:353:24 130: 27: 0x7f9cae82406a - tokio::runtime::scheduler::block_in_place::block_in_place::h791dc406b37ec714 130: at /home/ahcorde/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/block_in_place.rs:20:5 130: 28: 0x7f9cae9ea46a - tokio::task::blocking::block_in_place::h802ee3a2e242392b 130: at /home/ahcorde/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/task/blocking.rs:78:9 130: 29: 0x7f9caea95624 - zenoh_runtime::ZRuntime::block_in_place::h0e3f6d1a92282460 130: at /home/ahcorde/.cargo/git/checkouts/zenoh-cc237f2570fab813/e66745e/commons/zenoh-runtime/src/lib.rs:130:9 130: 30: 0x7f9caeabfb07 - <zenoh_core::ResolveFuture<F,To> as zenoh_core::SyncResolve>::res_sync::h212fadcc83ade6af 130: at /home/ahcorde/.cargo/git/checkouts/zenoh-cc237f2570fab813/e66745e/commons/zenoh-core/src/lib.rs:166:9 130: 31: 0x7f9cae88d403 - <zenoh::session::Session as core::ops::drop::Drop>::drop::h7882cea07092087c 130: at /home/ahcorde/.cargo/git/checkouts/zenoh-cc237f2570fab813/e66745e/zenoh/src/session.rs:2529:21 130: 32: 0x7f9cae979527 - core::ptr::drop_in_place<zenoh::session::Session>::h8ca654c593cd996d 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ptr/mod.rs:507:1 130: 33: 0x7f9cae981b8b - core::ptr::drop_in_place<zenoh::session::Session::close::{{closure}}>::hcafbc6cd0709032d 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ptr/mod.rs:525:28 130: 34: 0x7f9cae9769bf - core::ptr::drop_in_place<zenoh_runtime::ZRuntime::block_in_place<zenoh::session::Session::close::{{closure}},core::result::Result<(),alloc::boxed::Box<dyn core::error::Error+core::marker::Send+core::marker::Sync>>>::{{closure}}>::h5a42453c6a418920 130: at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ptr/mod.rs:507:1 130: 35: 0x7f9cae9b376d - tokio::runtime::scheduler::multi_thread::worker::block_in_place::hbde48014978b0056 130: at /home/ahcorde/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/multi_thread/worker.rs:442:1 130: 36: 0x7f9cae82406a - tokio::runtime::scheduler::block_in_place::block_in_place::h791dc406b37ec714 130: at /home/ahcorde/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/block_in_place.rs:20:5 130: 37: 0x7f9cae9ea46a - tokio::task::blocking::block_in_place::h802ee3a2e242392b 130: at /home/ahcorde/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/task/blocking.rs:78:9 130: 38: 0x7f9caea95624 - zenoh_runtime::ZRuntime::block_in_place::h0e3f6d1a92282460 130: at /home/ahcorde/.cargo/git/checkouts/zenoh-cc237f2570fab813/e66745e/commons/zenoh-runtime/src/lib.rs:130:9 130: 39: 0x7f9caeabfb07 - <zenoh_core::ResolveFuture<F,To> as zenoh_core::SyncResolve>::res_sync::h212fadcc83ade6af 130: at /home/ahcorde/.cargo/git/checkouts/zenoh-cc237f2570fab813/e66745e/commons/zenoh-core/src/lib.rs:166:9 130: 40: 0x7f9cae6ea89a - zenoh_core::SyncResolve::res::hf9924027a6c18e7f 130: at /home/ahcorde/.cargo/git/checkouts/zenoh-cc237f2570fab813/e66745e/commons/zenoh-core/src/lib.rs:57:9 130: 41: 0x7f9cae66557b - z_close 130: at /home/ahcorde/ros2_rolling/build/zenoh_c_vendor/zenoh_c_vendor-prefix/src/zenoh_c_vendor/src/session.rs:144:11 130: 42: 0x7f9cb52af803 - rmw_shutdown 130: at /home/ahcorde/ros2_rolling/src/ros2/rmw_zenoh/rmw_zenoh_cpp/src/rmw_init.cpp:415:14 130: 43: 0x7f9cb6d9a77d - rmw_shutdown 130: at /home/ahcorde/ros2_rolling/src/ros2/rmw_implementation/rmw_implementation/src/functions.cpp:248:1 130: 44: 0x7f9cb6dc7b4c - rcl_shutdown 130: at /home/ahcorde/ros2_rolling/src/ros2/rcl/rcl/src/rcl/init.c:294:23 130: 45: 0x7f9cb799b29a - _ZN6rclcpp7Context8shutdownERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 130: at /home/ahcorde/ros2_rolling/src/ros2/rclcpp/rclcpp/src/rclcpp/context.cpp:320:31 130: 46: 0x7f9cb7999718 - _ZN6rclcpp7ContextD2Ev 130: at /home/ahcorde/ros2_rolling/src/ros2/rclcpp/rclcpp/src/rclcpp/context.cpp:159:22 130: 47: 0x7f9cb79a68c6 - _ZN6rclcpp8contexts14DefaultContextD2Ev 130: at /home/ahcorde/ros2_rolling/src/ros2/rclcpp/rclcpp/include/rclcpp/contexts/default_context.hpp:26:7 130: 48: 0x7f9cb79a6b27 - _ZN9__gnu_cxx13new_allocatorIN6rclcpp8contexts14DefaultContextEE7destroyIS3_EEvPT_ 130: at /usr/include/c++/11/ext/new_allocator.h:168:13 130: 49: 0x7f9cb79a6aeb - _ZNSt16allocator_traitsISaIN6rclcpp8contexts14DefaultContextEEE7destroyIS2_EEvRS3_PT_ 130: at /usr/include/c++/11/bits/alloc_traits.h:535:15 130: 50: 0x7f9cb79a69a7 - _ZNSt23_Sp_counted_ptr_inplaceIN6rclcpp8contexts14DefaultContextESaIS2_ELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv 130: at /usr/include/c++/11/bits/shared_ptr_base.h:528:35 130: 51: 0x559b0a4ade9d - _ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_releaseEv 130: at /usr/include/c++/11/bits/shared_ptr_base.h:168:16 130: 52: 0x559b0a4a7621 - _ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED2Ev 130: at /usr/include/c++/11/bits/shared_ptr_base.h:705:21 130: 53: 0x7f9cb7997370 - _ZNSt12__shared_ptrIN6rclcpp8contexts14DefaultContextELN9__gnu_cxx12_Lock_policyE2EED2Ev 130: at /usr/include/c++/11/bits/shared_ptr_base.h:1154:7 130: 54: 0x7f9cb7997390 - _ZNSt10shared_ptrIN6rclcpp8contexts14DefaultContextEED2Ev 130: at /usr/include/c++/11/bits/shared_ptr.h:122:11 130: 55: 0x7f9cb6645495 - __run_exit_handlers 130: at ./stdlib/exit.c:113:8 130: 56: 0x7f9cb6645610 - __GI_exit 130: at ./stdlib/exit.c:143:3 130: 57: 0x7f9cb6629d97 - __libc_start_call_main 130: at ./csu/../sysdeps/nptl/libc_start_call_main.h:74:3 130: 58: 0x7f9cb6629e40 - __libc_start_main_impl 130: at ./csu/../csu/libc-start.c:392:3 130: 59: 0x559b0a484b35 - _start 130: 60: 0x0 - <unknown> 130: thread '<unnamed>' panicked at library/core/src/panicking.rs:163:5: 130: panic in a destructor during cleanup 130: thread caused non-unwinding panic. aborting.
The text was updated successfully, but these errors were encountered:
rclcpp_lifecycle - test_state_machine_info (Failed) - test_register_custom_callbacks (Failed) - test_callback_exceptions (Failed)
Sorry, something went wrong.
Related PR ros2/rclcpp#2626
Probably same issue than #170
This should be fixed by ros2/rclcpp#2633
ahcorde
No branches or pull requests
While testing
test_qos_event__rmw_zenoh_cpp
I found this ugly error. Even If I skipped all tests the error is still thereThe text was updated successfully, but these errors were encountered: