Starting a bunch of goroutines... acquirep: p->m=0(0) p->status=3 fatal error: acquirep: invalid p state acquirep: p->m=0(0) p->status=3 fatal error: acquirep: invalid p state runtime stack: runtime.throw(0x4c0ab3, 0x19) /home/derek/go/src/github.com/golang/go/src/runtime/panic.go:566 +0x8b runtime.acquirep1(0xc42001c000) /home/derek/go/src/github.com/golang/go/src/runtime/proc.go:3401 +0x15d runtime.acquirep(0xc42001c000) /home/derek/go/src/github.com/golang/go/src/runtime/proc.go:3376 +0x21 runtime.stopm() /home/derek/go/src/github.com/golang/go/src/runtime/proc.go:1585 +0x11b runtime.findrunnable(0xc420016a00, 0x0) /home/derek/go/src/github.com/golang/go/src/runtime/proc.go:2003 +0x218 runtime.schedule() /home/derek/go/src/github.com/golang/go/src/runtime/proc.go:2102 +0x139 runtime.goexit0(0xc4200bbba0) /home/derek/go/src/github.com/golang/go/src/runtime/proc.go:2239 +0x172 runtime.mcall(0x0) /home/derek/go/src/github.com/golang/go/src/runtime/asm_amd64.s:240 +0x5b goroutine 1 [runnable]: main.main() /home/derek/dev/crashgo/src/cmd/crashgo/main.go:62 +0x181 goroutine 43153010 [syscall]: syscall.Syscall(0x5c, 0x7, 0x2, 0x1, 0x0, 0x1, 0x0) /home/derek/go/src/github.com/golang/go/src/syscall/asm_freebsd_amd64.s:21 +0x5 syscall.fcntl(0x7, 0x2, 0x1, 0x0, 0x0, 0xc4c0000000) /home/derek/go/src/github.com/golang/go/src/syscall/zsyscall_freebsd_amd64.go:255 +0x42 syscall.forkExecPipe(0xc4202adc28, 0x2, 0x2, 0xc420453dd0, 0x12) /home/derek/go/src/github.com/golang/go/src/syscall/exec_bsd.go:264 +0x7d syscall.forkExec(0xc42036b390, 0xd, 0xc42036b2e0, 0x1, 0x1, 0xc4202add70, 0xc420150c00, 0x4c772c, 0x800519960) /home/derek/go/src/github.com/golang/go/src/syscall/exec_unix.go:188 +0x271 syscall.StartProcess(0xc42036b390, 0xd, 0xc42036b2e0, 0x1, 0x1, 0xc4202add70, 0x2, 0x4, 0xc4202f2ea0, 0x1) /home/derek/go/src/github.com/golang/go/src/syscall/exec_unix.go:240 +0x53 os.startProcess(0xc42036b390, 0xd, 0xc42036b2e0, 0x1, 0x1, 0xc4202adf08, 0xc42036e900, 0x11, 0x11) /home/derek/go/src/github.com/golang/go/src/os/exec_posix.go:45 +0x186 os.StartProcess(0xc42036b390, 0xd, 0xc42036b2e0, 0x1, 0x1, 0xc4202adf08, 0x0, 0x0, 0xc42036b390) /home/derek/go/src/github.com/golang/go/src/os/doc.go:28 +0x53 os/exec.(*Cmd).Start(0xc420366f00, 0x4, 0x0) /home/derek/go/src/github.com/golang/go/src/os/exec/exec.go:342 +0x393 main.run(0xc420070060) /home/derek/dev/crashgo/src/cmd/crashgo/main.go:39 +0x5e created by main.main /home/derek/dev/crashgo/src/cmd/crashgo/main.go:63 +0x1a3 goroutine 43153026 [runnable]: path/filepath.Join(0xc4201afed0, 0x2, 0x2, 0xa, 0xa) /home/derek/go/src/github.com/golang/go/src/path/filepath/path.go:205 os/exec.LookPath(0x4bdacd, 0x4, 0x4bdacd, 0x4, 0x1, 0x0) /home/derek/go/src/github.com/golang/go/src/os/exec/lp_unix.go:52 +0x156 os/exec.Command(0x4bdacd, 0x4, 0x0, 0x0, 0x0, 0xc4201b9a40) /home/derek/go/src/github.com/golang/go/src/os/exec/exec.go:133 +0x1d1 main.run(0xc420070060) /home/derek/dev/crashgo/src/cmd/crashgo/main.go:38 +0x4b created by main.main /home/derek/dev/crashgo/src/cmd/crashgo/main.go:63 +0x1a3 goroutine 43152926 [syscall]: syscall.Syscall(0x6, 0x7, 0x0, 0x0, 0x0, 0x0, 0x0) /home/derek/go/src/github.com/golang/go/src/syscall/asm_freebsd_amd64.s:21 +0x5 syscall.Close(0x7, 0xc4201d9bd8, 0x8) /home/derek/go/src/github.com/golang/go/src/syscall/zsyscall_freebsd_amd64.go:384 +0x40 syscall.forkExec(0xc4202ff920, 0xd, 0xc4202ff870, 0x1, 0x1, 0xc4201d9d70, 0xc420102000, 0x4c772c, 0x8005194b0) /home/derek/go/src/github.com/golang/go/src/syscall/exec_unix.go:203 +0x3c4 syscall.StartProcess(0xc4202ff920, 0xd, 0xc4202ff870, 0x1, 0x1, 0xc4201d9d70, 0x2, 0x4, 0xc4203b7380, 0x0) /home/derek/go/src/github.com/golang/go/src/syscall/exec_unix.go:240 +0x53 os.startProcess(0xc4202ff920, 0xd, 0xc4202ff870, 0x1, 0x1, 0xc4201d9f08, 0xc4204647e0, 0x11, 0x11) /home/derek/go/src/github.com/golang/go/src/os/exec_posix.go:45 +0x186 os.StartProcess(0xc4202ff920, 0xd, 0xc4202ff870, 0x1, 0x1, 0xc4201d9f08, 0x0, 0x0, 0xc4202ff920) /home/derek/go/src/github.com/golang/go/src/os/doc.go:28 +0x53 os/exec.(*Cmd).Start(0xc420455540, 0x4, 0x0) /home/derek/go/src/github.com/golang/go/src/os/exec/exec.go:342 +0x393 main.run(0xc420070060) /home/derek/dev/crashgo/src/cmd/crashgo/main.go:39 +0x5e created by main.main /home/derek/dev/crashgo/src/cmd/crashgo/main.go:63 +0x1a3 goroutine 43152996 [semacquire]: sync.runtime_Semacquire(0x544eb4) /home/derek/go/src/github.com/golang/go/src/runtime/sema.go:47 +0x26 sync.(*Mutex).Lock(0x544eb0) /home/derek/go/src/github.com/golang/go/src/sync/mutex.go:85 +0xc6 sync.(*RWMutex).Lock(0x544eb0) /home/derek/go/src/github.com/golang/go/src/sync/rwmutex.go:85 +0x23 syscall.forkExec(0xc4201c6ef0, 0xd, 0xc4201c6e40, 0x1, 0x1, 0xc4204d8d70, 0xc420151400, 0x4c772c, 0x800519e10) /home/derek/go/src/github.com/golang/go/src/syscall/exec_unix.go:185 +0x24e syscall.StartProcess(0xc4201c6ef0, 0xd, 0xc4201c6e40, 0x1, 0x1, 0xc4204d8d70, 0x2, 0x4, 0xc4200bb520, 0x0) /home/derek/go/src/github.com/golang/go/src/syscall/exec_unix.go:240 +0x53 os.startProcess(0xc4201c6ef0, 0xd, 0xc4201c6e40, 0x1, 0x1, 0xc4204d8f08, 0xc4203d2120, 0x11, 0x11) /home/derek/go/src/github.com/golang/go/src/os/exec_posix.go:45 +0x186 os.StartProcess(0xc4201c6ef0, 0xd, 0xc4201c6e40, 0x1, 0x1, 0xc4204d8f08, 0x0, 0x0, 0xc4201c6ef0) /home/derek/go/src/github.com/golang/go/src/os/doc.go:28 +0x53 os/exec.(*Cmd).Start(0xc420518dc0, 0x4, 0x0) /home/derek/go/src/github.com/golang/go/src/os/exec/exec.go:342 +0x393 main.run(0xc420070060) /home/derek/dev/crashgo/src/cmd/crashgo/main.go:39 +0x5e created by main.main /home/derek/dev/crashgo/src/cmd/crashgo/main.go:63 +0x1a3 goroutine 43152933 [runnable]: sync.(*RWMutex).RUnlock(0x544ed0) /home/derek/go/src/github.com/golang/go/src/sync/rwmutex.go:51 syscall.Environ(0xc4201c8c60, 0x11, 0x11) /home/derek/go/src/github.com/golang/go/src/syscall/env_unix.go:148 +0x1fb os.Environ(0x0, 0x0, 0x0) /home/derek/go/src/github.com/golang/go/src/os/env.go:116 +0x18 os/exec.(*Cmd).envv(0xc420161680, 0xc420303998, 0x0, 0x1) /home/derek/go/src/github.com/golang/go/src/os/exec/exec.go:155 +0x2e os/exec.(*Cmd).Start(0xc420161680, 0x4, 0x0) /home/derek/go/src/github.com/golang/go/src/os/exec/exec.go:340 +0x2b1 main.run(0xc420070060) /home/derek/dev/crashgo/src/cmd/crashgo/main.go:39 +0x5e created by main.main /home/derek/dev/crashgo/src/cmd/crashgo/main.go:63 +0x1a3 goroutine 43152962 [runnable]: sync.runtime_Semrelease(0x544eb4) /home/derek/go/src/github.com/golang/go/src/runtime/sema.go:57 +0x21 sync.(*Mutex).Unlock(0x544eb0) /home/derek/go/src/github.com/golang/go/src/sync/mutex.go:124 +0x9b sync.(*RWMutex).Unlock(0x544eb0) /home/derek/go/src/github.com/golang/go/src/sync/rwmutex.go:124 +0x8b syscall.forkExec(0xc420457bb0, 0xd, 0xc420457b00, 0x1, 0x1, 0xc4201dcd70, 0xc420056000, 0x4c772c, 0x800519960) /home/derek/go/src/github.com/golang/go/src/syscall/exec_unix.go:198 +0x357 syscall.StartProcess(0xc420457bb0, 0xd, 0xc420457b00, 0x1, 0x1, 0xc4201dcd70, 0x2, 0x4, 0xc4204f9380, 0x1) /home/derek/go/src/github.com/golang/go/src/syscall/exec_unix.go:240 +0x53 os.startProcess(0xc420457bb0, 0xd, 0xc420457b00, 0x1, 0x1, 0xc4201dcf08, 0xc42036e7e0, 0x11, 0x11) /home/derek/go/src/github.com/golang/go/src/os/exec_posix.go:45 +0x186 os.StartProcess(0xc420457bb0, 0xd, 0xc420457b00, 0x1, 0x1, 0xc4201dcf08, 0x0, 0x0, 0xc420457bb0) /home/derek/go/src/github.com/golang/go/src/os/doc.go:28 +0x53 os/exec.(*Cmd).Start(0xc420165540, 0x4, 0x0) /home/derek/go/src/github.com/golang/go/src/os/exec/exec.go:342 +0x393 main.run(0xc420070060) /home/derek/dev/crashgo/src/cmd/crashgo/main.go:39 +0x5e created by main.main /home/derek/dev/crashgo/src/cmd/crashgo/main.go:63 +0x1a3 goroutine 43153025 [semacquire]: sync.runtime_Semacquire(0x544eb4) /home/derek/go/src/github.com/golang/go/src/runtime/sema.go:47 +0x26 sync.(*Mutex).Lock(0x544eb0) /home/derek/go/src/github.com/golang/go/src/sync/mutex.go:85 +0xc6 sync.(*RWMutex).Lock(0x544eb0) /home/derek/go/src/github.com/golang/go/src/sync/rwmutex.go:85 +0x23 syscall.forkExec(0xc4203cc3f0, 0xd, 0xc4203cc340, 0x1, 0x1, 0xc4201d8d70, 0xc420151000, 0x4c772c, 0x80051a2c0) /home/derek/go/src/github.com/golang/go/src/syscall/exec_unix.go:185 +0x24e syscall.StartProcess(0xc4203cc3f0, 0xd, 0xc4203cc340, 0x1, 0x1, 0xc4201d8d70, 0x2, 0x4, 0xc4200ce4e0, 0x2) /home/derek/go/src/github.com/golang/go/src/syscall/exec_unix.go:240 +0x53 os.startProcess(0xc4203cc3f0, 0xd, 0xc4203cc340, 0x1, 0x1, 0xc4201d8f08, 0xc420304ea0, 0x11, 0x11) /home/derek/go/src/github.com/golang/go/src/os/exec_posix.go:45 +0x186 os.StartProcess(0xc4203cc3f0, 0xd, 0xc4203cc340, 0x1, 0x1, 0xc4201d8f08, 0x0, 0x0, 0xc4203cc3f0) /home/derek/go/src/github.com/golang/go/src/os/doc.go:28 +0x53 os/exec.(*Cmd).Start(0xc4201b9a40, 0x4, 0x0) /home/derek/go/src/github.com/golang/go/src/os/exec/exec.go:342 +0x393 main.run(0xc420070060) /home/derek/dev/crashgo/src/cmd/crashgo/main.go:39 +0x5e created by main.main /home/derek/dev/crashgo/src/cmd/crashgo/main.go:63 +0x1a3 runtime stack: runtime.throw(0x4c0ab3, 0x19) /home/derek/go/src/github.com/golang/go/src/runtime/panic.go:566 +0x8b runtime.acquirep1(0xc420014000) /home/derek/go/src/github.com/golang/go/src/runtime/proc.go:3401 +0x15d runtime.acquirep(0xc420014000) /home/derek/go/src/github.com/golang/go/src/runtime/proc.go:3376 +0x21 runtime.exitsyscallfast_pidle(0x52aa50) /home/derek/go/src/github.com/golang/go/src/runtime/proc.go:2584 +0x5d runtime.exitsyscallfast.func2() /home/derek/go/src/github.com/golang/go/src/runtime/proc.go:2556 +0x33 runtime.systemstack(0xc420016a00) /home/derek/go/src/github.com/golang/go/src/runtime/asm_amd64.s:298 +0x79 runtime.mstart() /home/derek/go/src/github.com/golang/go/src/runtime/proc.go:1087 runtime stack: runtime.throw(0x4c0ab3, 0x19) /home/derek/go/src/github.com/golang/go/src/runtime/panic.go:566 +0x8b runtime.acquirep1(0xc420015500) /home/derek/go/src/github.com/golang/go/src/runtime/proc.go:3401 +0x15d runtime.acquirep(0xc420015500) /home/derek/go/src/github.com/golang/go/src/runtime/proc.go:3376 +0x21 runtime.exitsyscallfast_pidle(0x52aa50) /home/derek/go/src/github.com/golang/go/src/runtime/proc.go:2584 +0x5d runtime.exitsyscallfast.func2() /home/derek/go/src/github.com/golang/go/src/runtime/proc.go:2556 +0x33 runtime.systemstack(0xc420016a00) /home/derek/go/src/github.com/golang/go/src/runtime/asm_amd64.s:298 +0x79 runtime.mstart() /home/derek/go/src/github.com/golang/go/src/runtime/proc.go:1087