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

fprof: Fix crash when using pause/restart/continue when profiling all #8541

Conversation

garazdawi
Copy link
Contributor

When running in server mode and profiling all, the function pause/restart/continue would crash as they received the atom 'all' as an interator.

closes #8472

@garazdawi garazdawi added team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI bug Issue is reported as a bug labels Jun 3, 2024
@garazdawi garazdawi added this to the OTP-27.1 milestone Jun 3, 2024
@garazdawi garazdawi self-assigned this Jun 3, 2024
@garazdawi garazdawi linked an issue Jun 3, 2024 that may be closed by this pull request
@garazdawi garazdawi linked an issue Jun 3, 2024 that may be closed by this pull request
Copy link
Contributor

github-actions bot commented Jun 3, 2024

CT Test Results

  2 files   22 suites   6m 11s ⏱️
221 tests 218 ✅ 3 💤 0 ❌
247 runs  244 ✅ 3 💤 0 ❌

Results for commit 59606f7.

♻️ 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

@garazdawi garazdawi force-pushed the lukas/tools/tprof-fix-pause-restart-continue-server branch from 7d6e344 to 65ef84c Compare June 3, 2024 13:19
When running in server mode and profiling all, the function pause/restart/continue
would crash as they received the atom 'all' as an interator.

closes erlang#8472
@garazdawi garazdawi force-pushed the lukas/tools/tprof-fix-pause-restart-continue-server branch from 65ef84c to 59606f7 Compare June 3, 2024 13:20
@garazdawi garazdawi merged commit d61f699 into erlang:maint Jun 18, 2024
16 checks passed
@garazdawi garazdawi deleted the lukas/tools/tprof-fix-pause-restart-continue-server branch June 18, 2024 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is reported as a bug 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.

tprof:restart() can fail with {badmap, all}
2 participants