-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Description
$ go version
go version devel +cad6d1fef5 Mon Jan 21 23:31:09 2019 +0000 linux/amd64
$ cat test/test.go
package test
import "log"
func a() {
log.Println("%2F")
}
$ go build test
$ sed -i -e 's/func a/func _/' test/test.go
$ go build test
# test
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x60 pc=0xc4e259]
goroutine 50 [running]:
cmd/compile/internal/gc.emitStackObjects(0xc000538000, 0xc0005ea0e0)
~/goroot/src/cmd/compile/internal/gc/ssa.go:5057 +0x1c9
cmd/compile/internal/gc.genssa(0xc00053c000, 0xc0005ea0e0)
~/goroot/src/cmd/compile/internal/gc/ssa.go:5092 +0xe1
cmd/compile/internal/gc.compileSSA(0xc0000cc420, 0x1)
~/goroot/src/cmd/compile/internal/gc/pgen.go:301 +0x378
cmd/compile/internal/gc.compileFunctions.func2(0xc0004fcf60, 0xc0004fe1d0, 0x1)
~/goroot/src/cmd/compile/internal/gc/pgen.go:356 +0x49
created by cmd/compile/internal/gc.compileFunctions
~/goroot/src/cmd/compile/internal/gc/pgen.go:354 +0x129
bcmillsbcmills
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.