golang/go

cmd/asm: hang (3)

dvyukov opened this issue · 1 comments

cmd/asm hangs on the following program:

#ifdef C
CALL C

Abort stack:

SIGABRT: abort
PC=0x49775d m=0

goroutine 1 [running]:
cmd/asm/internal/lex.(*Input).Next(0xc8200c2080, 0x4)
    src/cmd/asm/internal/lex/input.go:116 +0x28d fp=0xc82007d9a8 sp=0xc82007d8e8
cmd/asm/internal/asm.(*Parser).line(0xc82007de70, 0xc82000a480)
    src/cmd/asm/internal/asm/parse.go:99 +0x63 fp=0xc82007db78 sp=0xc82007d9a8
cmd/asm/internal/asm.(*Parser).Parse(0xc82007de70, 0xc82000a480, 0xc820018780)
    src/cmd/asm/internal/asm/parse.go:85 +0x21 fp=0xc82007db90 sp=0xc82007db78
main.main()
    src/cmd/asm/main.go:59 +0xb93 fp=0xc82007df50 sp=0xc82007db90
runtime.main()
    src/runtime/proc.go:111 +0x2b0 fp=0xc82007dfa0 sp=0xc82007df50
runtime.goexit()
    src/runtime/asm_amd64.s:1745 +0x1 fp=0xc82007dfa8 sp=0xc82007dfa0

go version devel +5512ac2 Wed Sep 16 17:56:14 2015 +0000 linux/amd64

CL https://golang.org/cl/14710 mentions this issue.