Crash in module codec:286, QM version 4.1.0
Real-Time Event Frameworks based on active objects & state machines
Brought to you by:
quantum-leaps
I am experiencing a crash when an assertion fails in module codec:286 in QM version 4.1.0. The crash occurs when adding a choice segment with the diagram tools. The odd thing is that it happens in only one of the states of the diagram. The diagram is quite large though. This also happened in QM version 4.03.
Anonymous
This assertion fires when the generated code exceeds 15 levels of indentation nesting. The most frequent reason for this to happen is the excessive (incorrect) use of nested choice segments (guard conditions). If you have deeply nested choice segments, please consider branching multiple choice points from the same end-point.
This problem has been reported many times before, in the following bug reports:
bug#116
bug#113
bug#80
--MMS
This problem has been fixed by converting the assertion into a warning. The fix is released in the updated QM 4.1.0a.
--MMS
Fixed in QM 4.1.0a. The problem is resolved by turning the assertion into a code generation warning that the number of indentation levels exceeds 16.
--MMS