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: SIGBUS in runtime.retake on freebsd-amd64-12_2 #48077

Open
bcmills opened this issue Aug 30, 2021 · 0 comments
Open

runtime: SIGBUS in runtime.retake on freebsd-amd64-12_2 #48077

bcmills opened this issue Aug 30, 2021 · 0 comments

Comments

@bcmills
Copy link
Member

@bcmills bcmills commented Aug 30, 2021

$ greplogs --dashboard -md -e (?ms)SIGBUS.*runtime\.mstart --since=2021-05-01

2021-08-27T00:36:19-f153b67/freebsd-amd64-12_2:

--- FAIL: TestCrossPackageTests (0.30s)
    pkg_test.go:66: go test -short: exit status 2
        fatal error: unexpected signal during runtime execution
        [signal SIGBUS: bus error code=0xc addr=0x804874950 pc=0x4420b1]
        
        runtime stack:
        runtime.throw({0x9b43b5, 0x7fffdfffde70})
        	/tmp/workdir/go/src/runtime/panic.go:965 +0x71 fp=0x7fffdfffde20 sp=0x7fffdfffddf0 pc=0x4347d1
        runtime.sigpanic()
        	/tmp/workdir/go/src/runtime/signal_unix.go:720 +0x3a9 fp=0x7fffdfffde70 sp=0x7fffdfffde20 pc=0x449e69
        runtime.retake(0xb5a910e5e5)
        	/tmp/workdir/go/src/runtime/proc.go:5417 +0x51 fp=0x7fffdfffdeb0 sp=0x7fffdfffde70 pc=0x4420b1
        runtime.sysmon()
        	/tmp/workdir/go/src/runtime/proc.go:5375 +0x317 fp=0x7fffdfffdf18 sp=0x7fffdfffdeb0 pc=0x441f17
        runtime.mstart1()
        	/tmp/workdir/go/src/runtime/proc.go:1400 +0x93 fp=0x7fffdfffdf40 sp=0x7fffdfffdf18 pc=0x439af3
        runtime.mstart0()
        	/tmp/workdir/go/src/runtime/proc.go:1358 +0x79 fp=0x7fffdfffdf70 sp=0x7fffdfffdf40 pc=0x439a39
        runtime.mstart()
        	/tmp/workdir/go/src/runtime/asm_amd64.s:242 +0x5 fp=0x7fffdfffdf78 sp=0x7fffdfffdf70 pc=0x460fc5
        
        goroutine 1 [semacquire]:
        runtime.gopark(0xd9d4e0, 0x828533ec8, 0x80, 0x53, 0x40e46b)
        	/tmp/workdir/go/src/runtime/proc.go:366 +0xd6 fp=0xc0004e3790 sp=0xc0004e3770 pc=0x437336
        runtime.goparkunlock(...)
        	/tmp/workdir/go/src/runtime/proc.go:372
        runtime.semacquire1(0xc0000f46b8, 0xe0, 0x1, 0x0)
        	/tmp/workdir/go/src/runtime/sema.go:144 +0x20c fp=0xc0004e37f8 sp=0xc0004e3790 pc=0x4473ec
        sync.runtime_Semacquire(0xc0003f96e0)
        	/tmp/workdir/go/src/runtime/sema.go:56 +0x25 fp=0xc0004e3828 sp=0xc0004e37f8 pc=0x45f545
        sync.(*WaitGroup).Wait(0x945200)
        	/tmp/workdir/go/src/sync/waitgroup.go:130 +0x71 fp=0xc0004e3850 sp=0xc0004e3828 pc=0x46e5d1
        cmd/go/internal/work.(*Builder).Do(0xc0002dcf00, {0xa77700, 0xc0000280f8}, 0xc0004c77c0)
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:208 +0x4af fp=0xc0004e3968 sp=0xc0004e3850 pc=0x849c0f
        cmd/go/internal/test.runTest({0xa77700, 0xc0000280f8}, 0xc00002a300, {0xc0000201a0, 0x4a, 0x4c})
        	/tmp/workdir/go/src/cmd/go/internal/test/test.go:831 +0x1d53 fp=0xc0004e3d98 sp=0xc0004e3968 pc=0x8af693
        main.invoke(0xd8af60, {0xc000020190, 0x2, 0x2})
        	/tmp/workdir/go/src/cmd/go/main.go:216 +0x2f6 fp=0xc0004e3e60 sp=0xc0004e3d98 pc=0x8c5bf6
        main.main()
        	/tmp/workdir/go/src/cmd/go/main.go:173 +0x78e fp=0xc0004e3f80 sp=0xc0004e3e60 pc=0x8c55ce
        runtime.main()
        	/tmp/workdir/go/src/runtime/proc.go:255 +0x213 fp=0xc0004e3fe0 sp=0xc0004e3f80 pc=0x436f73
        runtime.goexit()
        	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc0004e3fe8 sp=0xc0004e3fe0 pc=0x463281
        
        goroutine 2 [force gc (idle)]:
        runtime.gopark(0x0, 0x0, 0x0, 0x0, 0x0)
        	/tmp/workdir/go/src/runtime/proc.go:366 +0xd6 fp=0xc000044fb0 sp=0xc000044f90 pc=0x437336
        runtime.goparkunlock(...)
        	/tmp/workdir/go/src/runtime/proc.go:372
        runtime.forcegchelper()
        	/tmp/workdir/go/src/runtime/proc.go:306 +0xa5 fp=0xc000044fe0 sp=0xc000044fb0 pc=0x4371c5
        runtime.goexit()
        	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc000044fe8 sp=0xc000044fe0 pc=0x463281
        created by runtime.init.6
        	/tmp/workdir/go/src/runtime/proc.go:294 +0x25
        
        goroutine 18 [GC sweep wait]:
        runtime.gopark(0x1, 0x0, 0x0, 0x0, 0x0)
        	/tmp/workdir/go/src/runtime/proc.go:366 +0xd6 fp=0xc000040790 sp=0xc000040770 pc=0x437336
        runtime.goparkunlock(...)
        	/tmp/workdir/go/src/runtime/proc.go:372
        runtime.bgsweep(0x0)
        	/tmp/workdir/go/src/runtime/mgcsweep.go:182 +0xdc fp=0xc0000407c8 sp=0xc000040790 pc=0x42417c
        runtime.gcenable.func1()
        	/tmp/workdir/go/src/runtime/mgc.go:177 +0x26 fp=0xc0000407e0 sp=0xc0000407c8 pc=0x41a5c6
        runtime.goexit()
        	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc0000407e8 sp=0xc0000407e0 pc=0x463281
        created by runtime.gcenable
        	/tmp/workdir/go/src/runtime/mgc.go:177 +0x6b
        
        goroutine 19 [GC scavenge wait]:
        runtime.gopark(0xc000040fa0, 0x0, 0x0, 0x0, 0x0)
        	/tmp/workdir/go/src/runtime/proc.go:366 +0xd6 fp=0xc000040f60 sp=0xc000040f40 pc=0x437336
        runtime.goparkunlock(...)
        	/tmp/workdir/go/src/runtime/proc.go:372
        runtime.bgscavenge(0x0)
        	/tmp/workdir/go/src/runtime/mgcscavenge.go:315 +0x288 fp=0xc000040fc8 sp=0xc000040f60 pc=0x4223e8
        runtime.gcenable.func2()
        	/tmp/workdir/go/src/runtime/mgc.go:178 +0x26 fp=0xc000040fe0 sp=0xc000040fc8 pc=0x41a566
        runtime.goexit()
        	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc000040fe8 sp=0xc000040fe0 pc=0x463281
        created by runtime.gcenable
        	/tmp/workdir/go/src/runtime/mgc.go:178 +0xaa
        
        goroutine 3 [finalizer wait]:
        runtime.gopark(0x0, 0x9e4f50, 0x0, 0xe0, 0x1000000010)
        	/tmp/workdir/go/src/runtime/proc.go:366 +0xd6 fp=0xc000044630 sp=0xc000044610 pc=0x437336
        runtime.goparkunlock(...)
        	/tmp/workdir/go/src/runtime/proc.go:372
        runtime.runfinq()
        	/tmp/workdir/go/src/runtime/mfinal.go:177 +0xb3 fp=0xc0000447e0 sp=0xc000044630 pc=0x4197d3
        runtime.goexit()
        	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc0000447e8 sp=0xc0000447e0 pc=0x463281
        created by runtime.createfing
        	/tmp/workdir/go/src/runtime/mfinal.go:157 +0x45
        
        goroutine 8 [GC worker (idle)]:
        runtime.gopark(0x0, 0x0, 0x0, 0x0, 0x0)
        	/tmp/workdir/go/src/runtime/proc.go:366 +0xd6 fp=0xc000046f60 sp=0xc000046f40 pc=0x437336
        runtime.gcBgMarkWorker()
        	/tmp/workdir/go/src/runtime/mgc.go:1195 +0xe5 fp=0xc000046fe0 sp=0xc000046f60 pc=0x41c6e5
        runtime.goexit()
        	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc000046fe8 sp=0xc000046fe0 pc=0x463281
        created by runtime.gcBgMarkStartWorkers
        	/tmp/workdir/go/src/runtime/mgc.go:1119 +0x25
        
        goroutine 9 [GC worker (idle)]:
        runtime.gopark(0xc0000477b8, 0xc0002272a0, 0x18, 0x14, 0x0)
        	/tmp/workdir/go/src/runtime/proc.go:366 +0xd6 fp=0xc000047760 sp=0xc000047740 pc=0x437336
        runtime.gcBgMarkWorker()
        	/tmp/workdir/go/src/runtime/mgc.go:1195 +0xe5 fp=0xc0000477e0 sp=0xc000047760 pc=0x41c6e5
        runtime.goexit()
        	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc0000477e8 sp=0xc0000477e0 pc=0x463281
        created by runtime.gcBgMarkStartWorkers
        	/tmp/workdir/go/src/runtime/mgc.go:1119 +0x25
        
        goroutine 34 [GC worker (idle)]:
        runtime.gopark(0xc000045fb8, 0xc0000b0180, 0x18, 0x14, 0x0)
        	/tmp/workdir/go/src/runtime/proc.go:366 +0xd6 fp=0xc000045f60 sp=0xc000045f40 pc=0x437336
        runtime.gcBgMarkWorker()
        	/tmp/workdir/go/src/runtime/mgc.go:1195 +0xe5 fp=0xc000045fe0 sp=0xc000045f60 pc=0x41c6e5
        runtime.goexit()
        	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc000045fe8 sp=0xc000045fe0 pc=0x463281
        created by runtime.gcBgMarkStartWorkers
        	/tmp/workdir/go/src/runtime/mgc.go:1119 +0x25
        
        goroutine 20 [GC worker (idle)]:
        runtime.gopark(0xc0000457b8, 0x0, 0xd0, 0xb5, 0xc0000103b8)
        	/tmp/workdir/go/src/runtime/proc.go:366 +0xd6 fp=0xc000045760 sp=0xc000045740 pc=0x437336
        runtime.gcBgMarkWorker()
        	/tmp/workdir/go/src/runtime/mgc.go:1195 +0xe5 fp=0xc0000457e0 sp=0xc000045760 pc=0x41c6e5
        runtime.goexit()
        	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc0000457e8 sp=0xc0000457e0 pc=0x463281
        created by runtime.gcBgMarkStartWorkers
        	/tmp/workdir/go/src/runtime/mgc.go:1119 +0x25
        
        goroutine 293 [runnable]:
        syscall.Syscall(0x6, 0xa, 0x0, 0x0)
        	/tmp/workdir/go/src/syscall/asm_unix_amd64.s:20 +0x5 fp=0xc000554728 sp=0xc000554720 pc=0x478c05
        syscall.Close(0x5e34c35400000300)
        	/tmp/workdir/go/src/syscall/zsyscall_freebsd_amd64.go:376 +0x30 fp=0xc000554770 sp=0xc000554728 pc=0x475b10
        internal/poll.(*FD).destroy(0xc0001d50e0)
        	/tmp/workdir/go/src/internal/poll/fd_unix.go:84 +0x51 fp=0xc000554798 sp=0xc000554770 pc=0x4c6331
        internal/poll.(*FD).decref(0x8285adc00)
        	/tmp/workdir/go/src/internal/poll/fd_mutex.go:213 +0x54 fp=0xc0005547b8 sp=0xc000554798 pc=0x4c5194
        internal/poll.(*FD).Close(0xc0001d50e0)
        	/tmp/workdir/go/src/internal/poll/fd_unix.go:107 +0x4f fp=0xc0005547e0 sp=0xc0005547b8 pc=0x4c63cf
        os.(*file).close(0xc0001d50e0)
        	/tmp/workdir/go/src/os/file_unix.go:253 +0xad fp=0xc000554838 sp=0xc0005547e0 pc=0x4d364d
        os.(*File).Close(0x14)
        	/tmp/workdir/go/src/os/file_posix.go:26 +0x25 fp=0xc000554850 sp=0xc000554838 pc=0x4d1be5
        os/exec.(*Cmd).closeDescriptors(0xc00021e8a0, {0xc000328860, 0x2, 0x13})
        	/tmp/workdir/go/src/os/exec/exec.go:320 +0x57 fp=0xc000554878 sp=0xc000554850 pc=0x4ff617
        os/exec.(*Cmd).Start(0xc000324b00)
        	/tmp/workdir/go/src/os/exec/exec.go:434 +0x666 fp=0xc0005549c0 sp=0xc000554878 pc=0x4ffd26
        os/exec.(*Cmd).Run(0x8fe200)
        	/tmp/workdir/go/src/os/exec/exec.go:338 +0x1e fp=0xc0005549e0 sp=0xc0005549c0 pc=0x4ff67e
        cmd/go/internal/work.(*Builder).runOut(0x36, 0xc00046eb40, {0xc000287ac0, 0xc0000aa780}, {0xc000554d50, 0x1, 0xc000554c80}, {0xc000554da0, 0x6, 0x6})
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:2105 +0x5cf fp=0xc000554bc0 sp=0xc0005549e0 pc=0x85bd6f
        cmd/go/internal/work.(*Builder).ccompile(0xc000554e88, 0xc00046eb40, 0xc00030f600, {0xc0000aa360, 0x30}, {0xc0004621c0, 0x4, 0x4}, {0xc000287ac0, 0x36}, ...)
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:2346 +0x6fd fp=0xc000554e10 sp=0xc000554bc0 pc=0x85dddd
        cmd/go/internal/work.(*Builder).gcc(0x99f54c, 0x1, 0xc00030f600, {0xc000209cb0, 0xc00002a721}, {0xc0000aa360, 0x30}, {0xc0004621c0, 0x4, 0x4}, ...)
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:2290 +0xcc fp=0xc000554e98 sp=0xc000554e10 pc=0x85d3ec
        cmd/go/internal/work.(*Builder).cgo(0x3b8, 0xc00046eb40, {0xc00024a990, 0x2a}, {0xc000209cb0, 0xc000423c58}, {0x0, 0x0, 0x0}, {0x0, ...}, ...)
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:2815 +0x364e fp=0xc000555410 sp=0xc000554e98 pc=0x86452e
        cmd/go/internal/work.(*Builder).build(0xc0002dcf00, {0xc0000280f8, 0x0}, 0xc00046eb40)
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:676 +0x3ff1 fp=0xc000555db8 sp=0xc000555410 pc=0x851011
        cmd/go/internal/work.(*Builder).Do.func2({0xa77700, 0xc0000280f8}, 0xc00046eb40)
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:137 +0x5ec fp=0xc000555f20 sp=0xc000555db8 pc=0x84a64c
        cmd/go/internal/work.(*Builder).Do.func3()
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:199 +0xb9 fp=0xc000555fe0 sp=0xc000555f20 pc=0x849e79
        runtime.goexit()
        	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc000555fe8 sp=0xc000555fe0 pc=0x463281
        created by cmd/go/internal/work.(*Builder).Do
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:185 +0x3da
        
        goroutine 292 [syscall]:
        syscall.Syscall6(0x214, 0x0, 0x4e51, 0x0, 0x18, 0x0, 0x0)
        	/tmp/workdir/go/src/syscall/asm_unix_amd64.s:40 +0x5 fp=0xc0004e0880 sp=0xc0004e0878 pc=0x478c65
        os.(*Process).blockUntilWaitable(0xc0000aa900)
        	/tmp/workdir/go/src/os/wait_wait6.go:31 +0x5a fp=0xc0004e08e8 sp=0xc0004e0880 pc=0x4d6b3a
        os.(*Process).wait(0xc0000aa900)
        	/tmp/workdir/go/src/os/exec_unix.go:23 +0x28 fp=0xc0004e0948 sp=0xc0004e08e8 pc=0x4cf7a8
        os.(*Process).Wait(...)
        	/tmp/workdir/go/src/os/exec.go:132
        os/exec.(*Cmd).Wait(0xc00013c2c0)
        	/tmp/workdir/go/src/os/exec/exec.go:507 +0x54 fp=0xc0004e09c0 sp=0xc0004e0948 pc=0x500234
        os/exec.(*Cmd).Run(0x8fe200)
        	/tmp/workdir/go/src/os/exec/exec.go:341 +0x39 fp=0xc0004e09e0 sp=0xc0004e09c0 pc=0x4ff699
        cmd/go/internal/work.(*Builder).runOut(0x36, 0xc00046ef00, {0xc0001cc640, 0x44f15c}, {0xc0004e0d50, 0x1, 0xc0004e0c80}, {0xc0004e0da0, 0x6, 0x6})
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:2105 +0x5cf fp=0xc0004e0bc0 sp=0xc0004e09e0 pc=0x85bd6f
        cmd/go/internal/work.(*Builder).ccompile(0xc0004e0e88, 0xc00046ef00, 0xc0000fe100, {0xc00024a4e0, 0x30}, {0xc000194040, 0x4, 0x4}, {0xc0001cc640, 0x36}, ...)
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:2346 +0x6fd fp=0xc0004e0e10 sp=0xc0004e0bc0 pc=0x85dddd
        cmd/go/internal/work.(*Builder).gcc(0x99f54c, 0x1, 0xc0000fe100, {0xc000364060, 0xc00002a751}, {0xc00024a4e0, 0x30}, {0xc000194040, 0x4, 0x4}, ...)
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:2290 +0xcc fp=0xc0004e0e98 sp=0xc0004e0e10 pc=0x85d3ec
        cmd/go/internal/work.(*Builder).cgo(0x3b8, 0xc00046ef00, {0xc0000aa510, 0x2a}, {0xc000364060, 0x0}, {0x0, 0x0, 0x0}, {0x0, ...}, ...)
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:2815 +0x364e fp=0xc0004e1410 sp=0xc0004e0e98 pc=0x86452e
        cmd/go/internal/work.(*Builder).build(0xc0002dcf00, {0xc0000280f8, 0x0}, 0xc00046ef00)
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:676 +0x3ff1 fp=0xc0004e1db8 sp=0xc0004e1410 pc=0x851011
        cmd/go/internal/work.(*Builder).Do.func2({0xa77700, 0xc0000280f8}, 0xc00046ef00)
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:137 +0x5ec fp=0xc0004e1f20 sp=0xc0004e1db8 pc=0x84a64c
        cmd/go/internal/work.(*Builder).Do.func3()
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:199 +0xb9 fp=0xc0004e1fe0 sp=0xc0004e1f20 pc=0x849e79
        runtime.goexit()
        	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc0004e1fe8 sp=0xc0004e1fe0 pc=0x463281
        created by cmd/go/internal/work.(*Builder).Do
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:185 +0x3da
        
        goroutine 295 [runnable]:
        strings.Index({0xc000024000, 0x4f}, {0x9992ae, 0x1})
        	/tmp/workdir/go/src/strings/strings.go:1042 +0x6f2 fp=0xc0004de6d0 sp=0xc0004de6c8 pc=0x4ed892
        os/exec.dedupEnvCase(0x0, {0xc0001c0000, 0x2b, 0x6})
        	/tmp/workdir/go/src/os/exec/exec.go:751 +0x170 fp=0xc0004de878 sp=0xc0004de6d0 pc=0x501890
        os/exec.dedupEnv(...)
        	/tmp/workdir/go/src/os/exec/exec.go:742
        os/exec.(*Cmd).Start(0xc00020a160)
        	/tmp/workdir/go/src/os/exec/exec.go:425 +0x537 fp=0xc0004de9c0 sp=0xc0004de878 pc=0x4ffbf7
        os/exec.(*Cmd).Run(0x8fe200)
        	/tmp/workdir/go/src/os/exec/exec.go:338 +0x1e fp=0xc0004de9e0 sp=0xc0004de9c0 pc=0x4ff67e
        cmd/go/internal/work.(*Builder).runOut(0x36, 0xc00046edc0, {0xc000330040, 0x44f15c}, {0xc0004ded50, 0x1, 0xc0004dec80}, {0xc0004deda0, 0x6, 0x6})
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:2105 +0x5cf fp=0xc0004debc0 sp=0xc0004de9e0 pc=0x85bd6f
        cmd/go/internal/work.(*Builder).ccompile(0xc0004dee88, 0xc00046edc0, 0xc0000fdb80, {0xc0000c2a20, 0x30}, {0xc0002c4000, 0x4, 0x4}, {0xc000330040, 0x36}, ...)
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:2346 +0x6fd fp=0xc0004dee10 sp=0xc0004debc0 pc=0x85dddd
        cmd/go/internal/work.(*Builder).gcc(0x99f54c, 0x1, 0xc0000fdb80, {0xc000364000, 0xc00002a739}, {0xc0000c2a20, 0x30}, {0xc0002c4000, 0x4, 0x4}, ...)
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:2290 +0xcc fp=0xc0004dee98 sp=0xc0004dee10 pc=0x85d3ec
        cmd/go/internal/work.(*Builder).cgo(0x3b8, 0xc00046edc0, {0xc0000aa390, 0x2a}, {0xc000364000, 0x0}, {0x0, 0x0, 0x0}, {0x0, ...}, ...)
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:2815 +0x364e fp=0xc0004df410 sp=0xc0004dee98 pc=0x86452e
        cmd/go/internal/work.(*Builder).build(0xc0002dcf00, {0xc0000280f8, 0x0}, 0xc00046edc0)
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:676 +0x3ff1 fp=0xc0004dfdb8 sp=0xc0004df410 pc=0x851011
        cmd/go/internal/work.(*Builder).Do.func2({0xa77700, 0xc0000280f8}, 0xc00046edc0)
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:137 +0x5ec fp=0xc0004dff20 sp=0xc0004dfdb8 pc=0x84a64c
        cmd/go/internal/work.(*Builder).Do.func3()
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:199 +0xb9 fp=0xc0004dffe0 sp=0xc0004dff20 pc=0x849e79
        runtime.goexit()
        	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc0004dffe8 sp=0xc0004dffe0 pc=0x463281
        created by cmd/go/internal/work.(*Builder).Do
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:185 +0x3da
        
        goroutine 294 [runnable]:
        syscall.Syscall(0x6, 0x11, 0x0, 0x0)
        	/tmp/workdir/go/src/syscall/asm_unix_amd64.s:20 +0x5 fp=0xc0005505d8 sp=0xc0005505d0 pc=0x478c05
        syscall.Close(0xdc6fb0)
        	/tmp/workdir/go/src/syscall/zsyscall_freebsd_amd64.go:376 +0x30 fp=0xc000550620 sp=0xc0005505d8 pc=0x475b10
        syscall.forkExec({0xc0000f40f0, 0xe}, {0xc0001f4000, 0xc0003cc2c0, 0x14}, 0x77b2c05200010300)
        	/tmp/workdir/go/src/syscall/exec_unix.go:227 +0x54a fp=0xc000550748 sp=0xc000550620 pc=0x470a6a
        syscall.StartProcess(...)
        	/tmp/workdir/go/src/syscall/exec_unix.go:264
        os.startProcess({0xc0000f40f0, 0xc000114868}, {0xc0001f4000, 0x13, 0x14}, 0xc000550968)
        	/tmp/workdir/go/src/os/exec_posix.go:55 +0x332 fp=0xc000550830 sp=0xc000550748 pc=0x4cf3b2
        os.StartProcess({0xc0000f40f0, 0xe}, {0xc0001f4000, 0x13, 0x14}, 0x44f757)
        	/tmp/workdir/go/src/os/exec.go:109 +0x5a fp=0xc000550878 sp=0xc000550830 pc=0x4cedba
        os/exec.(*Cmd).Start(0xc0001f06e0)
        	/tmp/workdir/go/src/os/exec/exec.go:422 +0x60a fp=0xc0005509c0 sp=0xc000550878 pc=0x4ffcca
        os/exec.(*Cmd).Run(0x8fe200)
        	/tmp/workdir/go/src/os/exec/exec.go:338 +0x1e fp=0xc0005509e0 sp=0xc0005509c0 pc=0x4ff67e
        cmd/go/internal/work.(*Builder).runOut(0x36, 0xc00046f040, {0xc0000f6040, 0x44f15c}, {0xc000114d50, 0x1, 0xc000114c80}, {0xc000114da0, 0x6, 0x6})
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:2105 +0x5cf fp=0xc000550bc0 sp=0xc0005509e0 pc=0x85bd6f
        cmd/go/internal/work.(*Builder).ccompile(0xc000114e88, 0xc00046f040, 0xc0000fe680, {0xc0000cb9e0, 0x30}, {0xc000238000, 0x4, 0x4}, {0xc0000f6040, 0x36}, ...)
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:2346 +0x6fd fp=0xc000550e10 sp=0xc000550bc0 pc=0x85dddd
        cmd/go/internal/work.(*Builder).gcc(0x99f54c, 0x1, 0xc0000fe680, {0xc0003640c0, 0xc00002a889}, {0xc0000cb9e0, 0x30}, {0xc000238000, 0x4, 0x4}, ...)
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:2290 +0xcc fp=0xc000550e98 sp=0xc000550e10 pc=0x85d3ec
        cmd/go/internal/work.(*Builder).cgo(0x0, 0xc00046f040, {0xc0000aa150, 0x2a}, {0xc0003640c0, 0x0}, {0x0, 0x0, 0x0}, {0x0, ...}, ...)
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:2815 +0x364e fp=0xc000551410 sp=0xc000550e98 pc=0x86452e
        cmd/go/internal/work.(*Builder).build(0xc0002dcf00, {0xc0000280f8, 0x0}, 0xc00046f040)
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:676 +0x3ff1 fp=0xc000551db8 sp=0xc000551410 pc=0x851011
        cmd/go/internal/work.(*Builder).Do.func2({0xa77700, 0xc0000280f8}, 0xc00046f040)
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:137 +0x5ec fp=0xc000551f20 sp=0xc000551db8 pc=0x84a64c
        cmd/go/internal/work.(*Builder).Do.func3()
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:199 +0xb9 fp=0xc000551fe0 sp=0xc000551f20 pc=0x849e79
        runtime.goexit()
        	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc000551fe8 sp=0xc000551fe0 pc=0x463281
        created by cmd/go/internal/work.(*Builder).Do
        	/tmp/workdir/go/src/cmd/go/internal/work/exec.go:185 +0x3da
        
        goroutine 315 [IO wait]:
        runtime.gopark(0xc0004beb60, 0xc000036a00, 0x70, 0x65, 0x478c39)
        	/tmp/workdir/go/src/runtime/proc.go:366 +0xd6 fp=0xc000206500 sp=0xc0002064e0 pc=0x437336
        runtime.netpollblock(0xc0000c0800, 0x200, 0x0)
        	/tmp/workdir/go/src/runtime/netpoll.go:445 +0xde fp=0xc000206538 sp=0xc000206500 pc=0x4306fe
        internal/poll.runtime_pollWait(0x8285ad2f0, 0x72)
        	/tmp/workdir/go/src/runtime/netpoll.go:229 +0x89 fp=0xc000206558 sp=0xc000206538 pc=0x45dde9
        internal/poll.(*pollDesc).wait(0xc000218120, 0xc0000c0800, 0x1)
        	/tmp/workdir/go/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc000206580 sp=0xc000206558 pc=0x4c5512
        internal/poll.(*pollDesc).waitRead(...)
        	/tmp/workdir/go/src/internal/poll/fd_poll_runtime.go:89
        internal/poll.(*FD).Read(0xc000218120, {0xc0000c0800, 0x200, 0x200})
        	/tmp/workdir/go/src/internal/poll/fd_unix.go:167 +0x25a fp=0xc000206600 sp=0xc000206580 pc=0x4c687a
        os.(*File).read(...)
        	/tmp/workdir/go/src/os/file_posix.go:32
        os.(*File).Read(0xc0000100c0, {0xc0000c0800, 0x1, 0xc0002066a0})
        	/tmp/workdir/go/src/os/file.go:119 +0x5e fp=0xc000206658 sp=0xc000206600 pc=0x4d009e
        bytes.(*Buffer).ReadFrom(0xc000450960, {0xa6ae60, 0xc0000100c0})
        	/tmp/workdir/go/src/bytes/buffer.go:204 +0x98 fp=0xc0002066b0 sp=0xc000206658 pc=0x4f9fd8
        io.copyBuffer({0xa69fc0, 0xc000450960}, {0xa6ae60, 0xc0000100c0}, {0x0, 0x0, 0x0})
        	/tmp/workdir/go/src/io/io.go:409 +0x14b fp=0xc000206730 sp=0xc0002066b0 pc=0x4c0a8b
        io.Copy(...)
        	/tmp/workdir/go/src/io/io.go:382
        os/exec.(*Cmd).writerDescriptor.func1()
        	/tmp/workdir/go/src/os/exec/exec.go:311 +0x3a fp=0xc000206790 sp=0xc000206730 pc=0x4ff57a
        os/exec.(*Cmd).Start.func1(0x0)
        	/tmp/workdir/go/src/os/exec/exec.go:441 +0x25 fp=0xc0002067c8 sp=0xc000206790 pc=0x500145
        os/exec.(*Cmd).Start.func3()
        	/tmp/workdir/go/src/os/exec/exec.go:442 +0x2a fp=0xc0002067e0 sp=0xc0002067c8 pc=0x5000ea
        runtime.goexit()
        	/tmp/workdir/go/src/runtime/asm_amd64.s:1446 +0x1 fp=0xc0002067e8 sp=0xc0002067e0 pc=0x463281
        created by os/exec.(*Cmd).Start
        	/tmp/workdir/go/src/os/exec/exec.go:440 +0x805
FAIL
exit status 1
FAIL	misc/cgo/test
@bcmills bcmills added this to the Backlog milestone Aug 30, 2021
@bcmills bcmills changed the title runtime: SIGBUS in mstart on freebsd-amd64-12_2 runtime: SIGBUS in runtime.retake on freebsd-amd64-12_2 Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant