Transition to shallow history in QMsm causes assertion qep_msm#810
Real-Time Event Frameworks based on active objects & state machines
Brought to you by:
quantum-leaps
Assertion qep_msm#810 when a composite state with "shallow history" is exited, and none of the substates of this state was active. This can happen if the composite state has no initial transition and it is entered via a direct transition to its boundary (but not to any of its substates). The attached diagram shows the situation:
--MMS
Anonymous
This bug was fixed in QP/C 6.0.1 and QP/C++ 6.0.1 by modifying the function
QMsm_childStateObj_()inqep_msm.cto return the parent state in the corner case when the current state is the parent state.--MMS