Descriptionruntime: display go version and operating system information in panic message
Fixes issue 4492.
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x400c03]
runtime version: devel +a32219a715c5 Wed Dec 05 15:26:18 2012 +1100
runtime host: linux/amd64
goroutine 1 [running]:
main.main()
/home/dfc/src/panic.go:3 +0x3
goroutine 2 [syscall]:
created by runtime.main
/home/dfc/go/src/pkg/runtime/proc.c:225
exit status 2
Patch Set 1 #Patch Set 2 : diff -r a32219a715c5 https://code.google.com/p/go #Patch Set 3 : diff -r 5eac1a2d6fc3 https://go.googlecode.com/hg/ #
Total comments: 1
Patch Set 4 : diff -r a32219a715c5 https://code.google.com/p/go #
MessagesTotal messages: 13
|