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

Fix erl -profile_boot true crash #5546

Merged
merged 2 commits into from
Dec 29, 2021
Merged

Conversation

vkatsuba
Copy link
Contributor

@vkatsuba vkatsuba commented Dec 23, 2021

Inside of init:collect_mfas/2 function is used erlang:trace_info(_, call_time) which can return
{call_time, list()} | {call_time, boolean()} | {call_time, undefined}
The issue was in missing clause matching for {call_time, undefined}

Related to #5264.

Inside of this function is used erlang:trace_info(_, call_time) which can return
{call_time, list()} | {call_time, boolean()} | {call_time, undefined}
The issue was in missing clause matching for {call_time, undefined}
@vkatsuba
Copy link
Contributor Author

vkatsuba commented Dec 23, 2021

This is my first trying of contribution for erts and I not sure if I need also update preloaded and primary commits. If I need to do it, just let me know.

@garazdawi garazdawi added the team:VM Assigned to OTP team VM label Dec 27, 2021
@garazdawi garazdawi self-assigned this Dec 27, 2021
@garazdawi
Copy link
Contributor

This is my first trying of contribution for erts and I not sure if I need also update preloaded and primary commits. If I need to do it, just let me know.

We will push any updates to preloaded and the primary bootstrap that are needed. So what you have done is correct.

Adding this change to tests, not that I expect that it will break anything but you never know...

@garazdawi garazdawi added the testing currently being tested, tag is used by OTP internal CI label Dec 27, 2021
@garazdawi garazdawi merged commit 54773f2 into erlang:master Dec 29, 2021
@vkatsuba vkatsuba deleted the fix/gh-5264 branch December 29, 2021 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

None yet

2 participants