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

Proposal: Deadlock detection mode for the runtime #18835

Closed
DemiMarie opened this issue Jan 29, 2017 · 2 comments
Closed

Proposal: Deadlock detection mode for the runtime #18835

DemiMarie opened this issue Jan 29, 2017 · 2 comments

Comments

@DemiMarie
Copy link
Contributor

This is a proposal for a deadlock detection mode for the runtime. In this mode, when the runtime detects that a goroutine is unreachable, it prints the goroutine's stack trace to stderr and then panics the goroutine. If the panic is uncaught, the runtime will log the stack trace to stderr, but not kill the program (this is different from the normal case).

@minux
Copy link
Member

minux commented Jan 29, 2017 via email

@rsc
Copy link
Contributor

rsc commented Jan 30, 2017

Duplicate of #13759 (idea accepted but no clear implementation approach).

@rsc rsc closed this as completed Jan 30, 2017
@golang golang locked and limited conversation to collaborators Jan 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants