Skip to content
New issue

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

[19265] Custom pools on DDS layer feature #3755

Merged
merged 4 commits into from
Aug 3, 2023
Merged

Conversation

JesusPoderoso
Copy link
Contributor

@JesusPoderoso JesusPoderoso commented Jul 27, 2023

Description

This pull request aims to expose the usage of a custom payload pool implementation on the DDS layer

Contributor Checklist

  • Commit messages follow the project guidelines.
  • The code follows the style guidelines of this project.
  • Tests that thoroughly check the new feature have been added/Regression tests checking the bug and its fix have been added; the added tests pass locally
  • Any new/modified methods have been properly documented using Doxygen.
  • Changes are ABI compatible.
  • Changes are API compatible.
  • New feature has been added to the versions.md file (if applicable).
  • New feature has been documented/Current behavior is correctly described in the documentation.
    Related documentation PR: [18913] Expose PayloadPool in DDSDataWriter and DDSDataReader Fast-DDS-docs#514
  • N/A Applicable backports have been included in the description.

Reviewer Checklist

  • The PR has a milestone assigned.
  • Check contributor checklist is correct.
  • Check CI results: changes do not issue any warning.
  • Check CI results: failing tests are unrelated with the changes.

@JesusPoderoso JesusPoderoso added the ci-pending PR which CI is running label Jul 27, 2023
@JesusPoderoso JesusPoderoso added this to the v2.12.0 milestone Jul 27, 2023
@JesusPoderoso JesusPoderoso self-assigned this Jul 27, 2023
MiguelCompany
MiguelCompany previously approved these changes Aug 1, 2023
@MiguelCompany
Copy link
Member

@richiprosima Please test this

@MiguelCompany
Copy link
Member

MiguelCompany commented Aug 1, 2023

The following AddressSanitizer errors are relevant:

``` [1585.482s] 751: [ RUN ] DDSBasic.endpoint_custom_payload_pools [1587.521s] 751: ================================================================= [1587.521s] 751: ==43090==ERROR: AddressSanitizer: alloc-dealloc-mismatch (operator new [] vs free) on 0x603000146140 [1588.081s] 751: #0 0x7f5fd475c517 in __interceptor_free ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:127 [1588.102s] 751: #1 0x562e5c16453b in eprosima::fastrtps::rtps::SerializedPayload_t::empty() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/include/fastdds/rtps/common/SerializedPayload.h:158 [1588.103s] 751: #2 0x562e5c164429 in eprosima::fastrtps::rtps::SerializedPayload_t::~SerializedPayload_t() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/include/fastdds/rtps/common/SerializedPayload.h:92 [1588.122s] 751: #3 0x7f5fd269a6ef in eprosima::fastrtps::rtps::CacheChange_t::~CacheChange_t() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/include/fastdds/rtps/common/CacheChange.h:184 [1588.123s] 751: #4 0x7f5fd269a70f in eprosima::fastrtps::rtps::CacheChange_t::~CacheChange_t() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/include/fastdds/rtps/common/CacheChange.h:184 [1588.124s] 751: #5 0x7f5fd269abc2 in eprosima::fastrtps::rtps::CacheChangePool::destroy_change(eprosima::fastrtps::rtps::CacheChange_t*) const /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/history/CacheChangePool.h:110 [1588.124s] 751: #6 0x7f5fd269717b in eprosima::fastrtps::rtps::CacheChangePool::~CacheChangePool() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/history/CacheChangePool.cpp:41 [1588.142s] 751: #7 0x7f5fd260f151 in void __gnu_cxx::new_allocator::destroy(eprosima::fastrtps::rtps::CacheChangePool*) /usr/include/c++/11/ext/new_allocator.h:168 [1588.142s] 751: #8 0x7f5fd260eedc in void std::allocator_traits >::destroy(std::allocator&, eprosima::fastrtps::rtps::CacheChangePool*) /usr/include/c++/11/bits/alloc_traits.h:535 [1588.142s] 751: #9 0x7f5fd260eb8e in std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::_M_dispose() /usr/include/c++/11/bits/shared_ptr_base.h:528 [1588.145s] 751: #10 0x7f5fd2471626 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release() /usr/include/c++/11/bits/shared_ptr_base.h:168 [1588.145s] 751: #11 0x7f5fd2470d2f in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/11/bits/shared_ptr_base.h:705 [1588.145s] 751: #12 0x7f5fd25ed263 in std::__shared_ptr::~__shared_ptr() /usr/include/c++/11/bits/shared_ptr_base.h:1154 [1588.145s] 751: #13 0x7f5fd25f1f30 in std::__shared_ptr::reset() /usr/include/c++/11/bits/shared_ptr_base.h:1272 [1588.145s] 751: #14 0x7f5fd25ed44c in eprosima::fastrtps::rtps::Endpoint::~Endpoint() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/include/fastdds/rtps/Endpoint.h:71 [1588.154s] 751: #15 0x7f5fd27dc7b1 in eprosima::fastrtps::rtps::RTPSReader::~RTPSReader() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/reader/RTPSReader.cpp:161 [1588.161s] 751: #16 0x7f5fd27c71bf in eprosima::fastrtps::rtps::StatelessReader::~StatelessReader() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/reader/StatelessReader.cpp:53 [1588.161s] 751: #17 0x7f5fd27c71df in eprosima::fastrtps::rtps::StatelessReader::~StatelessReader() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/reader/StatelessReader.cpp:53 [1588.179s] 751: #18 0x7f5fd287a35e in eprosima::fastrtps::rtps::RTPSParticipantImpl::deleteUserEndpoint(eprosima::fastrtps::rtps::GUID_t const&) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/participant/RTPSParticipantImpl.cpp:1866 [1588.190s] 751: #19 0x7f5fd28cdc89 in eprosima::fastrtps::rtps::RTPSDomainImpl::removeRTPSReader(eprosima::fastrtps::rtps::RTPSReader*) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/RTPSDomain.cpp:518 [1588.190s] 751: #20 0x7f5fd28cda4f in eprosima::fastrtps::rtps::RTPSDomain::removeRTPSReader(eprosima::fastrtps::rtps::RTPSReader*) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/RTPSDomain.cpp:502 [1588.208s] 751: #21 0x7f5fd2a4bbf8 in eprosima::fastdds::dds::DataReaderImpl::stop() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/fastdds/subscriber/DataReaderImpl.cpp:311 [1588.208s] 751: #22 0x7f5fd2a4bcd7 in eprosima::fastdds::dds::DataReaderImpl::~DataReaderImpl() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/fastdds/subscriber/DataReaderImpl.cpp:325 [1588.216s] 751: #23 0x7f5fd32a52c2 in eprosima::fastdds::statistics::dds::DataReaderImpl::~DataReaderImpl() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/statistics/fastdds/subscriber/DataReaderImpl.hpp:43 [1588.217s] 751: #24 0x7f5fd32a52e1 in eprosima::fastdds::statistics::dds::DataReaderImpl::~DataReaderImpl() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/statistics/fastdds/subscriber/DataReaderImpl.hpp:43 [1588.227s] 751: #25 0x7f5fd2a2a1cf in eprosima::fastdds::dds::SubscriberImpl::delete_contained_entities() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/fastdds/subscriber/SubscriberImpl.cpp:640 [1588.232s] 751: #26 0x7f5fd2a3e788 in eprosima::fastdds::dds::Subscriber::delete_contained_entities() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/fastdds/subscriber/Subscriber.cpp:187 [1588.255s] 751: #27 0x7f5fd2adb56f in eprosima::fastdds::dds::DomainParticipantImpl::delete_contained_entities() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/fastdds/domain/DomainParticipantImpl.cpp:924 [1588.255s] 751: #28 0x7f5fd329c7f6 in eprosima::fastdds::statistics::dds::DomainParticipantImpl::delete_contained_entities() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/statistics/fastdds/domain/DomainParticipantImpl.cpp:275 [1588.261s] 751: #29 0x7f5fd2b2ef11 in eprosima::fastdds::dds::DomainParticipant::delete_contained_entities() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/fastdds/domain/DomainParticipant.cpp:305 [1588.280s] 751: #30 0x562e5c159f43 in eprosima::fastdds::dds::DDSBasic_endpoint_custom_payload_pools_Test::TestBody() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/test/blackbox/common/DDSBlackboxTestsBasic.cpp:758 [1588.281s] 751: #31 0x562e5cccf9e8 in void testing::internal::HandleSehExceptionsInMethodIfSupported(testing::Test*, void (testing::Test::*)(), char const*) (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/blackbox/BlackboxTests_DDS_PIM+0xf339e8) [1588.281s] 751: #32 0x562e5ccc8824 in void testing::internal::HandleExceptionsInMethodIfSupported(testing::Test*, void (testing::Test::*)(), char const*) (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/blackbox/BlackboxTests_DDS_PIM+0xf2c824) [1588.282s] 751: #33 0x562e5cca4b1f in testing::Test::Run() (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/blackbox/BlackboxTests_DDS_PIM+0xf08b1f) [1588.282s] 751: #34 0x562e5cca55f2 in testing::TestInfo::Run() (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/blackbox/BlackboxTests_DDS_PIM+0xf095f2) [1588.282s] 751: #35 0x562e5cca5f30 in testing::TestSuite::Run() (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/blackbox/BlackboxTests_DDS_PIM+0xf09f30) [1588.283s] 751: #36 0x562e5ccb6162 in testing::internal::UnitTestImpl::RunAllTests() (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/blackbox/BlackboxTests_DDS_PIM+0xf1a162) [1588.283s] 751: #37 0x562e5ccd0a5d in bool testing::internal::HandleSehExceptionsInMethodIfSupported(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/blackbox/BlackboxTests_DDS_PIM+0xf34a5d) [1588.283s] 751: #38 0x562e5ccc998a in bool testing::internal::HandleExceptionsInMethodIfSupported(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/blackbox/BlackboxTests_DDS_PIM+0xf2d98a) [1588.284s] 751: #39 0x562e5ccb4784 in testing::UnitTest::Run() (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/blackbox/BlackboxTests_DDS_PIM+0xf18784) [1588.285s] 751: #40 0x562e5c66d0ee in RUN_ALL_TESTS() /home/runner/work/Fast-DDS/Fast-DDS/install/googletest-distribution/include/gtest/gtest.h:2293 [1588.285s] 751: #41 0x562e5c66a230 in main /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/test/blackbox/common/BlackboxTests.cpp:101 [1588.286s] 751: #42 0x7f5fd08edd8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) [1588.286s] 751: #43 0x7f5fd08ede3f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e3f) [1588.286s] 751: #44 0x562e5c1420a4 in _start (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/blackbox/BlackboxTests_DDS_PIM+0x3a60a4) [1588.286s] 751: [1588.286s] 751: 0x603000146140 is located 0 bytes inside of 20-byte region [0x603000146140,0x603000146154) [1588.286s] 751: allocated by thread T7 here: [1588.286s] 751: #0 0x7f5fd475e337 in operator new[](unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:102 [1588.286s] 751: #1 0x562e5c179ecf in CustomPayloadPool::get_payload(eprosima::fastrtps::rtps::SerializedPayload_t&, eprosima::fastrtps::rtps::IPayloadPool*&, eprosima::fastrtps::rtps::CacheChange_t&) (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/blackbox/BlackboxTests_DDS_PIM+0x3ddecf) [1588.286s] 751: #2 0x7f5fd27cce83 in eprosima::fastrtps::rtps::StatelessReader::processDataMsg(eprosima::fastrtps::rtps::CacheChange_t*) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/reader/StatelessReader.cpp:542 [1588.293s] 751: #3 0x7f5fd281ab98 in operator() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/messages/MessageReceiver.cpp:202 [1588.294s] 751: #4 0x7f5fd282a1ff in findAllReaders > /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/messages/MessageReceiver.cpp:702 [1588.295s] 751: #5 0x7f5fd281ac81 in eprosima::fastrtps::rtps::MessageReceiver::process_data_message_without_security(eprosima::fastrtps::rtps::EntityId_t const&, eprosima::fastrtps::rtps::CacheChange_t&) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/messages/MessageReceiver.cpp:205 [1588.295s] 751: #6 0x7f5fd2840c72 in void std::__invoke_impl(std::__invoke_memfun_deref, void (eprosima::fastrtps::rtps::MessageReceiver::*&)(eprosima::fastrtps::rtps::EntityId_t const&, eprosima::fastrtps::rtps::CacheChange_t&), eprosima::fastrtps::rtps::MessageReceiver*&, eprosima::fastrtps::rtps::EntityId_t const&, eprosima::fastrtps::rtps::CacheChange_t&) (/home/runner/work/Fast-DDS/Fast-DDS/install/fastrtps/lib/libfastrtps.so.2.12+0x150ec72) [1588.295s] 751: #7 0x7f5fd283ff4e in std::__invoke_result::type std::__invoke(void (eprosima::fastrtps::rtps::MessageReceiver::*&)(eprosima::fastrtps::rtps::EntityId_t const&, eprosima::fastrtps::rtps::CacheChange_t&), eprosima::fastrtps::rtps::MessageReceiver*&, eprosima::fastrtps::rtps::EntityId_t const&, eprosima::fastrtps::rtps::CacheChange_t&) /usr/include/c++/11/bits/invoke.h:96 [1588.295s] 751: #8 0x7f5fd283f3da in void std::_Bind, std::_Placeholder<2>))(eprosima::fastrtps::rtps::EntityId_t const&, eprosima::fastrtps::rtps::CacheChange_t&)>::__call(std::tuple&&, std::_Index_tuple<0ul, 1ul, 2ul>) /usr/include/c++/11/functional:420 [1588.295s] 751: #9 0x7f5fd283e2e4 in void std::_Bind, std::_Placeholder<2>))(eprosima::fastrtps::rtps::EntityId_t const&, eprosima::fastrtps::rtps::CacheChange_t&)>::operator()(eprosima::fastrtps::rtps::EntityId_t const&, eprosima::fastrtps::rtps::CacheChange_t&) (/home/runner/work/Fast-DDS/Fast-DDS/install/fastrtps/lib/libfastrtps.so.2.12+0x150c2e4) [1588.295s] 751: #10 0x7f5fd283c444 in void std::__invoke_impl, std::_Placeholder<2>))(eprosima::fastrtps::rtps::EntityId_t const&, eprosima::fastrtps::rtps::CacheChange_t&)>&, eprosima::fastrtps::rtps::EntityId_t const&, eprosima::fastrtps::rtps::CacheChange_t&>(std::__invoke_other, std::_Bind, std::_Placeholder<2>))(eprosima::fastrtps::rtps::EntityId_t const&, eprosima::fastrtps::rtps::CacheChange_t&)>&, eprosima::fastrtps::rtps::EntityId_t const&, eprosima::fastrtps::rtps::CacheChange_t&) /usr/include/c++/11/bits/invoke.h:61 [1588.295s] 751: #11 0x7f5fd283a2a5 in std::enable_if, std::__is_invocable, std::_Placeholder<2>))(eprosima::fastrtps::rtps::EntityId_t const&, eprosima::fastrtps::rtps::CacheChange_t&)>&, eprosima::fastrtps::rtps::EntityId_t const&, eprosima::fastrtps::rtps::CacheChange_t&> >::value, void>::type std::__invoke_r, std::_Placeholder<2>))(eprosima::fastrtps::rtps::EntityId_t const&, eprosima::fastrtps::rtps::CacheChange_t&)>&, eprosima::fastrtps::rtps::EntityId_t const&, eprosima::fastrtps::rtps::CacheChange_t&>(std::_Bind, std::_Placeholder<2>))(eprosima::fastrtps::rtps::EntityId_t const&, eprosima::fastrtps::rtps::CacheChange_t&)>&, eprosima::fastrtps::rtps::EntityId_t const&, eprosima::fastrtps::rtps::CacheChange_t&) (/home/runner/work/Fast-DDS/Fast-DDS/install/fastrtps/lib/libfastrtps.so.2.12+0x15082a5) [1588.295s] 751: #12 0x7f5fd28381c0 in std::_Function_handler, std::_Placeholder<2>))(eprosima::fastrtps::rtps::EntityId_t const&, eprosima::fastrtps::rtps::CacheChange_t&)> >::_M_invoke(std::_Any_data const&, eprosima::fastrtps::rtps::EntityId_t const&, eprosima::fastrtps::rtps::CacheChange_t&) (/home/runner/work/Fast-DDS/Fast-DDS/install/fastrtps/lib/libfastrtps.so.2.12+0x15061c0) [1588.295s] 751: #13 0x7f5fd28345e2 in std::function::operator()(eprosima::fastrtps::rtps::EntityId_t const&, eprosima::fastrtps::rtps::CacheChange_t&) const /usr/include/c++/11/bits/std_function.h:590 [1588.295s] 751: #14 0x7f5fd282258c in eprosima::fastrtps::rtps::MessageReceiver::proc_Submsg_Data(eprosima::fastrtps::rtps::CDRMessage_t*, eprosima::fastrtps::rtps::SubmessageHeader_t*, eprosima::fastrtps::rtps::EntityId_t&) const /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/messages/MessageReceiver.cpp:878 [1588.295s] 751: #15 0x7f5fd281d1de in eprosima::fastrtps::rtps::MessageReceiver::processCDRMsg(eprosima::fastrtps::rtps::Locator_t const&, eprosima::fastrtps::rtps::Locator_t const&, eprosima::fastrtps::rtps::CDRMessage_t*) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/messages/MessageReceiver.cpp:439 [1588.298s] 751: #16 0x7f5fd28660ce in eprosima::fastrtps::rtps::ReceiverResource::OnDataReceived(unsigned char const*, unsigned int, eprosima::fastrtps::rtps::Locator_t const&, eprosima::fastrtps::rtps::Locator_t const&) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/network/ReceiverResource.cpp:134 [1588.333s] 751: #17 0x7f5fd331d85f in eprosima::fastdds::rtps::SharedMemChannelResource::perform_listen_operation(eprosima::fastrtps::rtps::Locator_t) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/transport/shared_mem/SharedMemChannelResource.hpp:146 [1588.333s] 751: #18 0x7f5fd3355ab8 in void std::__invoke_impl(std::__invoke_memfun_deref, void (eprosima::fastdds::rtps::SharedMemChannelResource::*&&)(eprosima::fastrtps::rtps::Locator_t), eprosima::fastdds::rtps::SharedMemChannelResource*&&, eprosima::fastrtps::rtps::Locator_t&&) /usr/include/c++/11/bits/invoke.h:74 [1588.333s] 751: #19 0x7f5fd3354f9b in std::__invoke_result::type std::__invoke(void (eprosima::fastdds::rtps::SharedMemChannelResource::*&&)(eprosima::fastrtps::rtps::Locator_t), eprosima::fastdds::rtps::SharedMemChannelResource*&&, eprosima::fastrtps::rtps::Locator_t&&) /usr/include/c++/11/bits/invoke.h:96 [1588.333s] 751: #20 0x7f5fd3354d6c in void std::thread::_Invoker >::_M_invoke<0ul, 1ul, 2ul>(std::_Index_tuple<0ul, 1ul, 2ul>) /usr/include/c++/11/bits/std_thread.h:253 [1588.334s] 751: #21 0x7f5fd33545dd in std::thread::_Invoker >::operator()() /usr/include/c++/11/bits/std_thread.h:260 [1588.334s] 751: #22 0x7f5fd33537a1 in std::thread::_State_impl > >::_M_run() /usr/include/c++/11/bits/std_thread.h:211 [1588.334s] 751: #23 0x7f5fd0ccf2b2 (/lib/x86_64-linux-gnu/libstdc++.so.6+0xdc2b2) [1588.334s] 751: [1588.334s] 751: Thread T7 created by T0 here: [1588.528s] 751: #0 0x7f5fd4700685 in __interceptor_pthread_create ../../../../src/libsanitizer/asan/asan_interceptors.cpp:216 [1588.529s] 751: #1 0x7f5fd0ccf388 in std::thread::_M_start_thread(std::unique_ptr >, void (*)()) (/lib/x86_64-linux-gnu/libstdc++.so.6+0xdc388) [1588.529s] 751: #2 0x7f5fd331ded1 in eprosima::fastdds::rtps::SharedMemChannelResource::init_thread(eprosima::fastrtps::rtps::Locator_t const&) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/transport/shared_mem/SharedMemChannelResource.hpp:169 [1588.530s] 751: #3 0x7f5fd331cf49 in eprosima::fastdds::rtps::SharedMemChannelResource::SharedMemChannelResource(std::shared_ptr, eprosima::fastrtps::rtps::Locator_t const&, eprosima::fastdds::rtps::TransportReceiverInterface*, std::__cxx11::basic_string, std::allocator > const&, bool) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/transport/shared_mem/SharedMemChannelResource.hpp:58 [1588.531s] 751: #4 0x7f5fd33597ce in eprosima::fastdds::rtps::SharedMemTransport::CreateInputChannelResource(eprosima::fastrtps::rtps::Locator_t const&, unsigned int, eprosima::fastdds::rtps::TransportReceiverInterface*) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/transport/shared_mem/SharedMemTransport.cpp:339 [1588.531s] 751: #5 0x7f5fd3356cfd in eprosima::fastdds::rtps::SharedMemTransport::OpenInputChannel(eprosima::fastrtps::rtps::Locator_t const&, eprosima::fastdds::rtps::TransportReceiverInterface*, unsigned int) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/transport/shared_mem/SharedMemTransport.cpp:138 [1588.532s] 751: #6 0x7f5fd2865398 in eprosima::fastrtps::rtps::ReceiverResource::ReceiverResource(eprosima::fastdds::rtps::TransportInterface&, eprosima::fastrtps::rtps::Locator_t const&, unsigned int) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/network/ReceiverResource.cpp:45 [1588.533s] 751: #7 0x7f5fd2857395 in eprosima::fastrtps::rtps::NetworkFactory::BuildReceiverResources(eprosima::fastrtps::rtps::Locator_t&, std::vector, std::allocator > >&, unsigned int) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/network/NetworkFactory.cpp:74 [1588.534s] 751: #8 0x7f5fd2878ac0 in eprosima::fastrtps::rtps::RTPSParticipantImpl::createReceiverResources(eprosima::fastdds::rtps::LocatorList&, bool, bool) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/participant/RTPSParticipantImpl.cpp:1701 [1588.534s] 751: #9 0x7f5fd286f21e in eprosima::fastrtps::rtps::RTPSParticipantImpl::RTPSParticipantImpl(unsigned int, eprosima::fastrtps::rtps::RTPSParticipantAttributes const&, eprosima::fastrtps::rtps::GuidPrefix_t const&, eprosima::fastrtps::rtps::GuidPrefix_t const&, eprosima::fastrtps::rtps::RTPSParticipant*, eprosima::fastrtps::rtps::RTPSParticipantListener*) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/participant/RTPSParticipantImpl.cpp:358 [1588.535s] 751: #10 0x7f5fd28706e0 in eprosima::fastrtps::rtps::RTPSParticipantImpl::RTPSParticipantImpl(unsigned int, eprosima::fastrtps::rtps::RTPSParticipantAttributes const&, eprosima::fastrtps::rtps::GuidPrefix_t const&, eprosima::fastrtps::rtps::RTPSParticipant*, eprosima::fastrtps::rtps::RTPSParticipantListener*) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/participant/RTPSParticipantImpl.cpp:450 [1588.535s] 751: #11 0x7f5fd28ca3d2 in eprosima::fastrtps::rtps::RTPSDomainImpl::createParticipant(unsigned int, bool, eprosima::fastrtps::rtps::RTPSParticipantAttributes const&, eprosima::fastrtps::rtps::RTPSParticipantListener*) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/RTPSDomain.cpp:199 [1588.535s] 751: #12 0x7f5fd28c8a15 in eprosima::fastrtps::rtps::RTPSDomain::createParticipant(unsigned int, bool, eprosima::fastrtps::rtps::RTPSParticipantAttributes const&, eprosima::fastrtps::rtps::RTPSParticipantListener*) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/RTPSDomain.cpp:88 [1588.536s] 751: #13 0x7f5fd2ad1bf6 in eprosima::fastdds::dds::DomainParticipantImpl::enable() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/fastdds/domain/DomainParticipantImpl.cpp:277 [1588.536s] 751: #14 0x7f5fd329c3d4 in eprosima::fastdds::statistics::dds::DomainParticipantImpl::enable() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/statistics/fastdds/domain/DomainParticipantImpl.cpp:253 [1588.536s] 751: #15 0x7f5fd2b2d8ed in eprosima::fastdds::dds::DomainParticipant::enable() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/fastdds/domain/DomainParticipant.cpp:110 [1588.546s] 751: #16 0x7f5fd2ab7311 in eprosima::fastdds::dds::DomainParticipantFactory::create_participant(unsigned int, eprosima::fastdds::dds::DomainParticipantQos const&, eprosima::fastdds::dds::DomainParticipantListener*, eprosima::fastdds::dds::StatusMask const&) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/fastdds/domain/DomainParticipantFactory.cpp:189 [1588.546s] 751: #17 0x562e5c1582da in eprosima::fastdds::dds::DDSBasic_endpoint_custom_payload_pools_Test::TestBody() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/test/blackbox/common/DDSBlackboxTestsBasic.cpp:708 [1588.546s] 751: #18 0x562e5cccf9e8 in void testing::internal::HandleSehExceptionsInMethodIfSupported(testing::Test*, void (testing::Test::*)(), char const*) (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/blackbox/BlackboxTests_DDS_PIM+0xf339e8) [1588.547s] 751: #19 0x562e5ccc8824 in void testing::internal::HandleExceptionsInMethodIfSupported(testing::Test*, void (testing::Test::*)(), char const*) (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/blackbox/BlackboxTests_DDS_PIM+0xf2c824) [1588.547s] 751: #20 0x562e5cca4b1f in testing::Test::Run() (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/blackbox/BlackboxTests_DDS_PIM+0xf08b1f) [1588.547s] 751: #21 0x562e5cca55f2 in testing::TestInfo::Run() (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/blackbox/BlackboxTests_DDS_PIM+0xf095f2) [1588.547s] 751: #22 0x562e5cca5f30 in testing::TestSuite::Run() (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/blackbox/BlackboxTests_DDS_PIM+0xf09f30) [1588.547s] 751: #23 0x562e5ccb6162 in testing::internal::UnitTestImpl::RunAllTests() (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/blackbox/BlackboxTests_DDS_PIM+0xf1a162) [1588.547s] 751: #24 0x562e5ccd0a5d in bool testing::internal::HandleSehExceptionsInMethodIfSupported(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/blackbox/BlackboxTests_DDS_PIM+0xf34a5d) [1588.547s] 751: #25 0x562e5ccc998a in bool testing::internal::HandleExceptionsInMethodIfSupported(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/blackbox/BlackboxTests_DDS_PIM+0xf2d98a) [1588.547s] 751: #26 0x562e5ccb4784 in testing::UnitTest::Run() (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/blackbox/BlackboxTests_DDS_PIM+0xf18784) [1588.547s] 751: #27 0x562e5c66d0ee in RUN_ALL_TESTS() /home/runner/work/Fast-DDS/Fast-DDS/install/googletest-distribution/include/gtest/gtest.h:2293 [1588.547s] 751: #28 0x562e5c66a230 in main /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/test/blackbox/common/BlackboxTests.cpp:101 [1588.547s] 751: #29 0x7f5fd08edd8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) [1588.547s] 751: [1588.547s] 751: SUMMARY: AddressSanitizer: alloc-dealloc-mismatch ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:127 in __interceptor_free ```
``` [4570.531s] 2350: [ RUN ] DataReaderTests.CustomPoolCreation [4570.567s] 2350: ================================================================= [4570.568s] 2350: ==81879==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x612000010cb4 at pc 0x7f805a584f65 bp 0x7ffef0240470 sp 0x7ffef0240460 [4570.568s] 2350: WRITE of size 4 at 0x612000010cb4 thread T0 [4570.685s] 2350: #0 0x7f805a584f64 in std::__atomic_base::fetch_sub(unsigned int, std::memory_order) /usr/include/c++/11/bits/atomic_base.h:646 [4570.685s] 2350: #1 0x7f805a584f64 in eprosima::fastrtps::rtps::TopicPayloadPool::PayloadNode::dereference(unsigned char*) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/history/./TopicPayloadPool.hpp:244 [4570.685s] 2350: #2 0x7f805a581fed in eprosima::fastrtps::rtps::TopicPayloadPool::release_payload(eprosima::fastrtps::rtps::CacheChange_t&) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/history/TopicPayloadPool.cpp:139 [4570.694s] 2350: #3 0x7f805a6aa3e1 in eprosima::fastrtps::rtps::RTPSReader::releaseCache(eprosima::fastrtps::rtps::CacheChange_t*) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/reader/RTPSReader.cpp:198 [4570.694s] 2350: #4 0x7f805a6a95b3 in eprosima::fastrtps::rtps::RTPSReader::~RTPSReader() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/reader/RTPSReader.cpp:155 [4570.700s] 2350: #5 0x7f805a6941bf in eprosima::fastrtps::rtps::StatelessReader::~StatelessReader() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/reader/StatelessReader.cpp:53 [4570.700s] 2350: #6 0x7f805a6941df in eprosima::fastrtps::rtps::StatelessReader::~StatelessReader() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/reader/StatelessReader.cpp:53 [4570.718s] 2350: #7 0x7f805a74735e in eprosima::fastrtps::rtps::RTPSParticipantImpl::deleteUserEndpoint(eprosima::fastrtps::rtps::GUID_t const&) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/participant/RTPSParticipantImpl.cpp:1866 [4570.729s] 2350: #8 0x7f805a79ac89 in eprosima::fastrtps::rtps::RTPSDomainImpl::removeRTPSReader(eprosima::fastrtps::rtps::RTPSReader*) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/RTPSDomain.cpp:518 [4570.729s] 2350: #9 0x7f805a79aa4f in eprosima::fastrtps::rtps::RTPSDomain::removeRTPSReader(eprosima::fastrtps::rtps::RTPSReader*) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/RTPSDomain.cpp:502 [4570.746s] 2350: #10 0x7f805a918bf8 in eprosima::fastdds::dds::DataReaderImpl::stop() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/fastdds/subscriber/DataReaderImpl.cpp:311 [4570.746s] 2350: #11 0x7f805a918cd7 in eprosima::fastdds::dds::DataReaderImpl::~DataReaderImpl() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/fastdds/subscriber/DataReaderImpl.cpp:325 [4570.755s] 2350: #12 0x7f805b1722c2 in eprosima::fastdds::statistics::dds::DataReaderImpl::~DataReaderImpl() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/statistics/fastdds/subscriber/DataReaderImpl.hpp:43 [4570.755s] 2350: #13 0x7f805b1722e1 in eprosima::fastdds::statistics::dds::DataReaderImpl::~DataReaderImpl() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/statistics/fastdds/subscriber/DataReaderImpl.hpp:43 [4570.765s] 2350: #14 0x7f805a8f71cf in eprosima::fastdds::dds::SubscriberImpl::delete_contained_entities() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/fastdds/subscriber/SubscriberImpl.cpp:640 [4570.770s] 2350: #15 0x7f805a90b788 in eprosima::fastdds::dds::Subscriber::delete_contained_entities() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/fastdds/subscriber/Subscriber.cpp:187 [4570.792s] 2350: #16 0x7f805a9a856f in eprosima::fastdds::dds::DomainParticipantImpl::delete_contained_entities() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/fastdds/domain/DomainParticipantImpl.cpp:924 [4570.793s] 2350: #17 0x7f805b1697f6 in eprosima::fastdds::statistics::dds::DomainParticipantImpl::delete_contained_entities() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/statistics/fastdds/domain/DomainParticipantImpl.cpp:275 [4570.798s] 2350: #18 0x7f805a9fbf11 in eprosima::fastdds::dds::DomainParticipant::delete_contained_entities() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/fastdds/domain/DomainParticipant.cpp:305 [4570.819s] 2350: #19 0x561fa842fdba in DataReaderTests_CustomPoolCreation_Test::TestBody() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/test/unittest/dds/subscriber/DataReaderTests.cpp:3543 [4570.820s] 2350: #20 0x561fa853292e in void testing::internal::HandleSehExceptionsInMethodIfSupported(testing::Test*, void (testing::Test::*)(), char const*) (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/unittest/dds/subscriber/DataReaderTests+0x1ec92e) [4570.820s] 2350: #21 0x561fa852b074 in void testing::internal::HandleExceptionsInMethodIfSupported(testing::Test*, void (testing::Test::*)(), char const*) (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/unittest/dds/subscriber/DataReaderTests+0x1e5074) [4570.820s] 2350: #22 0x561fa8507207 in testing::Test::Run() (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/unittest/dds/subscriber/DataReaderTests+0x1c1207) [4570.820s] 2350: #23 0x561fa8507cda in testing::TestInfo::Run() (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/unittest/dds/subscriber/DataReaderTests+0x1c1cda) [4570.821s] 2350: #24 0x561fa8508618 in testing::TestSuite::Run() (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/unittest/dds/subscriber/DataReaderTests+0x1c2618) [4570.822s] 2350: #25 0x561fa851884a in testing::internal::UnitTestImpl::RunAllTests() (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/unittest/dds/subscriber/DataReaderTests+0x1d284a) [4570.822s] 2350: #26 0x561fa85339a3 in bool testing::internal::HandleSehExceptionsInMethodIfSupported(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/unittest/dds/subscriber/DataReaderTests+0x1ed9a3) [4570.822s] 2350: #27 0x561fa852c214 in bool testing::internal::HandleExceptionsInMethodIfSupported(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/unittest/dds/subscriber/DataReaderTests+0x1e6214) [4570.822s] 2350: #28 0x561fa8516e6c in testing::UnitTest::Run() (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/unittest/dds/subscriber/DataReaderTests+0x1d0e6c) [4570.823s] 2350: #29 0x561fa843f267 in RUN_ALL_TESTS() /home/runner/work/Fast-DDS/Fast-DDS/install/googletest-distribution/include/gtest/gtest.h:2293 [4570.824s] 2350: #30 0x561fa843058a in main /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/test/unittest/dds/subscriber/DataReaderTests.cpp:3553 [4570.824s] 2350: #31 0x7f80587bad8f (/lib/x86_64-linux-gnu/libc.so.6+0x29d8f) [4570.824s] 2350: #32 0x7f80587bae3f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e3f) [4570.825s] 2350: #33 0x561fa83b63a4 in _start (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/unittest/dds/subscriber/DataReaderTests+0x703a4) [4570.825s] 2350: [4570.825s] 2350: 0x612000010cb4 is located 12 bytes to the left of 264-byte region [0x612000010cc0,0x612000010dc8) [4570.825s] 2350: allocated by thread T0 here: [4570.825s] 2350: #0 0x7f805c62b337 in operator new[](unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:102 [4570.825s] 2350: #1 0x561fa845b0e1 in CustomPayloadPool::get_payload(eprosima::fastrtps::rtps::SerializedPayload_t&, eprosima::fastrtps::rtps::IPayloadPool*&, eprosima::fastrtps::rtps::CacheChange_t&) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/test/unittest/dds/subscriber/../../common/CustomPayloadPool.hpp:59 [4570.826s] 2350: #2 0x7f805a699e83 in eprosima::fastrtps::rtps::StatelessReader::processDataMsg(eprosima::fastrtps::rtps::CacheChange_t*) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/reader/StatelessReader.cpp:542 [4570.844s] 2350: #3 0x7f805a5351fe in eprosima::fastrtps::rtps::StatelessWriter::intraprocess_delivery(eprosima::fastrtps::rtps::CacheChange_t*, eprosima::fastrtps::rtps::ReaderLocator&) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/writer/StatelessWriter.cpp:356 [4570.845s] 2350: #4 0x7f805a539161 in operator() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/writer/StatelessWriter.cpp:712 [4570.845s] 2350: #5 0x7f805a53d602 in __invoke_impl > >&)::&, eprosima::fastrtps::rtps::ReaderLocator&> /usr/include/c++/11/bits/invoke.h:61 [4570.846s] 2350: #6 0x7f805a53d219 in __invoke_r > >&)::&, eprosima::fastrtps::rtps::ReaderLocator&> /usr/include/c++/11/bits/invoke.h:142 [4570.846s] 2350: #7 0x7f805a53ca27 in _M_invoke /usr/include/c++/11/bits/std_function.h:290 [4570.846s] 2350: #8 0x7f805a543456 in std::function::operator()(eprosima::fastrtps::rtps::ReaderLocator&) const /usr/include/c++/11/bits/std_function.h:590 [4570.847s] 2350: #9 0x7f805a530f07 in eprosima::fastrtps::rtps::for_matched_readers(eprosima::fastrtps::ResourceLimitedVector >, std::integral_constant, eprosima::fastrtps::ResourceLimitedContainerConfig, std::allocator > >, std::vector >, std::allocator > > > >&, std::function) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/writer/StatelessWriter.cpp:62 [4570.847s] 2350: #10 0x7f805a53966d in eprosima::fastrtps::rtps::StatelessWriter::deliver_sample_nts(eprosima::fastrtps::rtps::CacheChange_t*, eprosima::fastrtps::rtps::RTPSMessageGroup&, eprosima::fastrtps::rtps::LocatorSelectorSender&, std::chrono::time_point > > const&) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/writer/StatelessWriter.cpp:710 [4570.855s] 2350: #11 0x7f805af1328f in std::enable_if::value, bool>::type eprosima::fastdds::rtps::FlowControllerImpl::add_new_sample_impl(eprosima::fastrtps::rtps::RTPSWriter*, eprosima::fastrtps::rtps::CacheChange_t*, std::chrono::time_point > > const&) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/flowcontrol/FlowControllerImpl.hpp:1151 [4570.855s] 2350: #12 0x7f805af0bcad in eprosima::fastdds::rtps::FlowControllerImpl::add_new_sample(eprosima::fastrtps::rtps::RTPSWriter*, eprosima::fastrtps::rtps::CacheChange_t*, std::chrono::time_point > > const&) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/flowcontrol/FlowControllerImpl.hpp:998 [4570.855s] 2350: #13 0x7f805a534d58 in eprosima::fastrtps::rtps::StatelessWriter::unsent_change_added_to_history(eprosima::fastrtps::rtps::CacheChange_t*, std::chrono::time_point > > const&) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/writer/StatelessWriter.cpp:328 [4570.858s] 2350: #14 0x7f805a571515 in eprosima::fastrtps::rtps::WriterHistory::notify_writer(eprosima::fastrtps::rtps::CacheChange_t*, std::chrono::time_point > > const&) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/rtps/history/WriterHistory.cpp:123 [4570.876s] 2350: #15 0x7f805a86bcaa in add_change_with_commit_hook > /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/include/fastdds/rtps/history/WriterHistory.h:183 [4570.876s] 2350: #16 0x7f805a86b25b in add_pub_change_with_commit_hook > /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/fastdds/publisher/DataWriterHistory.hpp:141 [4570.876s] 2350: #17 0x7f805a858e6e in eprosima::fastdds::dds::DataWriterImpl::perform_create_new_change(eprosima::fastrtps::rtps::ChangeKind_t, void*, eprosima::fastrtps::rtps::WriteParams&, eprosima::fastrtps::rtps::InstanceHandle_t const&) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/fastdds/publisher/DataWriterImpl.cpp:970 [4570.877s] 2350: #18 0x7f805a85a13d in eprosima::fastdds::dds::DataWriterImpl::create_new_change_with_params(eprosima::fastrtps::rtps::ChangeKind_t, void*, eprosima::fastrtps::rtps::WriteParams&, eprosima::fastrtps::rtps::InstanceHandle_t const&) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/fastdds/publisher/DataWriterImpl.cpp:1059 [4570.877s] 2350: #19 0x7f805a85372b in eprosima::fastdds::dds::DataWriterImpl::write(void*, eprosima::fastrtps::rtps::InstanceHandle_t const&) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/fastdds/publisher/DataWriterImpl.cpp:626 [4570.884s] 2350: #20 0x7f805a84490b in eprosima::fastdds::dds::DataWriter::write(void*, eprosima::fastrtps::rtps::InstanceHandle_t const&) /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/src/cpp/fastdds/publisher/DataWriter.cpp:98 [4570.885s] 2350: #21 0x561fa842f97d in DataReaderTests_CustomPoolCreation_Test::TestBody() /home/runner/work/Fast-DDS/Fast-DDS/src/Fast-DDS/test/unittest/dds/subscriber/DataReaderTests.cpp:3537 [4570.885s] 2350: #22 0x561fa853292e in void testing::internal::HandleSehExceptionsInMethodIfSupported(testing::Test*, void (testing::Test::*)(), char const*) (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/unittest/dds/subscriber/DataReaderTests+0x1ec92e) [4570.885s] 2350: #23 0x561fa852b074 in void testing::internal::HandleExceptionsInMethodIfSupported(testing::Test*, void (testing::Test::*)(), char const*) (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/unittest/dds/subscriber/DataReaderTests+0x1e5074) [4570.885s] 2350: #24 0x561fa8507207 in testing::Test::Run() (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/unittest/dds/subscriber/DataReaderTests+0x1c1207) [4570.885s] 2350: #25 0x561fa8507cda in testing::TestInfo::Run() (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/unittest/dds/subscriber/DataReaderTests+0x1c1cda) [4570.885s] 2350: #26 0x561fa8508618 in testing::TestSuite::Run() (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/unittest/dds/subscriber/DataReaderTests+0x1c2618) [4570.885s] 2350: #27 0x561fa851884a in testing::internal::UnitTestImpl::RunAllTests() (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/unittest/dds/subscriber/DataReaderTests+0x1d284a) [4570.885s] 2350: #28 0x561fa85339a3 in bool testing::internal::HandleSehExceptionsInMethodIfSupported(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/unittest/dds/subscriber/DataReaderTests+0x1ed9a3) [4570.885s] 2350: #29 0x561fa852c214 in bool testing::internal::HandleExceptionsInMethodIfSupported(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (/home/runner/work/Fast-DDS/Fast-DDS/build/fastrtps/test/unittest/dds/subscriber/DataReaderTests+0x1e6214) [4570.885s] 2350: [4570.885s] 2350: SUMMARY: AddressSanitizer: heap-buffer-overflow /usr/include/c++/11/bits/atomic_base.h:646 in std::__atomic_base::fetch_sub(unsigned int, std::memory_order) [4570.885s] 2350: Shadow bytes around the buggy address: [4570.885s] 2350: 0x0c247fffa140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [4570.885s] 2350: 0x0c247fffa150: 00 00 00 00 00 00 00 00 00 00 07 fa fa fa fa fa [4570.885s] 2350: 0x0c247fffa160: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 [4570.885s] 2350: 0x0c247fffa170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [4570.885s] 2350: 0x0c247fffa180: 00 00 00 00 00 00 00 00 00 fa fa fa fa fa fa fa [4570.886s] 2350: =>0x0c247fffa190: fa fa fa fa fa fa[fa]fa 00 00 00 00 00 00 00 00 [4570.887s] 2350: 0x0c247fffa1a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [4570.887s] 2350: 0x0c247fffa1b0: 00 00 00 00 00 00 00 00 00 fa fa fa fa fa fa fa [4570.887s] 2350: 0x0c247fffa1c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa [4570.887s] 2350: 0x0c247fffa1d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa [4570.888s] 2350: 0x0c247fffa1e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa [4570.888s] 2350: Shadow byte legend (one shadow byte represents 8 application bytes): [4570.888s] 2350: Addressable: 00 [4570.888s] 2350: Partially addressable: 01 02 03 04 05 06 07 [4570.888s] 2350: Heap left redzone: fa [4570.888s] 2350: Freed heap region: fd [4570.888s] 2350: Stack left redzone: f1 [4570.888s] 2350: Stack mid redzone: f2 [4570.888s] 2350: Stack right redzone: f3 [4570.888s] 2350: Stack after return: f5 [4570.888s] 2350: Stack use after scope: f8 [4570.888s] 2350: Global redzone: f9 [4570.888s] 2350: Global init order: f6 [4570.888s] 2350: Poisoned by user: f7 [4570.888s] 2350: Container overflow: fc [4570.888s] 2350: Array cookie: ac [4570.888s] 2350: Intra object redzone: bb [4570.888s] 2350: ASan internal: fe [4570.888s] 2350: Left alloca redzone: ca [4570.889s] 2350: Right alloca redzone: cb [4570.889s] 2350: Shadow gap: cc [4570.889s] 2350: ==81879==ABORTING [4570.895s] 2340/3061 Test #2350: DataReaderTests.CustomPoolCreation ```

@MiguelCompany
Copy link
Member

@richiprosima Please test this

@EduPonz EduPonz added versions-pending skip-ci Automatically pass CI and removed ci-pending PR which CI is running labels Aug 3, 2023
jsan-rt and others added 4 commits August 3, 2023 13:59
* Refs #19024: Public API implementation

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19024: Update versions.md

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Fix build issues

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Custom Payload pools test implementation

Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>

* Refs #19023: Update test to use public API

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Please linters

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Added delay between writing and checking payload request

Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Co-authored-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>
Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>
@EduPonz EduPonz merged commit f7d77cf into master Aug 3, 2023
7 checks passed
@EduPonz EduPonz deleted the feature/custom-pools/main branch August 3, 2023 12:00
jimwang118 pushed a commit to jimwang118/Fast-DDS that referenced this pull request Aug 22, 2023
* Custom Payload pools test implementation (eProsima#3719)

* Refs #19024: Public API implementation

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19024: Update versions.md

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Fix build issues

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Custom Payload pools test implementation

Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>

* Refs #19023: Update test to use public API

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Please linters

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Added delay between writing and checking payload request

Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Co-authored-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>

* Include custom pools impl (eProsima#3740)

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>

* Refs #19024: Modified custom payload pool and datasharing interaction

Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>

* Refs #19024. Correctly set payload owner on test pools.

Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Co-authored-by: jsantiago-eProsima <90755661+jsantiago-eProsima@users.noreply.github.com>
Co-authored-by: Javier Santiago <javiersantiago@eprosima.com>
Co-authored-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: jimwang118 <wangzhijie05@beyondsoft.com>
juanlofer-eprosima pushed a commit that referenced this pull request Nov 10, 2023
* Custom Payload pools test implementation (#3719)

* Refs #19024: Public API implementation

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19024: Update versions.md

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Fix build issues

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Custom Payload pools test implementation

Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>

* Refs #19023: Update test to use public API

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Please linters

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Added delay between writing and checking payload request

Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Co-authored-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>

* Include custom pools impl (#3740)

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>

* Refs #19024: Modified custom payload pool and datasharing interaction

Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>

* Refs #19024. Correctly set payload owner on test pools.

Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Co-authored-by: jsantiago-eProsima <90755661+jsantiago-eProsima@users.noreply.github.com>
Co-authored-by: Javier Santiago <javiersantiago@eprosima.com>
Co-authored-by: Miguel Company <MiguelCompany@eprosima.com>
rsanchez15 pushed a commit that referenced this pull request Jan 15, 2024
* Custom Payload pools test implementation (#3719)

* Refs #19024: Public API implementation

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19024: Update versions.md

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Fix build issues

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Custom Payload pools test implementation

Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>

* Refs #19023: Update test to use public API

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Please linters

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Added delay between writing and checking payload request

Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Co-authored-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>

* Include custom pools impl (#3740)

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>

* Refs #19024: Modified custom payload pool and datasharing interaction

Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>

* Refs #19024. Correctly set payload owner on test pools.

Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Co-authored-by: jsantiago-eProsima <90755661+jsantiago-eProsima@users.noreply.github.com>
Co-authored-by: Javier Santiago <javiersantiago@eprosima.com>
Co-authored-by: Miguel Company <MiguelCompany@eprosima.com>
rsanchez15 pushed a commit that referenced this pull request Jan 16, 2024
* Custom Payload pools test implementation (#3719)

* Refs #19024: Public API implementation

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19024: Update versions.md

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Fix build issues

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Custom Payload pools test implementation

Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>

* Refs #19023: Update test to use public API

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Please linters

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Added delay between writing and checking payload request

Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Co-authored-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>

* Include custom pools impl (#3740)

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>

* Refs #19024: Modified custom payload pool and datasharing interaction

Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>

* Refs #19024. Correctly set payload owner on test pools.

Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Co-authored-by: jsantiago-eProsima <90755661+jsantiago-eProsima@users.noreply.github.com>
Co-authored-by: Javier Santiago <javiersantiago@eprosima.com>
Co-authored-by: Miguel Company <MiguelCompany@eprosima.com>
EduPonz pushed a commit that referenced this pull request Jan 17, 2024
* Custom pools on DDS layer feature (#3755)

* Custom Payload pools test implementation (#3719)

* Refs #19024: Public API implementation

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19024: Update versions.md

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Fix build issues

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Custom Payload pools test implementation

Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>

* Refs #19023: Update test to use public API

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Please linters

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Added delay between writing and checking payload request

Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Co-authored-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>

* Include custom pools impl (#3740)

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>

* Refs #19024: Modified custom payload pool and datasharing interaction

Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>

* Refs #19024. Correctly set payload owner on test pools.

Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Co-authored-by: jsantiago-eProsima <90755661+jsantiago-eProsima@users.noreply.github.com>
Co-authored-by: Javier Santiago <javiersantiago@eprosima.com>
Co-authored-by: Miguel Company <MiguelCompany@eprosima.com>

* Add API to create writers and readers with a custom payload pool

Signed-off-by: Raul Sanchez-Mateos <raul@eprosima.com>

* Use correct API in tests

Signed-off-by: Raul Sanchez-Mateos <raul@eprosima.com>

* Fix Window warning about asio include

Signed-off-by: Raul Sanchez-Mateos <raul@eprosima.com>

* Remove feature in forthcoming version file

Signed-off-by: Raul Sanchez-Mateos <raul@eprosima.com>

* Add Asio include dir to datareader tests

Signed-off-by: Raul Sanchez-Mateos <raul@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Raul Sanchez-Mateos <raul@eprosima.com>
Co-authored-by: Jesús Poderoso <120394830+JesusPoderoso@users.noreply.github.com>
Co-authored-by: jsantiago-eProsima <90755661+jsantiago-eProsima@users.noreply.github.com>
Co-authored-by: Javier Santiago <javiersantiago@eprosima.com>
Co-authored-by: Miguel Company <MiguelCompany@eprosima.com>
EduPonz pushed a commit that referenced this pull request Jan 18, 2024
* Custom pools on DDS layer feature (#3755)

* Custom Payload pools test implementation (#3719)

* Refs #19024: Public API implementation

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19024: Update versions.md

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Fix build issues

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Custom Payload pools test implementation

Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>

* Refs #19023: Update test to use public API

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Please linters

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #19023: Added delay between writing and checking payload request

Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Co-authored-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>

* Include custom pools impl (#3740)

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>

* Refs #19024: Modified custom payload pool and datasharing interaction

Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>

* Refs #19024. Correctly set payload owner on test pools.

Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Co-authored-by: jsantiago-eProsima <90755661+jsantiago-eProsima@users.noreply.github.com>
Co-authored-by: Javier Santiago <javiersantiago@eprosima.com>
Co-authored-by: Miguel Company <MiguelCompany@eprosima.com>

* Add API to create writers and readers with a custom payload pool

Signed-off-by: Raul Sanchez-Mateos <raul@eprosima.com>

* Use correct API in tests

Signed-off-by: Raul Sanchez-Mateos <raul@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Raul Sanchez-Mateos <raul@eprosima.com>
Co-authored-by: Jesús Poderoso <120394830+JesusPoderoso@users.noreply.github.com>
Co-authored-by: jsantiago-eProsima <90755661+jsantiago-eProsima@users.noreply.github.com>
Co-authored-by: Javier Santiago <javiersantiago@eprosima.com>
Co-authored-by: Miguel Company <MiguelCompany@eprosima.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-ci Automatically pass CI versions-pending
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants