-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Out-of-memory causes SIGILL #21592
Comments
This is working as intended. Rust calls the LLVM trap intrinsic which is compiled to the |
But |
This does confuse people. We could override LLVM's choice if we want to. A standard SIGABRT handler might be nice. |
Closing as a dupe of #14674, but thanks for the issue! |
How is this a duplicate? The other issue is about OOM not being printed on stackoverflow, which seems to be fixed. Maybe As Ixrec helpfully pointed out in chat, I probably should have linked to the pull request by number: #31457 |
The word "stack" does not appear in #14674, unless I'm missing somethign. |
This snippet: (Playpen link)
Causes the program to close with a SIGILL (Illegal instruction) error. I would have expected something like a SIGSEGV instead.
The text was updated successfully, but these errors were encountered: