diff -r 27261b2b1db7 libgo/go/debug/elf/runtime.go --- a/libgo/go/debug/elf/runtime.go Thu Mar 08 15:28:14 2012 -0800 +++ b/libgo/go/debug/elf/runtime.go Thu Mar 08 21:28:13 2012 -0800 @@ -129,7 +129,7 @@ // and line number for a PC value. func funcFileLine(pc uintptr, function *string, file *string, line *int) bool { openExecutable() - if executable.dwarf == nil { + if executable == nil || executable.dwarf == nil { return false } f, ln, err := executable.dwarf.FileLine(uint64(pc))