here i am facing memory deallocation issue while using sc_signal<vctr*> B_in; where vctr is a structure consist vector as a field. Any help?
#0 __memcmp_avx2_movbe () at ../sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S:71
#1 0x00007ffff7f2a2a8 in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, sc_core::sc_object_manager::table_entry>, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, sc_core::sc_object_manager::table_entry> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, sc_core::sc_object_manager::table_entry> > >::find(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
from /opt/systemc/lib/libsystemc.so.2.3
#2 0x00007ffff7f29195 in sc_core::sc_object_manager::remove_object(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
() from /opt/systemc/lib/libsystemc.so.2.3
#3 0x00007ffff7f283ed in sc_core::sc_object::detach() () from /opt/systemc/lib/libsystemc.so.2.3
#4 0x00007ffff7f2870d in sc_core::sc_object::~sc_object() () from /opt/systemc/lib/libsystemc.so.2.3
#5 0x000055555557bbde in sc_core::sc_signal_t<vctr*, (sc_core::sc_writer_policy)0>::~sc_signal_t() ()
#6 0x0000555555577fdc in sc_core::sc_signal<vctr*, (sc_core::sc_writer_policy)0>::~sc_signal() ()
#7 0x00005555555854c1 in EthernetTransmissionSystem::~EthernetTransmissionSystem() ()
#8 0x00005555555702b2 in sc_main ()
#9 0x00007ffff7f20ec6 in sc_elab_and_sim () from /opt/systemc/lib/libsystemc.so.2.3
#10 0x00007ffff79ee083 in __libc_start_main (main=0x7ffff7e6ff90 <main>, argc=1, argv=0x7fffffffe2f8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffffffe2e8) at ../csu/libc-start.c:308
#11 0x000055555556f21e in _start ()
here is the description i got on back tracing it but did not understand much as i am beginner.