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

Comments

Projects
None yet
6 participants
@sfackler
Copy link
Member

sfackler commented Nov 17, 2016

Added in #37833

@alexcrichton

This comment has been minimized.

Copy link
Member

alexcrichton commented Dec 29, 2016

@rfcbot fcp merge

@rfcbot

This comment has been minimized.

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

This comment has been minimized.

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

This comment has been minimized.

Copy link
Member Author

sfackler commented Jan 19, 2017

Ping @brson

@brson

This comment has been minimized.

Copy link
Contributor

brson commented Jan 20, 2017

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

@retep998

This comment has been minimized.

Copy link
Member

retep998 commented Jan 20, 2017

@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

This comment has been minimized.

Copy link
Member Author

sfackler commented Feb 13, 2017

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

This comment has been minimized.

Copy link

rfcbot commented Feb 13, 2017

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

@rfcbot

This comment has been minimized.

Copy link

rfcbot commented Feb 23, 2017

The final comment period is now complete.

@SimonSapin

This comment has been minimized.

Copy link
Contributor

SimonSapin commented Mar 3, 2017

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

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

@alexcrichton

This comment has been minimized.

Copy link
Member

alexcrichton commented Mar 3, 2017

@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 added a commit to alexcrichton/rust that referenced this issue Mar 17, 2017

alexcrichton added a commit to alexcrichton/rust that referenced this issue Mar 17, 2017

@bors bors closed this in 9511fe6 Mar 19, 2017

@SimonSapin

This comment has been minimized.

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
You can’t perform that action at this time.