-
Notifications
You must be signed in to change notification settings - Fork 214
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
Failures due to SIGSEGV no longer output noisily #988
Comments
fn main() {
eprintln!("I'm printing to stderr");
} ↑ This appears to work as intended. Thus, |
We recently changed how the program is run. Previously, the playground server would Notably, the thing that previously printed out the segfault notification (either |
Just tried it on the playground, and yes, the issue appears fixed. |
Recent-ish (before October 19th?) changes in how the Rust Playground receives/collects/sends data have confounded its ability to collect the stderr of the program and output it, such that when the result is due to e.g. a SIGSEGV, it outputs nothing. This has resulted in considerable confusion, as people are expecting it to segfault noisily.
Does rustc's signal handler need to better-support output redirection in order to restore this, or is it purely incidental?
The text was updated successfully, but these errors were encountered: