Skip to content

Pure virtual method called after ROS2.Request_reply_between_ros2_and_mock test #198

@mac-apt

Description

@mac-apt
[Integration Service][DEBUG] [is::sh::ROS2::test::geometry_msgs] [compare_plans] Headers A and B matched: [stamp: 284 | 285] [frame_id:
[Integration Service][DEBUG] [is::sh::ROS2::test::geometry_msgs] [compare_plans] Poses A and B matched: { position: { x: -98.8666, y: 61.995, z: -26.6221 }, orientation: {  w: 1, x: 0, y: 0, z: 0 } }
[Integration Service][DEBUG] [is::sh::ROS2::test::geometry_msgs] [compare_plans] Poses A and B matched: { position: { x: -98.8666, y: 61.995, z: -26.6221 }, orientation: {  w: 1, x: 0, y: 0, z: 0 } }
[Integration Service][DEBUG] [is::sh::ROS2::test::geometry_msgs] [compare_plans] Poses A and B matched: { position: { x: -98.8666, y: 61.995, z: -26.6221 }, orientation: {  w: 1, x: 0, y: 0, z: 0 } }
[Integration Service][DEBUG] [is::sh::ROS2::test::geometry_msgs] [compare_plans] Poses A and B matched: { position: { x: -98.8666, y: 61.995, z: -26.6221 }, orientation: {  w: 1, x: 0, y: 0, z: 0 } }
[Integration Service][DEBUG] [is::sh::ROS2::test::geometry_msgs] [compare_plans] Poses A and B matched: { position: { x: -98.8666, y: 61.995, z: -26.6221 }, orientation: {  w: 1, x: 0, y: 0, z: 0 } }
[Thread 0x7fffe493c700 (LWP 26180) exited]
[Thread 0x7fffcd032700 (LWP 26181) exited]
[Thread 0x7fffcc831700 (LWP 26182) exited]
[Thread 0x7fffe5ffb700 (LWP 26163) exited]
[Thread 0x7fffe6ffd700 (LWP 26161) exited]
[Thread 0x7fffe67fc700 (LWP 26162) exited]
[Thread 0x7fffe77fe700 (LWP 26160) exited]
[Thread 0x7fffe7fff700 (LWP 26159) exited]
[Thread 0x7ffff4cf3700 (LWP 26156) exited]
[Thread 0x7ffff5cf5700 (LWP 26158) exited]
[       OK ] ROS2.Request_reply_between_ros2_and_mock (25753 ms)
[----------] 2 tests from ROS2 (43847 ms total)

[----------] Global test environment tear-down
[Thread 0x7ffff54f4700 (LWP 26157) exited]
[==========] 2 tests from 1 test suite ran. (43848 ms total)
[  PASSED  ] 2 tests.
pure virtual method called
terminate called without an active exception

GDB report:

#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff70f9859 in __GI_abort () at abort.c:79
#2  0x00007ffff73a7911 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007ffff73b338c in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007ffff73b33f7 in std::terminate() () from /lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007ffff73b4155 in __cxa_pure_virtual () from /lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00005555556368b5 in eprosima::xtypes::DynamicData::~DynamicData (this=0x555555814160, __in_chrg=<optimized out>)
    at /home/mac/is-workspace/install/xtypes/include/xtypes/DynamicData.hpp:1561
#7  0x00005555556d67c9 in std::__future_base::_Result<eprosima::xtypes::DynamicData>::~_Result (this=0x555555814150, __in_chrg=<optimized out>)
    at /usr/include/c++/9/future:241
#8  0x00005555556d67f4 in std::__future_base::_Result<eprosima::xtypes::DynamicData>::~_Result (this=0x555555814150, __in_chrg=<optimized out>)
    at /usr/include/c++/9/future:242
#9  0x00005555556d6784 in std::__future_base::_Result<eprosima::xtypes::DynamicData>::_M_destroy (this=0x555555814150) at /usr/include/c++/9/future:263
#10 0x0000555555631217 in std::__future_base::_Result_base::_Deleter::operator() (this=0x5555557f7508, __fr=0x555555814150) at /usr/include/c++/9/future:213
#11 0x0000555555646d6a in std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>::~unique_ptr (this=0x5555557f7508,
    __in_chrg=<optimized out>) at /usr/include/c++/9/bits/unique_ptr.h:292
#12 0x00005555556cd3d4 in std::__future_base::_State_baseV2::~_State_baseV2 (this=0x5555557f7500, __in_chrg=<optimized out>) at /usr/include/c++/9/future:328
#13 0x00005555556e00bf in __gnu_cxx::new_allocator<std::__future_base::_State_baseV2>::destroy<std::__future_base::_State_baseV2> (this=0x5555557f7500,
    __p=0x5555557f7500) at /usr/include/c++/9/ext/new_allocator.h:152
#14 0x00005555556da743 in std::allocator_traits<std::allocator<std::__future_base::_State_baseV2> >::destroy<std::__future_base::_State_baseV2> (__a=...,
    __p=0x5555557f7500) at /usr/include/c++/9/bits/alloc_traits.h:496
#15 0x00005555556d5ac9 in std::_Sp_counted_ptr_inplace<std::__future_base::_State_baseV2, std::allocator<std::__future_base::_State_baseV2>, (__gnu_cxx::_Lock_policy)2>::_M_dispose (this=0x5555557f74f0) at /usr/include/c++/9/bits/shared_ptr_base.h:557
#16 0x00005555556547bc in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x5555557f74f0) at /usr/include/c++/9/bits/shared_ptr_base.h:155
#17 0x00005555556459ef in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (this=0x555555c08d80, __in_chrg=<optimized out>)
    at /usr/include/c++/9/bits/shared_ptr_base.h:730
#18 0x00005555556316b6 in std::__shared_ptr<std::__future_base::_State_baseV2, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr (this=0x555555c08d78,
    __in_chrg=<optimized out>) at /usr/include/c++/9/bits/shared_ptr_base.h:1169
#19 0x00005555556316d6 in std::shared_ptr<std::__future_base::_State_baseV2>::~shared_ptr (this=0x555555c08d78, __in_chrg=<optimized out>)
    at /usr/include/c++/9/bits/shared_ptr.h:103
#20 0x0000555555652671 in std::promise<eprosima::xtypes::DynamicData>::~promise (this=0x555555c08d78, __in_chrg=<optimized out>) at /usr/include/c++/9/future:1083
#21 0x00007ffff7c76c7d in eprosima::is::sh::mock::MockServiceClient::~MockServiceClient (this=0x555555c08d60, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)
    at /home/mac/is-workspace/src/Integration-Service/utils/test/mock/src/SystemHandle.cpp:354
#22 0x00007ffff7cb2dc5 in __gnu_cxx::new_allocator<eprosima::is::sh::mock::MockServiceClient>::destroy<eprosima::is::sh::mock::MockServiceClient> (
    this=0x555555c08d60, __p=0x555555c08d60) at /usr/include/c++/9/ext/new_allocator.h:152
#23 0x00007ffff7cb2911 in std::allocator_traits<std::allocator<eprosima::is::sh::mock::MockServiceClient> >::destroy<eprosima::is::sh::mock::MockServiceClient> (
    __a=..., __p=0x555555c08d60) at /usr/include/c++/9/bits/alloc_traits.h:496
#24 0x00007ffff7cb0d9f in std::_Sp_counted_ptr_inplace<eprosima::is::sh::mock::MockServiceClient, std::allocator<eprosima::is::sh::mock::MockServiceClient>, (__gnu_cxx::_Lock_policy)2>::_M_dispose (this=0x555555c08d50) at /usr/include/c++/9/bits/shared_ptr_base.h:557
#25 0x00005555556547bc in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x555555c08d50) at /usr/include/c++/9/bits/shared_ptr_base.h:155
#26 0x00005555556459ef in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (this=0x5555558be1c8, __in_chrg=<optimized out>)
    at /usr/include/c++/9/bits/shared_ptr_base.h:730
#27 0x00007ffff7c76594 in std::__shared_ptr<eprosima::is::sh::mock::MockServiceClient, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr (this=0x5555558be1c0,
    __in_chrg=<optimized out>) at /usr/include/c++/9/bits/shared_ptr_base.h:1169
#28 0x00007ffff7c765b4 in std::shared_ptr<eprosima::is::sh::mock::MockServiceClient>::~shared_ptr (this=0x5555558be1c0, __in_chrg=<optimized out>)
    at /usr/include/c++/9/bits/shared_ptr.h:103
#29 0x00007ffff7ca499e in std::_Destroy<std::shared_ptr<eprosima::is::sh::mock::MockServiceClient> > (__pointer=0x5555558be1c0)
    at /usr/include/c++/9/bits/stl_construct.h:98
#30 0x00007ffff7c9e05a in std::_Destroy_aux<false>::__destroy<std::shared_ptr<eprosima::is::sh::mock::MockServiceClient>*> (__first=0x5555558be1c0,
    __last=0x5555558be1d0) at /usr/include/c++/9/bits/stl_construct.h:108
#31 0x00007ffff7c94d44 in std::_Destroy<std::shared_ptr<eprosima::is::sh::mock::MockServiceClient>*> (__first=0x5555558be1c0, __last=0x5555558be1d0)
    at /usr/include/c++/9/bits/stl_construct.h:137
#32 0x00007ffff7c89ef1 in std::_Destroy<std::shared_ptr<eprosima::is::sh::mock::MockServiceClient>*, std::shared_ptr<eprosima::is::sh::mock::MockServiceClient> > (
    __first=0x5555558be1c0, __last=0x5555558be1d0) at /usr/include/c++/9/bits/stl_construct.h:206
#33 0x00007ffff7c7f469 in std::vector<std::shared_ptr<eprosima::is::sh::mock::MockServiceClient>, std::allocator<std::shared_ptr<eprosima::is::sh::mock::MockServiceClient> > >::~vector (this=0x7ffff7cf0640 <eprosima::is::sh::mock::(anonymous namespace)::Implementation::get()::impl+384>, __in_chrg=<optimized out>)
    at /usr/include/c++/9/bits/stl_vector.h:677
#34 0x00007ffff7c65110 in eprosima::is::sh::mock::(anonymous namespace)::Implementation::~Implementation (
    this=0x7ffff7cf04c0 <eprosima::is::sh::mock::(anonymous namespace)::Implementation::get()::impl>, __in_chrg=<optimized out>)
    at /home/mac/is-workspace/src/Integration-Service/utils/test/mock/src/SystemHandle.cpp:38
#35 0x00007ffff711d8a7 in __run_exit_handlers (status=0, listp=0x7ffff72c3718 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true,
    run_dtors=run_dtors@entry=true) at exit.c:108
#36 0x00007ffff711da60 in __GI_exit (status=<optimized out>) at exit.c:139
#37 0x00007ffff70fb08a in __libc_start_main (main=0x55555562b510 <main(int, char**)>, argc=1, argv=0x7fffffffd9c8, init=<optimized out>, fini=<optimized out>,
    rtld_fini=<optimized out>, stack_end=0x7fffffffd9b8) at ../csu/libc-start.c:342
#38 0x0000555555624b3e in _start ()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions