-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parallel State Execution #177
Comments
Clarifications on the issueThe example SCXML_Parallel_NotWorking.scxml successfully runs in Release mode but has assertion in Debug mode Quick and dirty patchHere is a quick patch to make it work LargeMicroStep.cpp.txt Working output
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I found USCXML a very perfect means to execute my test procedure, I am using it as a Scheduler with my test specific instructions in the state chart, Also I am looking on how to implement an Xml-RPC based invoke.
However, When I execute a parallel state, it does not work correctly.
I am facing two issues:
1.USXML library crashes
2. If tag is enclosed in in a tag, the transitions are not captured.
Details:
during the execution of scxml,
library crashes at the below code (LargeMicroStep.cpp : Step function)
if (_conflicting[transition->postFixOrder]) {
// this transition is explicitly conflicting
continue;
}
I observed in the debugger, the size of the _confliciting list is 0, and thus this statement leads to crash.
To further test my scxml, I add few lines like this before this code:
if (_conflicting.empty())
continue;
but I do not know if this action is correct.
the transition in the parallel or or invoke states is not captured, if the parallel tag is inside the state tag.
I observed that the code:
skips the transitions.
If you notice, in the working SCXML sample, the Transition 'leaving state parallel_state - Tx' is generated in the log, but in the not working this transition log is not captured. and the above code with transition.event.size() skips.
Could you please suggest me where i am going wrong?
ParallelSCXML_Examples.zip
The text was updated successfully, but these errors were encountered: