Skip to content

Instantly share code, notes, and snippets.

@naoina
Created March 18, 2015 15:39
Show Gist options
  • Save naoina/728186640b09dc57145e to your computer and use it in GitHub Desktop.
Save naoina/728186640b09dc57145e to your computer and use it in GitHub Desktop.
panic: getsockopt: socket operation on non-socket
goroutine 1 [running]:
main.main()
/home/naoina/work/src/github.com/naoina/vocanew/main.go:11 +0x6a
goroutine 6 [syscall]:
os/signal.loop()
/home/naoina/.gvm/gos/go1.4.2/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
/home/naoina/.gvm/gos/go1.4.2/src/os/signal/signal_unix.go:27 +0x35
goroutine 8 [chan receive]:
database/sql.(*DB).connectionOpener(0xc20802dc20)
/home/naoina/.gvm/gos/go1.4.2/src/database/sql/sql.go:589 +0x4c
created by database/sql.Open
/home/naoina/.gvm/gos/go1.4.2/src/database/sql/sql.go:452 +0x31c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment