Re: [boost] [statechart] - BOOST_ASSERTION in state_machine::send_eventif used by multiple threads

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [boost] [statechart] - BOOST_ASSERTION in state_machine::send_eventif used by multiple threads

Oliver.Kowalke-2
Same happens if I install a exception_translator in the enclosing state:

/opt/boost/include/boost-1_33_1/boost/statechart/state_machine.hpp:833:
void boost::statechart::state_machine<MostDerived, InitialState,
Allocator, ExceptionTranslator>::send_event(const
boost::statechart::event_base&) [with MostDerived =
iris::proto::svc::sm<ogx::net::ipv4::stream>, InitialState =
iris::proto::svc::proto<ogx::net::ipv4::stream>, Allocator =
std::allocator<void>, ExceptionTranslator =
boost::statechart::exception_translator<boost::statechart::exception_thr
own>]: Assertion `get_pointer( pOutermostUnstableState_ ) == 0' failed.


>Hello,
>I've several threads running. Each thread has its own state_machine.
>Sometime (not reproducible) I get following assertion:
>
>/opt/boost/include/boost-1_33_1/boost/statechart/state_machine.hpp:833:
>void boost::statechart::state_machine<MostDerived, InitialState,
>Allocator, ExceptionTranslator>::send_event(const
>boost::statechart::event_base&) [with MostDerived =
>iris::proto::svc::sm<ogx::net::ipv4::stream>, InitialState =
>iris::proto::svc::proto<ogx::net::ipv4::stream>, Allocator =
>std::allocator<void>, ExceptionTranslator =
>boost::statechart::null_exception_translator]: Assertion `get_pointer(
>pOutermostUnstableState_ ) == 0' failed.
_______________________________________________
Boost-users mailing list
[hidden email]
http://lists.boost.org/mailman/listinfo.cgi/boost-users