Repository navigation
Tracking issue for std::process::abort #37838
Description
Activity
- addedB-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.T-libs-api[DEPRECATED; DO NOT USE][DEPRECATED; DO NOT USE]
on Nov 17, 2016 @rfcbot fcp merge
Reacted by Steve KlabnikTeam 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.
I have just become aware of another function for fatally aborting an application on Windows.
FatalAppExitwhich displays a message box and then terminates, but if a debugger is attached it will give the user the opportunity to debug the error.Ping @brson
@retep998 Does that affect your opinion on whether this should be stabilized as-is?
@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
FatalAppExitmay be a better idea.It looks like
FatalAppExitcan return if the user cancels the dialog box, so if we went that route we'd have to stick a fallback abort after theFatalAppExitcall if we went that direction.- addedfinal-comment-periodIn the final comment period and will be merged soon unless new substantive objections are raised.In the final comment period and will be merged soon unless new substantive objections are raised.
on Feb 13, 2017 🔔 This is now entering its final comment period, as per the review above. 🔔
The final comment period is now complete.
Is the next step a PR to change
#[unstable]to#[stable]?I’ve file a minor docs issue: #40230.
@SimonSapin yeah that's the next step, we typically do that just before the end of a cycle
- added a commit that references this issue
on Mar 17, 2017 For what it’s worth, servo/servo#16899 is a case where
process::abortandintrinsics::abortare significantly different.Calling
process::abortfrom the crash handler causes the crash handler to be invoked again recursively.
Added in #37833