Skip to content

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

@dvyukov

Description

@dvyukov
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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions