Menu

#192 Crash in module codec:286, QM version 4.1.0

QM3
closed
None
1
2019-04-30
2017-11-18
Anonymous
No

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.

Discussion

  • Quantum Leaps

    Quantum Leaps - 2017-11-20
    • status: open --> accepted
     
  • Quantum Leaps

    Quantum Leaps - 2017-11-20

    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

     
  • Quantum Leaps

    Quantum Leaps - 2017-11-20
    • Group: QP-C --> QM
     
  • Quantum Leaps

    Quantum Leaps - 2017-11-20

    This problem has been fixed by converting the assertion into a warning. The fix is released in the updated QM 4.1.0a.
    --MMS

     
  • Quantum Leaps

    Quantum Leaps - 2017-11-21
    • status: accepted --> closed
     
  • Quantum Leaps

    Quantum Leaps - 2017-11-21

    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

     

Anonymous
Anonymous

Add attachments
Cancel