Comments (3)
Here is the gdb backtrace if of any help
Thread 5 "sm_three_some_n" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff5244700 (LWP 2219)]
0x0000555555747be4 in __gnu_cxx::__normal_iterator<std::shared_ptr<smacc2::introspection::TypeInfo>*, std::vector<std::shared_ptr<smacc2::introspection::TypeInfo>, std::allocator<std::shared_ptr<smacc2::introspection::TypeInfo> > > >::__normal_iterator (this=0x7ffff5240ad0, __i=<error reading variable>) at /usr/include/c++/9/bits/stl_iterator.h:807
807 : _M_current(__i) { }
(gdb) bt
#0 0x0000555555747be4 in __gnu_cxx::__normal_iterator<std::shared_ptr<smacc2::introspection::TypeInfo>*, std::vector<std::shared_ptr<smacc2::introspection::TypeInfo>, std::allocator<std::shared_ptr<smacc2::introspection::TypeInfo> > > >::__normal_iterator (this=0x7ffff5240ad0, __i=<error reading variable>) at /usr/include/c++/9/bits/stl_iterator.h:807
#1 0x0000555555742064 in std::vector<std::shared_ptr<smacc2::introspection::TypeInfo>, std::allocator<std::shared_ptr<smacc2::introspection::TypeInfo> > >::begin (this=0x0) at /usr/include/c++/9/bits/stl_vector.h:809
#2 0x000055555573d90f in std::vector<std::shared_ptr<smacc2::introspection::TypeInfo>, std::allocator<std::shared_ptr<smacc2::introspection::TypeInfo> > >::front (this=0x0) at /usr/include/c++/9/bits/stl_vector.h:1121
#3 0x000055555573dd2c in smacc2::introspection::SmaccStateInfo::declareTransition<smacc2::default_events::EvTopicMessage<sm_three_some::cl_subscriber::ClSubscriber, sm_three_some::OrSubscriber, std_msgs::msg::UInt16_<std::allocator<void> > > > (this=0x7ffff0080a70,
dstState=std::shared_ptr<smacc2::introspection::SmaccStateInfo> (use count 10, weak count 1) = {...}, transitionTag="sm_three_some::StState1::TIMEOUT", transitionType="smacc2::default_transition_tags::ABORT", history=false, transitionTypeInfo=std::shared_ptr<smacc2::introspection::TypeInfo> (empty) = {...})
at /home/rre/victor_ws/install/smacc2/include/smacc2/introspection/smacc_state_machine_info.hpp:263
#4 0x0000555555738403 in smacc2::introspection::processTransitionAux<smacc2::default_events::EvTopicMessage<sm_three_some::cl_subscriber::ClSubscriber, sm_three_some::OrSubscriber, std_msgs::msg::UInt16_<std::allocator<void> > >, sm_three_some::StState2, sm_three_some::StState1::TIMEOUT> (
sourceState=std::shared_ptr<smacc2::introspection::SmaccStateInfo> (use count 6, weak count 1) = {...}, history=false, transitionTypeInfo=std::shared_ptr<smacc2::introspection::TypeInfo> (empty) = {...}) at /home/rre/victor_ws/install/smacc2/include/smacc2/introspection/smacc_state_machine_info.hpp:235
#5 0x00005555557335b0 in smacc2::introspection::processTransition<smacc2::default_events::EvTopicMessage<sm_three_some::cl_subscriber::ClSubscriber, sm_three_some::OrSubscriber, std_msgs::msg::UInt16_<std::allocator<void> > >, sm_three_some::StState2, sm_three_some::StState1::TIMEOUT> (t=0x0,
sourceState=std::shared_ptr<smacc2::introspection::SmaccStateInfo> (use count 6, weak count 1) = {...}) at /home/rre/victor_ws/install/smacc2/include/smacc2/introspection/smacc_state_machine_info.hpp:190
#6 0x000055555572d3af in smacc2::introspection::processTransitions<smacc2::Transition<smacc2::default_events::EvTopicMessage<sm_three_some::cl_subscriber::ClSubscriber, sm_three_some::OrSubscriber, std_msgs::msg::UInt16_<std::allocator<void> > >, sm_three_some::StState2, sm_three_some::StState1::TIMEOUT, boost::statechart::detail::no_context<smacc2::default_events::EvTopicMessage<sm_three_some::cl_subscriber::ClSubscriber, sm_three_some::OrSubscriber, std_msgs::msg::UInt16_<std::allocator<void> > > >, &boost::statechart::detail::no_context<smacc2::default_events::EvTopicMessage<sm_three_some::cl_subscriber::ClSubscriber, sm_three_some::OrSubscriber, std_msgs::msg::UInt16_<std::allocator<void> > > >::no_function> > (sourceState=std::shared_ptr<smacc2::introspection::SmaccStateInfo> (use count 6, weak count 1) = {...}) at /home/rre/victor_ws/install/smacc2/include/smacc2/introspection/smacc_state_machine_info.hpp:344
#7 0x0000555555726da5 in smacc2::introspection::AddTransition::operator()<smacc2::introspection::type_<smacc2::Transition<smacc2::default_events::EvTopicMessage<sm_three_some::cl_subscriber::ClSubscriber, sm_three_some::OrSubscriber, std_msgs::msg::UInt16_<std::allocator<void> > >, sm_three_some::StState2, sm_three_some::StState1::TIMEOUT, boost::statechart::detail::no_context<smacc2::default_events::EvTopicMessage<sm_three_some::cl_subscriber::ClSubscriber, sm_three_some::OrSubscriber, std_msgs::msg::UInt16_<std::allocator<void> > > >, &boost::statechart::detail::no_context<smacc2::default_events::EvTopicMessage<sm_three_some::cl_subscriber::ClSubscriber, sm_three_some::OrSubscriber, std_msgs::msg::UInt16_<std::allocator<void> > > >::no_function> > > (this=0x7ffff5241f80) at /home/rre/victor_ws/install/smacc2/include/smacc2/introspection/smacc_state_machine_info.hpp:416
#8 0x000055555572235b in boost::mpl::aux::for_each_impl<false>::execute<boost::mpl::l_iter<boost::mpl::l_item<mpl_::long_<4l>, smacc2::introspection::type_<smacc2::Transition<smacc2::default_events::EvTopicMessage<sm_three_some::cl_subscriber::ClSubscriber, sm_three_some::OrSubscriber, std_msgs::msg::UInt16_<std::allocator<void> > >, sm_three_some::StState2, sm_three_some::StState1::TIMEOUT, boost::statechart::detail::no_context<smacc2::default_events::EvTopicMessage<sm_three_some::cl_subscriber::ClSubscriber, sm_three_some::OrSubscriber, std_msgs::msg::UInt16_<std::allocator<void> > > >, &boost::statechart::detail::no_context<smacc2::default_events::EvTopicMessage<sm_three_some::cl_subscriber::ClSubscriber, sm_three_some::OrSubscriber, std_msgs::msg::UInt16_<std::allocator<void> > > >::no_function> >, boost::mpl::l_item<mpl_::long_<3l>, smacc2::introspection::type_<smacc2::Transition<cl_keyboard::EvKeyPressP<cl_keyboard::CbDefaultKeyboardBehavior, sm_three_some::OrKeyboard>, sm_three_some::SS1::Ss1, sm_three_some::StState1::PREVIOUS, boost::statechart::detail::no_context<cl_keyboard::EvKeyPressP<cl_keyboard::CbDefaultKeyboardBehavior, sm_three_some::OrKeyboard> >, &boost::statechart::detail::no_context<cl_keyboard::EvKeyPressP<cl_keyboard::CbDefaultKeyboardBehavior, sm_three_some::OrKeyboard> >::no_function> >, boost::mpl::l_item<mpl_::long_<2l>, smacc2::introspection::type_<smacc2::Transition<cl_keyboard::EvKeyPressN<cl_keyboard::CbDefaultKeyboardBehavior, sm_three_some::OrKeyboard>, sm_three_some::StState2, sm_three_some::StState1::NEXT, boost::statechart::detail::no_context<cl_keyboard::EvKeyPressN<cl_keyboard::CbDefaultKeyboardBehavior, sm_three_some::OrKeyboard> >, &boost::statechart::detail::no_context<cl_keyboard::EvKeyPressN<cl_keyboard::CbDefaultKeyboardBehavior, sm_three_some::OrKeyboard> >::no_function> >, boost::mpl::l_item<mpl_::long_<1l>, smacc2::introspection::type_<smacc2::Transition<sm_three_some::EvFail, sm_three_some::MsRecover, smacc2::default_transition_tags::ABORT, boost::statechart::detail::no_context<sm_three_some::EvFail>, &boost::statechart::detail::no_context<sm_three_some::EvFail>::no_function> >, boost::mpl::l_end> > > > >, boost::mpl::l_iter<boost::mpl::l_end>, boost::mpl::identity<mpl_::na>, smacc2::introspection::AddTransition> (f=...) at /usr/include/boost/mpl/for_each.hpp:78
#9 0x000055555571c10a in _ZN5boost3mpl3aux13for_each_implILb0EE7executeINS0_6l_iterINS0_6l_itemIN4mpl_5long_ILl5EEEN6smacc213introspection5type_INSA_10TransitionIN12cl_ros_timer7EvTimerINSE_20CbTimerCountdownOnceEN13sm_three_some7OrTimerEEENSH_8StState2ENSH_8StState17TIMEOUTENS_10statechart6detail10no_contextISJ_EEXadL_ZNSQ_11no_functionERKSJ_EEEEEENS6_INS8_ILl4EEENSC_INSD_INSA_14default_events14EvTopicMessageINSH_13cl_subscriber12ClSubscriberENSH_12OrSubscriberEN8std_msgs3msg7UInt16_ISaIvEEEEESK_SM_NSP_IS16_EEXadL_ZNS17_11no_functionERKS16_EEEEEENS6_INS8_ILl3EEENSC_INSD_IN11cl_keyboard11EvKeyPressPINS1D_25CbDefaultKeyboardBehaviorENSH_10OrKeyboardEEENSH_3SS13Ss1ENSL_8PREVIOUSENSP_IS1H_EEXadL_ZNS1L_11no_functionERKS1H_EEEEEENS6_INS8_ILl2EEENSC_INSD_INS1D_11EvKeyPressNIS1F_S1G_EESK_NSL_4NEXTENSP_IS1S_EEXadL_ZNS1U_11no_functionERKS1S_EEEEEENS6_INS8_ILl1EEENSC_INSD_INSH_6EvFailENSH_9MsRecoverENSA_23default_transition_tags5ABORTENSP_IS20_EEXadL_ZNS24_11no_functionERKS20_EEEEEENS0_5l_endEEEEEEEEEEEEENS5_IS29_EENS0_8identityINS7_2naEEENSB_13AddTransitionEEEvPT_PT0_PT1_T2_ (
f=...) at /usr/include/boost/mpl/for_each.hpp:82
#10 0x0000555555715aad in boost::mpl::for_each<boost::mpl::l_item<mpl_::long_<5l>, smacc2::introspection::type_<smacc2::Transition<cl_ros_timer::EvTimer<cl_ros_timer::CbTimerCountdownOnce, sm_three_some::OrTimer>, sm_three_some::StState2, sm_three_some::StState1::TIMEOUT, boost::statechart::detail::no_context<cl_ros_timer::EvTimer<cl_ros_timer::CbTimerCountdownOnce, sm_three_some::OrTimer> >, &boost::statechart::detail::no_context<cl_ros_timer::EvTimer<cl_ros_timer::CbTimerCountdownOnce, sm_three_some::OrTimer> >::no_function> >, boost::mpl::l_item<mpl_::long_<4l>, smacc2::introspection::type_<smacc2::Transition<smacc2::default_events::EvTopicMessage<sm_three_some::cl_subscriber::ClSubscriber, sm_three_some::OrSubscriber, std_msgs::msg::UInt16_<std::allocator<void> > >, sm_three_some::StState2, sm_three_some::StState1::TIMEOUT, boost::statechart::detail::no_context<smacc2::default_events::EvTopicMessage<sm_three_some::cl_subscriber::ClSubscriber, sm_three_some::OrSubscriber, std_msgs::msg::UInt16_<std::allocator<void> > > >, &boost::statechart::detail::no_context<smacc2::default_events::EvTopicMessage<sm_three_some::cl_subscriber::ClSubscriber, sm_three_some::OrSubscriber, std_msgs::msg::UInt16_<std::allocator<void> > > >::no_function> >, boost::mpl::l_item<mpl_::long_<3l>, smacc2::introspection::type_<smacc2::Transition<cl_keyboard::EvKeyPressP<cl_keyboard::CbDefaultKeyboardBehavior, sm_three_some::OrKeyboard>, sm_three_some::SS1::Ss1, sm_three_some::StState1::PREVIOUS, boost::statechart::detail::no_context<cl_keyboard::EvKeyPressP<cl_keyboard::CbDefaultKeyboardBehavior, sm_three_some::OrKeyboard> >, &boost::statechart::detail::no_context<cl_keyboard::EvKeyPressP<cl_keyboard::CbDefaultKeyboardBehavior, sm_three_some::OrKeyboard> >::no_function> >, boost::mpl::l_item<mpl_::long_<2l>, smacc2::introspection::type_<smacc2::Transition<cl_keyboard::EvKeyPressN<cl_keyboard::CbDefaultKeyboardBehavior, sm_three_some::OrKeyboard>, sm_three_some::StState2, sm_three_some::StState1::NEXT, boost::statechart::detail::no_context<cl_keyboard::EvKeyPressN<cl_keyboard::CbDefaultKeyboardBehavior, sm_three_some::OrKeyboard> >, &boost::statechart::detail::no_context<cl_keyboard::EvKeyPressN<cl_keyboard::CbDefaultKeyboardBehavior, sm_three_some::OrKeyboard> >::no_function> >, boost::mpl::l_item<mpl_::long_<1l>, smacc2::introspection::type_<smacc2::Transition<sm_three_some::EvFail, sm_three_some::MsRecover, smacc2::default_transition_tags::ABORT, boost::statechart::detail::no_context<sm_three_some::EvFail>, &boost::statechart::detail::no_context<sm_three_some::EvFail>::no_function> >, boost::mpl::l_end> > > > >, boost::mpl::identity<mpl_::na>, smacc2::introspection::AddTransition> (f=...) at /usr/include/boost/mpl/for_each.hpp:105
#11 0x000055555571102c in boost::mpl::for_each<boost::mpl::l_item<mpl_::long_<5l>, smacc2::introspection::type_<smacc2::Transition<cl_ros_timer::EvTimer<cl_ros_timer::CbTimerCountdownOnce, sm_three_some::OrTimer>, sm_three_some::StState2, sm_three_some::StState1::TIMEOUT, boost::statechart::detail::no_context<cl_ros_timer::EvTimer<cl_ros_timer::CbTimerCountdownOnce, sm_three_some::OrTimer> >, &boost::statechart::detail::no_context<cl_ros_timer::EvTimer<cl_ros_timer::CbTimerCountdownOnce, sm_three_some::OrTimer> >::no_function> >, boost::mpl::l_item<mpl_::long_<4l>, smacc2::introspection::type_<smacc2::Transition<smacc2::default_events::EvTopicMessage<sm_three_some::cl_subscriber::ClSubscriber, sm_three_some::OrSubscriber, std_msgs::msg::UInt16_<std::allocator<void> > >, sm_three_some::StState2, sm_three_some::StState1::TIMEOUT, boost::statechart::detail::no_context<smacc2::default_events::EvTopicMessage<sm_three_some::cl_subscriber::ClSubscriber, sm_three_some::OrSubscriber, std_msgs::msg::UInt16_<std::allocator<void> > > >, &boost::statechart::detail::no_context<smacc2::default_events::EvTopicMessage<sm_three_some::cl_subscriber::ClSubscriber, sm_three_some::OrSubscriber, std_msgs::msg::UInt16_<std::allocator<void> > > >::no_function> >, boost::mpl::l_item<mpl_::long_<3l>, smacc2::introspection::type_<smacc2::Transition<cl_keyboard::EvKeyPressP<cl_keyboard::CbDefaultKeyboardBehavior, sm_three_some::OrKeyboard>, sm_three_some::SS1::Ss1, sm_three_some::StState1::PREVIOUS, boost::statechart::detail::no_context<cl_keyboard::EvKeyPressP<cl_keyboard::CbDefaultKeyboardBehavior, sm_three_some::OrKeyboard> >, &boost::statechart::detail::no_context<cl_keyboard::EvKeyPressP<cl_keyboard::CbDefaultKeyboardBehavior, sm_three_some::OrKeyboard> >::no_function> >, boost::mpl::l_item<mpl_::long_<2l>, smacc2::introspection::type_<smacc2::Transition<cl_keyboard::EvKeyPressN<cl_keyboard::CbDefaultKeyboardBehavior, sm_three_some::OrKeyboard>, sm_three_some::StState2, sm_three_some::StState1::NEXT, boost::statechart::detail::no_context<cl_keyboard::EvKeyPressN<cl_keyboard::CbDefaultKeyboardBehavior, sm_three_some::OrKeyboard> >, &boost::statechart::detail::no_context<cl_keyboard::EvKeyPressN<cl_keyboard::CbDefaultKeyboardBehavior, sm_three_some::OrKeyboard> >::no_function> >, boost::mpl::l_item<mpl_::long_<1l>, smacc2::introspection::type_<smacc2::Transition<sm_three_some::EvFail, sm_three_some::MsRecover, smacc2::default_transition_tags::ABORT, boost::statechart::detail::no_context<sm_three_some::EvFail>, &boost::statechart::detail::no_context<sm_three_some::EvFail>::no_function> >, boost::mpl::l_end> > > > >, smacc2::introspection::AddTransition> (f=...) at /usr/include/boost/mpl/for_each.hpp:118
#12 0x000055555570c0e6 in smacc2::introspection::processTransitions<boost::mpl::list<smacc2::Transition<cl_ros_timer::EvTimer<cl_ros_timer::CbTimerCountdownOnce, sm_three_some::OrTimer>, sm_three_some::StState2, sm_three_some::StState1::TIMEOUT, boost::statechart::detail::no_context<cl_ros_timer::EvTimer<cl_ros_timer::CbTimerCountdownOnce, sm_three_some::OrTimer> >, &boost::statechart::detail::no_context<cl_ros_timer::EvTimer<cl_ros_timer::CbTimerCountdownOnce, sm_three_some::OrTimer> >::no_function>, smacc2::Transition<smacc2::default_events::EvTopicMessage<sm_three_some::cl_subscriber::ClSubscriber, sm_three_some::OrSubscriber, std_msgs::msg::UInt16_<std::allocator<void> > >, sm_three_some::StState2, sm_three_some::StState1::TIMEOUT, boost::statechart::detail::no_context<smacc2::default_events::EvTopicMessage<sm_three_some::cl_subscriber::ClSubscriber, sm_three_some::OrSubscriber, std_msgs::msg::UInt16_<std::allocator<void> > > >, &boost::statechart::detail::no_context<smacc2::default_events::EvTopicMessage<sm_three_some::cl_subscriber::ClSubscriber, sm_three_some::OrSubscriber, std_msgs::msg::UInt16_<std::allocator<void> > > >::no_function>, smacc2::Transition<cl_keyboard::EvKeyPressP<cl_keyboard::CbDefaultKeyboardBehavior, sm_three_some::OrKeyboard>, sm_three_some::SS1::Ss1, sm_three_some::StState1::PREVIOUS, boost::statechart::detail::no_context<cl_keyboard::EvKeyPressP<cl_keyboard::CbDefaultKeyboardBehavior, sm_three_some::OrKeyboard> >, &boost::statechart::detail::no_context<cl_keyboard::EvKeyPressP<cl_keyboard::CbDefaultKeyboardBehavior, sm_three_some::OrKeyboard> >::no_function>, smacc2::Transition<cl_keyboard::EvKeyPressN<cl_keyboard::CbDefaultKeyboardBehavior, sm_three_some::OrKeyboard>, sm_three_some::StState2, sm_three_some::StState1::NEXT, boost::statechart::detail::no_context<cl_keyboard::EvKeyPressN<cl_keyboard::CbDefaultKeyboardBehavior, sm_three_some::OrKeyboard> >, &boost::statechart::detail::no_context<cl_keyboard::EvKeyPressN<cl_keyboard::CbDefaultKeyboardBehavior, sm_three_some::OrKeyboard> >::no_function>, smacc2::Transition<sm_three_some::EvFail, sm_three_some::MsRecover, smacc2::default_transition_tags::ABORT, boost::statechart::detail::no_context<sm_three_some::EvFail>, &boost::statechart::detail::no_context<sm_three_some::EvFail>::no_function>, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na> > (
sourceState=std::shared_ptr<smacc2::introspection::SmaccStateInfo> (use count 6, weak count 1) = {...}) at /home/rre/victor_ws/install/smacc2/include/smacc2/introspection/smacc_state_machine_info.hpp:168
#13 0x00005555557066b6 in smacc2::introspection::WalkStatesExecutor<sm_three_some::StState1>::walkStates (parentState=std::shared_ptr<smacc2::introspection::SmaccStateInfo> (use count 9, weak count 1) = {...}, rootInitialNode=false) at /home/rre/victor_ws/install/smacc2/include/smacc2/introspection/smacc_state_machine_info.hpp:461
#14 0x00005555557022c5 in smacc2::introspection::processSubState<sm_three_some::StState1> (parentState=std::shared_ptr<smacc2::introspection::SmaccStateInfo> (use count 9, weak count 1) = {...}) at /home/rre/victor_ws/install/smacc2/include/smacc2/introspection/smacc_state_machine_info.hpp:144
#15 0x00005555556fdfaa in smacc2::introspection::WalkStatesExecutor<sm_three_some::MsRun>::walkStates (parentState=std::shared_ptr<smacc2::introspection::SmaccStateInfo> (use count 9, weak count 1) = {...}, rootInitialNode=true) at /home/rre/victor_ws/install/smacc2/include/smacc2/introspection/smacc_state_machine_info.hpp:454
#16 0x00005555556fb9bf in smacc2::introspection::SmaccStateMachineInfo::buildStateMachineInfo<sm_three_some::MsRun> (this=0x7ffff007c5a0) at /home/rre/victor_ws/install/smacc2/include/smacc2/introspection/smacc_state_machine_info.hpp:470
#17 0x00005555556fa666 in smacc2::ISmaccStateMachine::buildStateMachineInfo<sm_three_some::MsRun> (this=0x7ffff0000b60) at /home/rre/victor_ws/install/smacc2/include/smacc2/impl/smacc_state_machine_impl.hpp:601
#18 0x00005555556f742d in smacc2::SmaccStateMachineBase<sm_three_some::SmThreeSome, sm_three_some::MsRun>::initiate_impl (this=0x7ffff0000b60) at /home/rre/victor_ws/install/smacc2/include/smacc2/smacc_state_machine_base.hpp:75
#19 0x000055555568a19d in boost::statechart::event_processor<boost::statechart::fifo_scheduler<boost::statechart::fifo_worker<std::allocator<boost::statechart::none> >, std::allocator<boost::statechart::none> > >::initiate (this=0x7ffff0000e40) at /usr/include/boost/statechart/event_processor.hpp:44
#20 0x000055555567ac22 in boost::statechart::processor_container<boost::statechart::fifo_scheduler<boost::statechart::fifo_worker<std::allocator<boost::statechart::none> >, std::allocator<boost::statechart::none> >, boost::function0<void>, std::allocator<boost::statechart::none> >::initiate_processor_impl (this=0x7fffffffcfc8, processor=...)
at /usr/include/boost/statechart/processor_container.hpp:397
#21 0x00005555556e103a in boost::_mfi::mf1<void, boost::statechart::processor_container<boost::statechart::fifo_scheduler<boost::statechart::fifo_worker<std::allocator<boost::statechart::none> >, std::allocator<boost::statechart::none> >, boost::function0<void>, std::allocator<boost::statechart::none> >, boost::weak_ptr<std::auto_ptr<boost::statechart::event_processor<boost::statechart::fifo_scheduler<boost::statechart::fifo_worker<std::allocator<boost::statechart::none> >, std::allocator<boost::statechart::none> > > > > const&>::operator() (this=0x555555979a10, p=0x7fffffffcfc8, a1=...) at /usr/include/boost/bind/mem_fn_template.hpp:165
#22 0x00005555556d8590 in boost::_bi::list2<boost::_bi::value<boost::statechart::processor_container<boost::statechart::fifo_scheduler<boost::statechart::fifo_worker<std::allocator<boost::statechart::none> >, std::allocator<boost::statechart::none> >, boost::function0<void>, std::allocator<boost::statechart::none> >*>, boost::_bi::value<boost::weak_ptr<std::auto_ptr<boost::statechart::event_processor<boost::statechart::fifo_scheduler<boost::statechart::fifo_worker<std::allocator<boost::statechart::none> >, std::allocator<boost::statechart::none> > > > > > >::operator()<boost::_mfi::mf1<void, boost::statechart::processor_container<boost::statechart::fifo_scheduler<boost::statechart::fifo_worker<std::allocator<boost::statechart::none> >, std::allocator<boost::statechart::none> >, boost::function0<void>, std::allocator<boost::statechart::none> >, boost::weak_ptr<std::auto_ptr<boost::statechart::event_processor<boost::statechart::fifo_scheduler<boost::statechart::fifo_worker<std::allocator<boost::statechart::none> >, std::allocator<boost::statechart::none> > > > > const&>, boost::_bi::list0> (this=0x555555979a20, f=..., a=...) at /usr/include/boost/bind/bind.hpp:319
#23 0x00005555556c4af2 in boost::_bi::bind_t<void, boost::_mfi::mf1<void, boost::statechart::processor_container<boost::statechart::fifo_scheduler<boost::statechart::fifo_worker<std::allocator<boost::statechart::none> >, std::allocator<boost::statechart::none> >, boost::function0<void>, std::allocator<boost::statechart::none> >, boost::weak_ptr<std::auto_ptr<boost::statechart::event_processor<boost::statechart::fifo_scheduler<boost::statechart::fifo_worker<std::allocator<boost::statechart::none> >, std::allocator<boost::statechart::none> > > > > const&>, boost::_bi::list2<boost::_bi::value<boost::statechart::processor_container<boost::statechart::fifo_scheduler<boost::statechart::fifo_worker<std::allocator<boost::statechart::none> >, std::allocator<boost::statechart::none> >, boost::function0<void>, std::allocator<boost::statechart::none> >*>, boost::_bi::value<boost::weak_ptr<std::auto_ptr<boost::statechart::event_processor<boost::statechart::fifo_scheduler<boost::statechart::fifo_worker<std::allocator<boost::statechart::none> >, std::allocator<boost::statechart::none> > > > > > > >::operator() (this=0x555555979a10) at /usr/include/boost/bind/bind.hpp:1294
#24 0x00005555556a7505 in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf1<void, boost::statechart::processor_container<boost::statechart::fifo_scheduler<boost::statechart::fifo_worker<std::allocator<boost::statechart::none> >, std::allocator<boost::statechart::none> >, boost::function0<void>, std::allocator<boost::statechart::none> >, boost::weak_ptr<std::auto_ptr<boost::statechart::event_processor<boost::statechart::fifo_scheduler<boost::statechart::fifo_worker<std::allocator<boost::statechart::none> >, std::allocator<boost::statechart::none> > > > > const&>, boost::_bi::list2<boost::_bi::value<boost::statechart::processor_container<boost::statechart::fifo_scheduler<boost::statechart::fifo_worker<std::allocator<boost::statechart::none> >, std::allocator<boost::statechart::none> >, boost::function0<void>, std::allocator<boost::statechart::none> >*>, boost::_bi::value<boost::weak_ptr<std::auto_ptr<boost::statechart::event_processor<boost::statechart::fifo_scheduler<boost::statechart::fifo_worker<std::allocator<boost::statechart::none> >, std::allocator<boost::statechart::none> > > > > > > >, void>::invoke (function_obj_ptr=...) at /usr/include/boost/function/function_template.hpp:158
#25 0x000055555563f85f in boost::function0<void>::operator() (this=0x7ffff52434d0) at /usr/include/boost/function/function_template.hpp:763
#26 0x0000555555664adb in boost::statechart::fifo_worker<std::allocator<boost::statechart::none> >::operator() (this=0x7fffffffcff8, maxItemCount=0) at /usr/include/boost/statechart/fifo_worker.hpp:134
#27 0x00005555556598c7 in boost::statechart::fifo_scheduler<boost::statechart::fifo_worker<std::allocator<boost::statechart::none> >, std::allocator<boost::statechart::none> >::operator() (this=0x7fffffffcfc0, maxEventCount=0) at /usr/include/boost/statechart/fifo_scheduler.hpp:187
#28 0x00005555556fc3a0 in boost::_mfi::mf1<unsigned long, boost::statechart::fifo_scheduler<boost::statechart::fifo_worker<std::allocator<boost::statechart::none> >, std::allocator<boost::statechart::none> >, unsigned long>::operator() (this=0x55555599fd28, p=0x7fffffffcfc0, a1=0) at /usr/include/boost/bind/mem_fn_template.hpp:165
#29 0x00005555556fb0c7 in boost::_bi::list2<boost::_bi::value<boost::statechart::fifo_scheduler<boost::statechart::fifo_worker<std::allocator<boost::statechart::none> >, std::allocator<boost::statechart::none> >*>, boost::_bi::value<int> >::operator()<unsigned long, boost::_mfi::mf1<unsigned long, boost::statechart::fifo_scheduler<boost::statechart::fifo_worker<std::allocator<boost::statechart::none> >, std::allocator<boost::statechart::none> >, unsigned long>, boost::_bi::list0> (this=0x55555599fd38, f=..., a=...) at /usr/include/boost/bind/bind.hpp:309
#30 0x00005555556f8060 in boost::_bi::bind_t<unsigned long, boost::_mfi::mf1<unsigned long, boost::statechart::fifo_scheduler<boost::statechart::fifo_worker<std::allocator<boost::statechart::none> >, std::allocator<boost::statechart::none> >, unsigned long>, boost::_bi::list2<boost::_bi::value<boost::statechart::fifo_scheduler<boost::statechart::fifo_worker<std::allocator<boost::statechart::none> >, std::allocator<boost::statechart::none> >*>, boost::_bi::value<int> > >::operator() (this=0x55555599fd28) at /usr/include/boost/bind/bind.hpp:1294
#31 0x00005555556f1f4a in boost::detail::thread_data<boost::_bi::bind_t<unsigned long, boost::_mfi::mf1<unsigned long, boost::statechart::fifo_scheduler<boost::statechart::fifo_worker<std::allocator<boost::statechart::none> >, std::allocator<boost::statechart::none> >, unsigned long>, boost::_bi::list2<boost::_bi::value<boost::statechart::fifo_scheduler<boost::statechart::fifo_worker<std::allocator<boost::statechart::none> >, std::allocator<boost::statechart::none> >*>, boost::_bi::value<int> > > >::run (this=0x55555599fbf0) at /usr/include/boost/thread/detail/thread.hpp:120
#32 0x00007ffff7f7443b in ?? () from /lib/x86_64-linux-gnu/libboost_thread.so.1.71.0
#33 0x00007ffff7942609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#34 0x00007ffff75d2293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
from smacc2.
For some context, I have started to write a simple state machine based on the sm_atomic_example.
But as soon as I have replaced the timer by a subscriber to produce events, I also have a segfault.
I think that SMACC2 lack simpler examples with just two states but different sources for events, like timer, subscriber, service...
from smacc2.
Hello.
Thanks for your report. We identified the issue you mentioned.
It was a regression in the code, now it should be fixed in all branches.
I hope it helps for you. Please, do not hesitate to re-open the discussion if you are still getting any error.
from smacc2.
Related Issues (20)
- warning format occorred. HOT 2
- Look at getting Nvidia GPU to run docker image
- Investigate running UE5 with AMD and Fedora
- Set up ROS2 on Fedora
- feature/sm_dancebot_ue ./run_docker_container_editor.sh doesnt work
- feature/sm_dancebot_ue ./run_editor_smacc.sh-readme
- Update from 0.4.0 to 2.3.18 on 22.04 Humble not transitioning to next inner state HOT 19
- Confusion about rationale behind orthogonal implementation HOT 1
- Migrate to modern Gazebo HOT 1
- Nav2z client's waypoint Navigator sends goals in odom frame. HOT 2
- Adding manually compiled SMACC2 packages files to /opt/foxy folder HOT 2
- Fastbin Misalignment - Ubuntu 22.04 - Ros Humble HOT 1
- Error!! when build package HOT 4
- error during installation SMACC2 for rolling HOT 2
- SmaccAsyncClientBehavior onExit() freezes when cancelGoal() is called on the attached action client HOT 9
- [Question] Is there a way to access the event from a state that caused the transition to the current state? HOT 2
- Need http client behaviors moved to the Client Behavior Library
- Unit and Integration Testing in SMACC2
- How to Configure Client Behaviors to Run Sequentially? HOT 2
- Why is client behavior's `OnExit` always called twice when exiting a state HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smacc2.