Skip to content

Instantly share code, notes, and snippets.

@flavius
Created July 23, 2011 21:50
Show Gist options
  • Save flavius/1101922 to your computer and use it in GitHub Desktop.
Save flavius/1101922 to your computer and use it in GitHub Desktop.
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20 pc=0x400d33]
runtime.panic+0xac /build/src/release-build/src/pkg/runtime/proc.c:1060
runtime.panic(0x468020, 0xf8400103e0)
runtime.panicstring+0xa3 /build/src/release-build/src/pkg/runtime/runtime.c:116
runtime.panicstring(0x4c89c6, 0x20)
runtime.sigpanic+0x144 /build/src/release-build/src/pkg/runtime/linux/thread.c:292
runtime.sigpanic()
main.cat+0x133 /home/flav/projects/golang/cat.go:16
main.cat(0xf84002cbe0, 0x100000006)
main.main+0x201 /home/flav/projects/golang/cat.go:41
main.main()
runtime.mainstart+0xf /build/src/release-build/src/pkg/runtime/amd64/asm.s:77
runtime.mainstart()
runtime.goexit /build/src/release-build/src/pkg/runtime/proc.c:178
runtime.goexit()
----- goroutine created by -----
_rt0_amd64+0x8e /build/src/release-build/src/pkg/runtime/amd64/asm.s:64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment