Menu

#191 Transition to shallow history in QMsm causes assertion qep_msm#810

QP
closed
None
1
2024-08-01
2017-11-13
No

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

1 Attachments

Discussion

  • Quantum Leaps

    Quantum Leaps - 2017-11-15
    • status: open --> closed
    • Group: QM --> QP-C-C++
     
  • Quantum Leaps

    Quantum Leaps - 2017-11-15

    This bug was fixed in QP/C 6.0.1 and QP/C++ 6.0.1 by modifying the function QMsm_childStateObj_() in qep_msm.c to return the parent state in the corner case when the current state is the parent state.
    --MMS

     

Anonymous
Anonymous

Add attachments
Cancel