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: TestLockRankGenerated failures #68879

Closed
gopherbot opened this issue Aug 15, 2024 · 6 comments
Closed

runtime: TestLockRankGenerated failures #68879

gopherbot opened this issue Aug 15, 2024 · 6 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

#!watchflakes
default <- pkg == "runtime" && test == "TestLockRankGenerated"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestLockRankGenerated
    lockrank_test.go:22: /home/swarming/.swarming/w/ir/x/w/goroot/bin/go run mklockrank.go: exit status 2
        SIGSEGV: segmentation violation
        PC=0x568c0 m=7 sigcode=1 addr=0xc0
        
        goroutine 0 gp=0x3f384041c0 m=7 mp=0x3f38400008 [idle]:
        runtime.preemptone(0x3f384041c0?)
        	runtime/proc.go:6310 +0x38 fp=0x3f38393f28 sp=0x3f38393f10 pc=0x568c0
        runtime.preemptall()
        	runtime/proc.go:6288 +0x60 fp=0x3f38393f50 sp=0x3f38393f28 pc=0x56860
...
        a5  0x188284dd	a6  0x29aab9e2
        a7  0x1d237	s2  0x3f38393ed0
        s3  0x3f38400008	s4  0x3f38406000
        s5  0x3f3819c4c0	s6  0x72
        s7  0x6e	s8  0x3f3804d288
        s9  0x3f38393fa0	s10 0x6c9398
        s11 0x3f384041c0	t3  0x1825dc84d6eac6
        t4  0xffffffffffffffff	t5  0x29af020ec57
        t6  0x1	pc  0x568c0
--- FAIL: TestLockRankGenerated (0.18s)

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 15, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "runtime" && test == "TestLockRankGenerated"
2024-08-14 20:56 gotip-linux-riscv64 go@370a6959 runtime.TestLockRankGenerated (log)
=== RUN   TestLockRankGenerated
    lockrank_test.go:22: /home/swarming/.swarming/w/ir/x/w/goroot/bin/go run mklockrank.go: exit status 2
        SIGSEGV: segmentation violation
        PC=0x568c0 m=7 sigcode=1 addr=0xc0
        
        goroutine 0 gp=0x3f384041c0 m=7 mp=0x3f38400008 [idle]:
        runtime.preemptone(0x3f384041c0?)
        	runtime/proc.go:6310 +0x38 fp=0x3f38393f28 sp=0x3f38393f10 pc=0x568c0
        runtime.preemptall()
        	runtime/proc.go:6288 +0x60 fp=0x3f38393f50 sp=0x3f38393f28 pc=0x56860
...
        a5  0x188284dd	a6  0x29aab9e2
        a7  0x1d237	s2  0x3f38393ed0
        s3  0x3f38400008	s4  0x3f38406000
        s5  0x3f3819c4c0	s6  0x72
        s7  0x6e	s8  0x3f3804d288
        s9  0x3f38393fa0	s10 0x6c9398
        s11 0x3f384041c0	t3  0x1825dc84d6eac6
        t4  0xffffffffffffffff	t5  0x29af020ec57
        t6  0x1	pc  0x568c0
--- FAIL: TestLockRankGenerated (0.18s)

watchflakes

@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Aug 15, 2024
@mknyszek mknyszek added the arch-riscv Issues solely affecting the riscv64 architecture. label Aug 21, 2024
@mknyszek mknyszek added this to the Backlog milestone Aug 21, 2024
@mknyszek
Copy link
Contributor

@golang/riscv64

This looks like memory corruption or something, probably not actually a problem with this specific test.

@prattmic
Copy link
Member

@prattmic
Copy link
Member

And https://logs.chromium.org/logs/golang/buildbucket/cr-buildbucket/8739403364771438801/+/u/step/19/log/2.

This seems to be a regular failure on the linux-riscv64 builder.

@mengzhuo
Copy link
Contributor

mengzhuo commented Aug 22, 2024

All these failures are trying to access 0xc0

SIGSEGV: segmentation violation
        PC=0x56870 m=6 sigcode=1 addr=0xc0

I will take a look.

@mengzhuo
Copy link
Contributor

Related to #68862 , Closed

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