IBM Support

PI75924: INCORRECT CODE GENERATION FOR DERIVED STATE-CHART WITH AND STATES AND MODIFIED TRANSITION IN STATE IN RHAPSODY

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as user error.

Error description

  • Incorrect code generation for derived state-chart with AND
    states and modified transition in state in Rhapsody.
    
    Steps to Reproduce:
    
    1. Open the attached example, and set the
    AndStateTransitionInStateBug component to active.
    2. Set MALLOC_CHECK_=0
    3. Then run the example.
    
    Result 1:
    You will see the same results as in the given image.
    
    4. Then set MALLOC_CHECK_=2
    5. Run example again
    
    Result 2:
    You will see that the ping-pong between the 2 classes does not
    work anymore, the responding Event evBCF from ClassB will not be
    taken where it should (state_16::WaitOnCF).
    
    Workaround:
    
    The suggested workaround is to use flat instead of reusable
    state charts.
    

Local fix

Problem summary

Problem conclusion

Temporary fix

Comments

  • The model init state chart for class A1  twice via  class
    "Ccreator" object "itsCCreator"  and by DefaultConfig
    initialization, as result allot of actions for the chat chart
    occur twice  and the behavior is determine order that
    don't suppose effect the behavior, in this case you can see
    different behavior in case of debug or release compilation.
    
    solution remove the object "itsCCreator"
    

APAR Information

  • APAR number

    PI75924

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    812

  • Status

    CLOSED USE

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-02-02

  • Closed date

    2017-06-11

  • Last modified date

    2017-06-11

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.1.2","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
11 June 2017