go/src
Dmitry Vyukov 59495e8dfd runtime: never show system goroutines in traceback
Fixes #9791

g.issystem flag setup races with other code wherever we set it.
Even if we set both in parent goroutine and in the system goroutine,
it is still possible that some other goroutine crashes
before the flag is set. We could pass issystem flag to newproc1,
but we start all goroutines with go nowadays.

Instead look at g.startpc to distinguish system goroutines (similar to topofstack).

Change-Id: Ia3467968dee27fa07d9fecedd4c2b00928f26645
Reviewed-on: https://go-review.googlesource.com/4113
Reviewed-by: Keith Randall <khr@golang.org>
2015-02-11 10:39:48 +00:00
..
archive archive/tar: set Header.Mode in example 2015-01-26 01:54:06 +00:00
bufio bufio: add Reader.Discard 2015-01-07 06:37:57 +00:00
builtin
bytes bytes, strings: improve documentation for Count functions 2015-01-22 18:28:35 +00:00
cmd cmd/dist: fetch version when needed, instead of at init 2015-02-11 05:20:58 +00:00
compress all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
container
crypto crypto/x509: allow matchHostnames to work with absolute domain names 2015-02-11 01:20:35 +00:00
database/sql database/sql: reduce lock contention in Stmt.connStmt 2015-01-24 09:56:25 +00:00
debug all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
encoding encoding/xml: add more EncodeToken tests. 2015-02-09 04:02:45 +00:00
errors
expvar expvar: fix build 2015-02-05 13:53:29 +00:00
flag flag: Check for Set error 2014-12-22 00:17:07 +00:00
fmt cmd/gc: allocate buffers for non-escaped strings on stack 2015-01-28 20:12:38 +00:00
go net: re-implement Interfaces and InterfaceAddrs for IPNet, IPv6 on Windows 2015-02-10 00:44:05 +00:00
hash all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
html all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
image image: fix obsolete reference in PalettedImage doc comment 2015-02-06 04:06:44 +00:00
index/suffixarray
internal/syscall net: re-implement Interfaces and InterfaceAddrs for IPNet, IPv6 on Windows 2015-02-10 00:44:05 +00:00
io
lib9 lib9: provide alterantive implementation of ldexp and frexp 2015-02-06 05:40:28 +00:00
libbio
liblink liblink, runtime: move all references to runtime.tlsg to tls_arm.s 2015-02-09 22:14:06 +00:00
log log: add SetOutput method on Logger 2015-01-30 16:00:10 +00:00
math math/big: implemented Frexp, Ldexp, IsInt, Copy, bug fixes, more tests 2015-02-10 19:08:53 +00:00
mime mime/multipart: moved some code to mime/internal/quotedprintable 2014-12-23 19:30:02 +00:00
net net: disable WriteMsgUDP tests on nacl, windows (fix build) 2015-02-10 23:21:40 +00:00
os os: embed "sleep 1" within the test binary itself. 2015-02-09 16:50:39 +00:00
path all: don't refer to code.google.com/p/go{,-wiki}/ 2015-02-06 14:41:47 +00:00
reflect reflect: mark map access functions as go:noescape 2015-02-11 10:37:45 +00:00
regexp regexp: update URLs in tests 2015-01-26 01:54:28 +00:00
runtime runtime: never show system goroutines in traceback 2015-02-11 10:39:48 +00:00
sort sort: fixed small typo in comments 2015-02-08 23:38:50 +00:00
strconv strconv: fix internal documentation (clarification, typos) 2015-02-05 22:36:19 +00:00
strings bytes, strings: improve documentation for Count functions 2015-01-22 18:28:35 +00:00
sync sync/atomic: darwin/arm support 2015-02-06 05:49:14 +00:00
syscall os, syscall: revert Yosemite readdir workaround 2015-02-08 21:04:15 +00:00
testing testing: pad benchmark names to align results 2015-02-07 21:52:25 +00:00
text text/template: fix bug in pipelined variadics 2014-10-18 11:22:05 -07:00
time Build fix for plan9 after 8bf13838eb. 2015-02-08 22:30:46 +00:00
unicode unicode/utf8: fix docs for DecodeRune(empty) and friends. 2014-10-16 09:13:50 +11:00
unsafe unsafe: minor doc string improvements 2015-01-28 19:42:15 +00:00
Make.dist
all.bash
all.bat
all.rc
androidtest.bash build: androidtest.bash has to use copy for files to adb-sync. 2015-01-15 13:53:03 +00:00
clean.bash
clean.bat
clean.rc
make.bash cmd/go, make: remove ccflags 2015-02-04 16:15:00 +00:00
make.bat [dev.cc] build: do not pass GOHOSTOS and GOHOSTARCH to Go 1.4 build 2015-01-14 20:17:20 +00:00
make.rc cmd/go, make: remove ccflags 2015-02-04 16:15:00 +00:00
nacltest.bash cmd/dist: reactivate vfp detection on linux/arm 2015-02-10 00:17:06 +00:00
race.bash
race.bat build: fix race.bat flags 2015-02-07 01:54:43 +00:00
run.bash cmd/cgo: remove obsolete -cdefs flag 2015-01-07 22:49:59 +00:00
run.bat build: change all.bash output to be more markdown-friendly 2014-12-13 00:03:23 +00:00
run.rc build: add GOTESTONLY environment test for Plan 9's run.rc 2015-01-08 04:35:23 +00:00