Skip to content

Instantly share code, notes, and snippets.

@dsociative
Created April 21, 2015 20:01
Show Gist options
  • Save dsociative/cdc90f0bd80c53517988 to your computer and use it in GitHub Desktop.
Save dsociative/cdc90f0bd80c53517988 to your computer and use it in GitHub Desktop.
runtime: checkdead: find g 1 in status 1
fatal error: checkdead: runnable g
runtime stack:
runtime.throw(0x600d3c)
/usr/lib/go/src/runtime/panic.go:491 +0xad
checkdead()
/usr/lib/go/src/runtime/proc.c:2828 +0x287
mput(0x604ae0)
/usr/lib/go/src/runtime/proc.c:3175 +0x47
stopm()
/usr/lib/go/src/runtime/proc.c:1176 +0xea
findrunnable(0xc208012000)
/usr/lib/go/src/runtime/proc.c:1487 +0x562
schedule()
/usr/lib/go/src/runtime/proc.c:1575 +0x151
goexit0(0xc208000900)
/usr/lib/go/src/runtime/proc.c:1717 +0x16e
runtime.mcall(0x430444)
/usr/lib/go/src/runtime/asm_amd64.s:186 +0x5a
goroutine 1 [runnable]:
net.(*pollDesc).Wait(0xc2080100d0, 0x72, 0x0, 0x0)
/usr/lib/go/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc2080100d0, 0x0, 0x0)
/usr/lib/go/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).accept(0xc208010070, 0x0, 0x7f98688aa688, 0xc20800b580)
/usr/lib/go/src/net/fd_unix.go:419 +0x40b
net.(*TCPListener).AcceptTCP(0xc208038028, 0xc208048eb0, 0x0, 0x0)
/usr/lib/go/src/net/tcpsock_posix.go:234 +0x4e
net.(*TCPListener).Accept(0xc208038028, 0x0, 0x0, 0x0, 0x0)
/usr/lib/go/src/net/tcpsock_posix.go:244 +0x4c
main.Handler(0x7f98688aa918, 0xc208038028)
/home/dsociative/go/src/github.com/dsociative/policy-caster-go/main.go:38 +0x37
main.main()
/home/dsociative/go/src/github.com/dsociative/policy-caster-go/main.go:48 +0x5e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment