-
Notifications
You must be signed in to change notification settings - Fork 3k
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
segfault when crash dump #8179
Comments
Can you reproduce it easily? Can you print what you get if you do |
for I managed to reproduce it twice in 10 tries. I am trying to build a minimal reproducible env. |
gh_issu_otp_8179.tar.gz
|
Thanks for the reproducer, using a debug emulator I get this assertion:
I was able to reproduce it with 26.2, but not with 27.0-rc1. I think it is this commit that fixes the issue in 27. Maybe @jhogberg has any idea of a fix for 26? |
Fix available in #8181 |
Describe the bug
segfault when crashdump
To Reproduce
I don't think you are able to run this command it is called by some build script of EMQX with dirty context.
But it looks like relates to a race that calling
halt(0)
while formatting something.Expected behavior
crashdump success without segfault.
Affected versions
The OTP versions that are affected by this bug.
Additional context
attachments:
crashdump:
erl_crash_3.dump.gz
bt full: https://gist.github.com/qzhuyan/d540e9afeddafd971a768f9a11647477
minimal env for reproduce: #8179 (comment)
The text was updated successfully, but these errors were encountered: