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

beam_ssa_throw: Exceptions may escape modules through funs #7357

Conversation

jhogberg
Copy link
Contributor

@jhogberg jhogberg commented Jun 3, 2023

Fixes #7356

We need to suppress the throw optimization for funs because they
can be called from anywhere and we don't know whether the caller
will inspect the stack trace.

Fixes erlang#7356
@jhogberg jhogberg added team:VM Assigned to OTP team VM fix labels Jun 3, 2023
@jhogberg jhogberg self-assigned this Jun 3, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jun 3, 2023

CT Test Results

       2 files     253 suites   8m 40s ⏱️
   734 tests    732 ✔️ 2 💤 0
4 010 runs  4 008 ✔️ 2 💤 0

Results for commit 36a9b97.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@jhogberg jhogberg added the testing currently being tested, tag is used by OTP internal CI label Jun 7, 2023
@jhogberg jhogberg added this to the OTP-25.3.2.3 milestone Jun 7, 2023
@bjorng bjorng merged commit b2fc7d8 into erlang:maint-25 Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants