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

Tracking issue for std::process::abort #37838

Closed
sfackler opened this issue Nov 17, 2016 · 12 comments
Closed

Tracking issue for std::process::abort #37838

sfackler opened this issue Nov 17, 2016 · 12 comments
Labels
B-unstable Blocker: Implemented in the nightly compiler and unstable. final-comment-period In the final comment period and will be merged soon unless new substantive objections are raised. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@sfackler
Copy link
Member

Added in #37833

@sfackler sfackler added B-unstable Blocker: Implemented in the nightly compiler and unstable. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. labels Nov 17, 2016
@alexcrichton
Copy link
Member

@rfcbot fcp merge

@rfcbot
Copy link

rfcbot commented Dec 29, 2016

Team member @alexcrichton has proposed to merge this. The next step is review by the rest of the tagged teams:

No concerns currently listed.

Once these reviewers reach consensus, this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up!

See this document for info about what commands tagged team members can give me.

@retep998
Copy link
Member

retep998 commented Jan 2, 2017

I have just become aware of another function for fatally aborting an application on Windows. FatalAppExit which displays a message box and then terminates, but if a debugger is attached it will give the user the opportunity to debug the error.

@sfackler
Copy link
Member Author

Ping @brson

@brson
Copy link
Contributor

brson commented Jan 20, 2017

@retep998 Does that affect your opinion on whether this should be stabilized as-is?

@retep998
Copy link
Member

@brson If the desired semantics are to abort without informing the user, then the current implementation is fine. If we want to inform the user that the application crashed then FatalAppExit may be a better idea.

@sfackler
Copy link
Member Author

It looks like FatalAppExit can return if the user cancels the dialog box, so if we went that route we'd have to stick a fallback abort after the FatalAppExit call if we went that direction.

@rfcbot rfcbot added the final-comment-period In the final comment period and will be merged soon unless new substantive objections are raised. label Feb 13, 2017
@rfcbot
Copy link

rfcbot commented Feb 13, 2017

🔔 This is now entering its final comment period, as per the review above. 🔔

@rfcbot
Copy link

rfcbot commented Feb 23, 2017

The final comment period is now complete.

@SimonSapin
Copy link
Contributor

Is the next step a PR to change #[unstable] to #[stable]?

I’ve file a minor docs issue: #40230.

@alexcrichton
Copy link
Member

@SimonSapin yeah that's the next step, we typically do that just before the end of a cycle

frewsxcv pushed a commit to frewsxcv/rust that referenced this issue Mar 17, 2017
alexcrichton pushed a commit to alexcrichton/rust that referenced this issue Mar 17, 2017
@bors bors closed this as completed in 9511fe6 Mar 19, 2017
@SimonSapin
Copy link
Contributor

SimonSapin commented May 16, 2017

For what it’s worth, servo/servo#16899 is a case where process::abort and intrinsics::abort are significantly different.

Calling process::abort from the crash handler causes the crash handler to be invoked again recursively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-unstable Blocker: Implemented in the nightly compiler and unstable. final-comment-period In the final comment period and will be merged soon unless new substantive objections are raised. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

6 participants