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

runtime/race: print more informative message on goroutine exhaustion #6688

Closed
dvyukov opened this issue Oct 30, 2013 · 4 comments
Closed

runtime/race: print more informative message on goroutine exhaustion #6688

dvyukov opened this issue Oct 30, 2013 · 4 comments

Comments

@dvyukov
Copy link
Member

dvyukov commented Oct 30, 2013

Currently programs with -race fail with:
==1815==ThreadSanitizer: Thread limit (8192 threads) exceeded. Dying.


There is a limit on amount of simultaneously alive goroutines.
We need to print a more informative message, add a link to a web page saying what to do
in this case.
Probably remove "ThreadSanitizer" since the race detector is not branded as
ThreadSanitizer.
Look into increasing this limit to say 16K.
@rsc
Copy link
Contributor

rsc commented Nov 27, 2013

Comment 1:

Labels changed: added go1.3maybe.

@rsc
Copy link
Contributor

rsc commented Dec 4, 2013

Comment 2:

Labels changed: added release-none, removed go1.3maybe.

@rsc
Copy link
Contributor

rsc commented Dec 4, 2013

Comment 3:

Labels changed: added repo-main.

@dvyukov
Copy link
Member Author

dvyukov commented Feb 13, 2015

Race detector now prints:
race: limit on 8192 simultaneously alive goroutines is exceeded, dying

@dvyukov dvyukov closed this as completed Feb 13, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
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

3 participants