diff options
author | Russ Cox <rsc@golang.org> | 2013-09-11 12:00:37 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2013-09-11 12:00:37 -0400 |
commit | 427c54e637da105255db8025b9038dec646cc842 (patch) | |
tree | 8b52507f82f9f2fe1d719ec9ae504b71386c0fe8 /src/pkg/unsafe/unsafe.go | |
parent | 01b4e2961ea3c5b4aeef507b1e52fe6c29b86b1e (diff) | |
download | go-427c54e637da105255db8025b9038dec646cc842.tar.gz |
runtime: show m stack during crash on m stack
The various throwing > 0 finish a change started
in a previous CL, which sets throwing = -1 to mean
"don't show the internals". That gets set during the
"all goroutines are asleep - deadlock!" crash, and it
should also be set during any other expected crash
that does not indicate a problem within the runtime.
Most runtime.throw do indicate a problem within the
runtime, however, so we should be able to enumerate
the ones that should be silent. The goroutine sleeping
deadlock is the only one I can think of.
Update issue 5139
R=golang-dev, iant
CC=golang-dev
https://codereview.appspot.com/13662043
Diffstat (limited to 'src/pkg/unsafe/unsafe.go')
0 files changed, 0 insertions, 0 deletions