Skip to content
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

Fixed bug that arises when enabling tracing in programs with enclaves. #55

Merged
merged 3 commits into from
Mar 21, 2024

Conversation

julianrobledom
Copy link
Contributor

  • Action tracing takes the action container as argument, but in a program with enclaves some of the actions might not have a container, which leads to segmentation fault.
  • The bug was fixed by giving the environment name as parameter instead of the container name, for the actions without a container.
  • Notice that the bug only arises if a tracing session was started with the ./tracing/start_tracing.sh script, before running the lf program.

- Action tracing takes the action container as argument, but in a program with enclaves some of the actions might not have a container, which leads to segmentation fault.
- The bug was fixed by giving the environment name as parameter instead of the container name, for the actions without a container.
- Notice that the bug only arises if a tracing session was started with the ./tracing/start_tracing.sh script, before running the lf program.
@julianrobledom
Copy link
Contributor Author

The bug is related to lf-lang/lingua-franca#2119 (comment)

@lhstrh lhstrh requested a review from cmnrd March 20, 2024 22:39
@cmnrd cmnrd added the bugfix label Mar 21, 2024
Copy link
Contributor

@cmnrd cmnrd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Thanks for this fix!

@cmnrd cmnrd merged commit f0f62ad into lf-lang:master Mar 21, 2024
8 checks passed
cmnrd added a commit to lf-lang/lingua-franca that referenced this pull request Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants