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
Required Info:
$ colcon build --cmake-args -DCMAKE_BUILD_TYPE=Debug --packages-up-to rcl $ . install/setup.bash $ valgrind --leak-check=full ./build/rcl/test/test_client__rmw_cyclonedds_cpp
No memory leak
==252190== 136 (32 direct, 104 indirect) bytes in 1 blocks are definitely lost in loss record 12 of 26 ==252190== at 0x483DE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==252190== by 0x51819DC: rmw_create_client (rmw_node.cpp:3873) ==252190== by 0x4860929: rcl_client_init (client.c:169) ==252190== by 0x17819C: TestClientFixture_test_client_nominal_Test::TestBody() (test_client.cpp:84) ==252190== by 0x1B5D43: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2447) ==252190== by 0x1AE596: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2483) ==252190== by 0x189B3F: testing::Test::Run() (gtest.cc:2522) ==252190== by 0x18A538: testing::TestInfo::Run() (gtest.cc:2703) ==252190== by 0x18AC29: testing::TestCase::Run() (gtest.cc:2825) ==252190== by 0x196312: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:5216) ==252190== by 0x1B723D: bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2447) ==252190== by 0x1AF6AA: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2483) ==252190== ==252190== 136 (32 direct, 104 indirect) bytes in 1 blocks are definitely lost in loss record 13 of 26 ==252190== at 0x483DE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==252190== by 0x51819DC: rmw_create_client (rmw_node.cpp:3873) ==252190== by 0x4860929: rcl_client_init (client.c:169) ==252190== by 0x17930D: TestClientFixture_test_client_init_fini_Test::TestBody() (test_client.cpp:153) ==252190== by 0x1B5D43: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2447) ==252190== by 0x1AE596: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (gtest.cc:2483) ==252190== by 0x189B3F: testing::Test::Run() (gtest.cc:2522) ==252190== by 0x18A538: testing::TestInfo::Run() (gtest.cc:2703) ==252190== by 0x18AC29: testing::TestCase::Run() (gtest.cc:2825) ==252190== by 0x196312: testing::internal::UnitTestImpl::RunAllTests() (gtest.cc:5216) ==252190== by 0x1B723D: bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2447) ==252190== by 0x1AF6AA: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (gtest.cc:2483)
The text was updated successfully, but these errors were encountered:
After fixing Cdds[Client/Service], detect some other memory leak about CddsPublisher/CddsSubscription in rmw_init_cs,
Cdds[Client/Service]
CddsPublisher/CddsSubscription
rmw_init_cs
rmw_cyclonedds/rmw_cyclonedds_cpp/src/rmw_node.cpp
Lines 3707 to 3708 in a07553e
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Bug report
Required Info:
Steps to reproduce issue
Expected behavior
No memory leak
Actual behavior
memory leak via valgrind
The text was updated successfully, but these errors were encountered: