Skip to content

runtime: macOS 10.10 builder is red with TSAN memory alloc failures #26475

@bradfitz

Description

@bradfitz

The release notes for Go 1.11 say that our minimum macOS supported version is "macOS 10.10 Yosemite or later", but our macOS 10.10 column is currently red.

The first failure I see is: (rev 7951d90, which I happened to approve perhaps mistakenly thinking it was trivially correct and only affected debug mode.. maybe wrong?)

https://build.golang.org/log/17de002c5f0eb3ea6136185d5f943d1f38eb5a63


##### Testing race detector
ok  	runtime/race	33.822s
ok  	flag	1.079s
ok  	net	1.241s
ok  	os	1.124s
ok  	os/exec	3.102s
ok  	encoding/gob	1.132s
==59101==ERROR: ThreadSanitizer failed to allocate 0x10000000 (268435456) bytes at address a30000000000 (errno: 12)
runtime: newstack sp=0xb0103e20 stack=[0x20c000032000, 0x20c000032800]
	morebuf={pc:0x41bcba9 sp:0xb0103e30 lr:0x0}
	sched={pc:0x4044789 sp:0xb0103e28 lr:0x0 ctxt:0x0}
runtime: gp=0x20c000076300, goid=18, gp->status=0x2
 runtime: split stack overflow: 0xb0103e20 < 0x20c000032000
fatal error: runtime: split stack overflow

runtime stack:
runtime.throw(0x427c0fd, 0x1d)
	/var/folders/6g/8k13h11n2zb8hxx99wk6f6y40000gn/T/workdir/go/src/runtime/panic.go:608 +0x6a fp=0xb0103cf0 sp=0xb0103cc0 pc=0x402d95a
runtime.newstack()
	/var/folders/6g/8k13h11n2zb8hxx99wk6f6y40000gn/T/workdir/go/src/runtime/stack.go:959 +0x89f fp=0xb0103e88 sp=0xb0103cf0 pc=0x404826f
runtime.morestack()
	/var/folders/6g/8k13h11n2zb8hxx99wk6f6y40000gn/T/workdir/go/src/runtime/asm_amd64.s:429 +0x8f fp=0xb0103e90 sp=0xb0103e88 pc=0x405ce5f

goroutine 18 [running]:
runtime: unexpected return pc for runtime.sigpanic called from 0x41bcba9
stack: frame={sp:0xb0103e28, fp:0xb0103e30} stack=[0x20c000032000,0x20c000032800)

runtime.sigpanic()
	/var/folders/6g/8k13h11n2zb8hxx99wk6f6y40000gn/T/workdir/go/src/runtime/signal_unix.go:371 +0x2f9 fp=0xb0103e30 sp=0xb0103e28 pc=0x4044789
created by runtime.gcenable
	/var/folders/6g/8k13h11n2zb8hxx99wk6f6y40000gn/T/workdir/go/src/runtime/mgc.go:216 +0x58

goroutine 1 [chan receive, locked to thread]:
runtime.gopark(0x4283908, 0x20c000082058, 0x20c00002170d, 0x3)
	/var/folders/6g/8k13h11n2zb8hxx99wk6f6y40000gn/T/workdir/go/src/runtime/proc.go:302 +0xeb fp=0x20c000036678 sp=0x20c000036658 pc=0x402f6cb
runtime.goparkunlock(0x20c000082058, 0x170d, 0x3)
	/var/folders/6g/8k13h11n2zb8hxx99wk6f6y40000gn/T/workdir/go/src/runtime/proc.go:308 +0x53 fp=0x20c0000366a8 sp=0x20c000036678 pc=0x402f773
runtime.chanrecv(0x20c000082000, 0x0, 0x20c000000301, 0x401a6b8)
	/var/folders/6g/8k13h11n2zb8hxx99wk6f6y40000gn/T/workdir/go/src/runtime/chan.go:520 +0x20b fp=0x20c000036738 sp=0x20c0000366a8 pc=0x40085db
runtime.chanrecv1(0x20c000082000, 0x0)
	/var/folders/6g/8k13h11n2zb8hxx99wk6f6y40000gn/T/workdir/go/src/runtime/chan.go:402 +0x2b fp=0x20c000036768 sp=0x20c000036738 pc=0x40083bb
runtime.gcenable()
	/var/folders/6g/8k13h11n2zb8hxx99wk6f6y40000gn/T/workdir/go/src/runtime/mgc.go:217 +0x6f fp=0x20c000036798 sp=0x20c000036768 pc=0x401a6cf
runtime.main()
	/var/folders/6g/8k13h11n2zb8hxx99wk6f6y40000gn/T/workdir/go/src/runtime/proc.go:164 +0x119 fp=0x20c0000367e0 sp=0x20c000036798 pc=0x402f1c9
runtime.goexit()
	/var/folders/6g/8k13h11n2zb8hxx99wk6f6y40000gn/T/workdir/go/src/runtime/asm_amd64.s:1333 +0x1 fp=0x20c0000367e8 sp=0x20c0000367e0 pc=0x405edd1

goroutine 2 [force gc (idle)]:
runtime.gopark(0x4283908, 0x441b290, 0x1410, 0x1)
	/var/folders/6g/8k13h11n2zb8hxx99wk6f6y40000gn/T/workdir/go/src/runtime/proc.go:302 +0xeb fp=0x20c000036f80 sp=0x20c000036f60 pc=0x402f6cb
runtime.goparkunlock(0x441b290, 0x1410, 0x1)
	/var/folders/6g/8k13h11n2zb8hxx99wk6f6y40000gn/T/workdir/go/src/runtime/proc.go:308 +0x53 fp=0x20c000036fb0 sp=0x20c000036f80 pc=0x402f773
runtime.forcegchelper()
	/var/folders/6g/8k13h11n2zb8hxx99wk6f6y40000gn/T/workdir/go/src/runtime/proc.go:251 +0xb3 fp=0x20c000036fe0 sp=0x20c000036fb0 pc=0x402f543
runtime.goexit()
	/var/folders/6g/8k13h11n2zb8hxx99wk6f6y40000gn/T/workdir/go/src/runtime/asm_amd64.s:1333 +0x1 fp=0x20c000036fe8 sp=0x20c000036fe0 pc=0x405edd1
created by runtime.init.4
	/var/folders/6g/8k13h11n2zb8hxx99wk6f6y40000gn/T/workdir/go/src/runtime/proc.go:240 +0x35
exit status 2
FAIL	_/private/var/folders/6g/8k13h11n2zb8hxx99wk6f6y40000gn/T/workdir/go/misc/cgo/test	0.016s
2018/07/09 15:59:30 Failed: exit status 1
ok  	flag	1.080s
ok  	os/exec	3.121s

/cc @randall77 @aclements @dvyukov

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions