Closed waker-buaa closed 3 years ago
You should update and compile from sources. Remove the "modes" part, it is the source of the crash. If I do, I get the following errors ➜ github ocarina -aadlv2 -g aadl_xml -f t.aadl t.aadl:60:02 Backends: fatal error : Multiple subprogram calls in the thread call sequence are not supported. You should encapsulate them in a wrapper subprogram.
You should update and compile from sources. Remove the "modes" part, it is the source of the crash. If I do, I get the following errors ➜ github ocarina -aadlv2 -g aadl_xml -f t.aadl t.aadl:60:02 Backends: fatal error : Multiple subprogram calls in the thread call sequence are not supported. You should encapsulate them in a wrapper subprogram.
Thanks. Btw, when it happens like this: +========================== OCARINA BUG DETECTED =========================+ | Detected exception: SYSTEM.ASSERTIONS.ASSERT_FAILURE | | Error: ocarina-me_aadl-aadl_instances-nodes.adb:187 | | Please refer to the User's Guide for more details. | +=========================================================================+
raised SYSTEM.ASSERTIONS.ASSERT_FAILURE : ocarina-me_aadl-aadl_instances-nodes.adb:187
Symbolic Traceback:
is it because i used "event port" in my aadl file?
Please provide a complete example I can test.
OCARINA VERSION: Ocarina 2017.1 (Working Copy from rfb77e27) Copyright (c) 2003-2009 Telecom ParisTech, 2010-2017 ESA & ISAE
HOST MACHINE and OPERATING SYSTEM: Linux waker-virtual-machine 4.15.0-91-generic #92~16.04.1-Ubuntu SMP Fri Feb 28 14:57:22 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
DESCRIPTION: +========================== OCARINA BUG DETECTED =========================+ | Detected exception: SYSTEM.ASSERTIONS.ASSERT_FAILURE | | Error: ocarina-me_aadl-aadl_instances-entities.adb:142 | | Please refer to the User's Guide for more details. | +=========================================================================+ raised SYSTEM.ASSERTIONS.ASSERT_FAILURE : ocarina-me_aadl-aadl_instances-entities.adb:142
Symbolic Traceback:
I'm using ocarina to generate xml file from an AADL file, here's my source code
package basenode public with Data_Model;
end basenode;