QP should not crash or lock-up for "malformed" state machines
Real-Time Event Frameworks based on active objects & state machines
Brought to you by:
quantum-leaps
QP/C and QP/C++ support hand-coded hierarchical state machines, which implies that users might provide various "malformed" state machines. One example of such "malformed" state machine has been recently submitted to the QP/QM discussion forum. That example caused QP to crash. Other cases of "malformed" state machines might cause QP to enter an endless loop.
Suhch behavior is considered a bug. Instead of crashing or locking up, QP should detect a problem with the user-provided state machine code and cause an assertion failure.
--MMS
Anonymous
Implemented in QP/C/C++ 7.3.3
--MMS