Skip to content

run_test_rsa_dfi failure #746

Open
Open
@PengZheng

Description

@PengZheng
==23216==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7fb2469d92df bp 0x7fffc37f1cd0 sp 0x7fffc37f1c00 T0)
==23216==The signal is caused by a READ memory access.
==23216==Hint: address points to the zero page.
    #0 0x7fb2469d92df in testCreateRemoteServiceInRemoteCall /home/runner/work/celix/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/tst_activator.c:318:5
    #1 0x4df938 in testAddRemoteServiceInRemoteService(void*, void*) /home/runner/work/celix/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:259:19
    #2 0x7fb24bc1e60d in celix_serviceTracker_useHighestRankingService /home/runner/work/celix/celix/libs/framework/src/service_tracker.c:767:13
    #3 0x7fb24bbfbd9e in celix_bundleContext_useTrackedServiceWithOptionsInternal /home/runner/work/celix/celix/libs/framework/src/bundle_context.c:1436:21
    #4 0x7fb24bbfbd9e in celix_bundleContext_useTrackedServiceWithOptions /home/runner/work/celix/celix/libs/framework/src/bundle_context.c:1455:12
    #5 0x7fb24bbfafd1 in celix_bundleContext_useServicesInternal /home/runner/work/celix/celix/libs/framework/src/bundle_context.c:1207:23
    #6 0x7fb24bbfa99d in celix_bundleContext_useServiceWithOptions /home/runner/work/celix/celix/libs/framework/src/bundle_context.c:1225:12
    #7 0x4db1ca in void test<void (&)(void*, void*)>(void (&)(void*, void*)) /home/runner/work/celix/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc:301:19
    #8 0x7fb24bb4acd3 in void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /home/runner/work/celix/celix/release/.conan/data/gtest/1.10.0/_/_/build/75e556be027f417998066670ca877fd625b11214/src/googletest/src/gtest.cc:2433:10
    #9 0x7fb24bb4acd3 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /home/runner/work/celix/celix/release/.conan/data/gtest/1.10.0/_/_/build/75e556be027f417998066670ca877fd625b11214/src/googletest/src/gtest.cc:2469:14
    #10 0x7fb24bb299d0 in testing::Test::Run() /home/runner/work/celix/celix/release/.conan/data/gtest/1.10.0/_/_/build/75e556be027f417998066670ca877fd625b11214/src/googletest/src/gtest.cc:2508:5
    #11 0x7fb24bb2ac91 in testing::TestInfo::Run() /home/runner/work/celix/celix/release/.conan/data/gtest/1.10.0/_/_/build/75e556be027f417998066670ca877fd625b11214/src/googletest/src/gtest.cc:2684:11
    #12 0x7fb24bb2b406 in testing::TestSuite::Run() /home/runner/work/celix/celix/release/.conan/data/gtest/1.10.0/_/_/build/75e556be027f417998066670ca877fd625b11214/src/googletest/src/gtest.cc:2816:28
    #13 0x7fb24bb37f66 in testing::internal::UnitTestImpl::RunAllTests() /home/runner/work/celix/celix/release/.conan/data/gtest/1.10.0/_/_/build/75e556be027f417998066670ca877fd625b11214/src/googletest/src/gtest.cc:5338:44
    #14 0x7fb24bb4b923 in bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /home/runner/work/celix/celix/release/.conan/data/gtest/1.10.0/_/_/build/75e556be027f417998066670ca877fd625b11214/src/googletest/src/gtest.cc:2433:10
    #15 0x7fb24bb4b923 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /home/runner/work/celix/celix/release/.conan/data/gtest/1.10.0/_/_/build/75e556be027f417998066670ca877fd625b11214/src/googletest/src/gtest.cc:2469:14
    #16 0x7fb24bb379a8 in testing::UnitTest::Run() /home/runner/work/celix/celix/release/.conan/data/gtest/1.10.0/_/_/build/75e556be027f417998066670ca877fd625b11214/src/googletest/src/gtest.cc:4925:10
    #17 0x4d1dfd in RUN_ALL_TESTS() /home/runner/work/celix/celix/release/.conan/data/gtest/1.10.0/_/_/package/75e556be027f417998066670ca877fd625b11214/include/gtest/gtest.h:2473:46
    #18 0x4d1dfd in main /home/runner/work/celix/celix/bundles/remote_services/remote_service_admin_dfi/gtest/src/main.cc:28:14
    #19 0x7fb24b338082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082)
    #20 0x42573d in _start (/home/runner/work/celix/celix/build/bundles/remote_services/remote_service_admin_dfi/gtest/test_rsa_dfi+0x42573d)

https://github.com/apache/celix/actions/runs/9200111108/job/25306109500

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/remote-servicesCategorizes an issue or PR relevant to remote services.component/testingCategorizes an issue or PR relevant to testing.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions