Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime,cmd/compile: SIGILL on linux/riscv64 #61833

Closed
gopherbot opened this issue Aug 8, 2023 · 3 comments
Closed

runtime,cmd/compile: SIGILL on linux/riscv64 #61833

gopherbot opened this issue Aug 8, 2023 · 3 comments
Labels
arch-riscv Issues solely affecting the riscv64 architecture. compiler/runtime Issues related to the Go compiler and/or runtime. help wanted NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@gopherbot
Copy link
Contributor

gopherbot commented Aug 8, 2023

#!watchflakes
post <- goos == "linux" && goarch == "riscv64" && log ~ `SIGILL: illegal instruction` && date < "2023-08-25"

Issue created automatically to collect these failures.

Example (log):

SIGILL: illegal instruction
PC=0x466a0 m=3 sigcode=1
instruction bytes: 0xe7 0x80 0x2 0x0 0x13 0x5 0x1 0x2 0xef 0x0 0x0 0x77 0x93 0xf2 0xf5 0xf

ra  0x466ac	sp  0x3f8b8ea210
gp  0x49e1e0	tp  0x3feb1403e0
t0  0x1f2a80	t1  0x3f8b8ea478
t2  0x0	s0  0x0
s1  0x3f8b8ea4a0	a0  0x3f8b8eaab0
a1  0x1	a2  0x3f8b8ea298
...
	/tmp/workdir-host-linux-riscv64-unmatched/go/src/runtime/proc.go:398 +0x10c fp=0x3f880365e8 sp=0x3f880365d0 pc=0x4a3dc
runtime.chanrecv(0x3f88054380, 0x3f880366cf, 0x24?)
	/tmp/workdir-host-linux-riscv64-unmatched/go/src/runtime/chan.go:583 +0x430 fp=0x3f88036660 sp=0x3f880365e8 pc=0x15258
runtime.chanrecv1(0x52f8a0?, 0x29dca0?)
	/tmp/workdir-host-linux-riscv64-unmatched/go/src/runtime/chan.go:442 +0x14 fp=0x3f88036680 sp=0x3f88036660 pc=0x14e0c
testing.(*T).Run(0x3f880c21a0, {0x2f9669?, 0x2e742660fb676?}, 0x3f8800b1e8)
	/tmp/workdir-host-linux-riscv64-unmatched/go/src/testing/testing.go:1649 +0x380 fp=0x3f88036738 sp=0x3f88036680 pc=0xf7a38
golang.org/x/tools/gopls/internal/lsp/analysis/unusedvariable_test.Test(0x0?)
	/tmp/workdir-host-linux-riscv64-unmatched/gopath/src/golang.org/x/tools/gopls/internal/lsp/analysis/unusedvariable/unusedvariable_test.go:21 +0xf8 fp=0x3f88036778 sp=0x3f88036738 pc=0x2705b0
testing.tRunner(0x3f880c21a0, 0x311078)

watchflakes

@gopherbot gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Aug 8, 2023
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/lsp/analysis/unusedvariable" && test == "Test"
2023-08-07 19:27 linux-riscv64-unmatched tools@f42bca8e go@3393155a x/tools/gopls/internal/lsp/analysis/unusedvariable.Test (log)
SIGILL: illegal instruction
PC=0x466a0 m=3 sigcode=1
instruction bytes: 0xe7 0x80 0x2 0x0 0x13 0x5 0x1 0x2 0xef 0x0 0x0 0x77 0x93 0xf2 0xf5 0xf

ra  0x466ac	sp  0x3f8b8ea210
gp  0x49e1e0	tp  0x3feb1403e0
t0  0x1f2a80	t1  0x3f8b8ea478
t2  0x0	s0  0x0
s1  0x3f8b8ea4a0	a0  0x3f8b8eaab0
a1  0x1	a2  0x3f8b8ea298
...
	/tmp/workdir-host-linux-riscv64-unmatched/go/src/runtime/proc.go:398 +0x10c fp=0x3f880365e8 sp=0x3f880365d0 pc=0x4a3dc
runtime.chanrecv(0x3f88054380, 0x3f880366cf, 0x24?)
	/tmp/workdir-host-linux-riscv64-unmatched/go/src/runtime/chan.go:583 +0x430 fp=0x3f88036660 sp=0x3f880365e8 pc=0x15258
runtime.chanrecv1(0x52f8a0?, 0x29dca0?)
	/tmp/workdir-host-linux-riscv64-unmatched/go/src/runtime/chan.go:442 +0x14 fp=0x3f88036680 sp=0x3f88036660 pc=0x14e0c
testing.(*T).Run(0x3f880c21a0, {0x2f9669?, 0x2e742660fb676?}, 0x3f8800b1e8)
	/tmp/workdir-host-linux-riscv64-unmatched/go/src/testing/testing.go:1649 +0x380 fp=0x3f88036738 sp=0x3f88036680 pc=0xf7a38
golang.org/x/tools/gopls/internal/lsp/analysis/unusedvariable_test.Test(0x0?)
	/tmp/workdir-host-linux-riscv64-unmatched/gopath/src/golang.org/x/tools/gopls/internal/lsp/analysis/unusedvariable/unusedvariable_test.go:21 +0xf8 fp=0x3f88036778 sp=0x3f88036738 pc=0x2705b0
testing.tRunner(0x3f880c21a0, 0x311078)

watchflakes

@gopherbot gopherbot added Tools This label describes issues relating to any tools in the x/tools repository. gopls Issues related to the Go language server, gopls. labels Aug 8, 2023
@gopherbot gopherbot added this to the Unreleased milestone Aug 8, 2023
@bcmills bcmills removed gopls Issues related to the Go language server, gopls. Tools This label describes issues relating to any tools in the x/tools repository. labels Aug 8, 2023
@gopherbot gopherbot added Tools This label describes issues relating to any tools in the x/tools repository. gopls Issues related to the Go language server, gopls. labels Aug 8, 2023
@bcmills bcmills added arch-riscv Issues solely affecting the riscv64 architecture. compiler/runtime Issues related to the Go compiler and/or runtime. and removed gopls Issues related to the Go language server, gopls. Tools This label describes issues relating to any tools in the x/tools repository. labels Aug 8, 2023
@bcmills bcmills changed the title x/tools/gopls/internal/lsp/analysis/unusedvariable: Test failures runtime,cmd/compile: SIGILL on linux/riscv64 Aug 8, 2023
@bcmills
Copy link
Contributor

bcmills commented Aug 8, 2023

(attn @golang/riscv64)

@4a6f656c
Copy link
Contributor

/cc @mengzhuo

This failure was also on licheepi4a-1.farm.mzh.io, which is known to have issues (and has been offlined).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-riscv Issues solely affecting the riscv64 architecture. compiler/runtime Issues related to the Go compiler and/or runtime. help wanted NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
Archived in project
Development

No branches or pull requests

4 participants