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

internal/trace: TestTraceGOMAXPROCS/Default failures #68878

Open
gopherbot opened this issue Aug 14, 2024 · 4 comments
Open

internal/trace: TestTraceGOMAXPROCS/Default failures #68878

gopherbot opened this issue Aug 14, 2024 · 4 comments
Labels
arch-loong64 Issues solely affecting the loongson 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 == "internal/trace" && test == "TestTraceGOMAXPROCS/Default"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestTraceGOMAXPROCS/Default
    trace_test.go:614: stderr: SIGBUS: bus error
        PC=0x52590 m=4 sigcode=2 addr=0xc00001a1600002
        
        goroutine 0 gp=0xc0003461c0 m=4 mp=0xc000342008 [idle]:
        runtime.runqempty(...)
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/proc.go:6672
        runtime.checkRunqsNoP({0xc00002c000?, 0x0?, 0x0?}, {0xc00000e12c?, 0x0?, 0x0?})
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/proc.go:3741 +0x130 fp=0xc000359dd8 sp=0xc000359db8 pc=0x52590
        runtime.findRunnable()
...
        r20  0x0	r21  0x1
        r22  0xc0003461c0	r23  0xc000359d38
        r24  0xc000342008	r25  0x0
        r26  0xffffffff13ad7807	r27  0xffffffffecca5c93
        r28  0xbaf106b	r29  0xea398
        r30  0xffffffffffffffc0	r31  0x68216d32
        pc   0x52590	link 0x51194
        exit status 2
    trace_test.go:616: exit status 1
--- FAIL: TestTraceGOMAXPROCS/Default (0.49s)

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

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "internal/trace" && test == "TestTraceGOMAXPROCS/Default"
2024-08-14 18:07 gotip-linux-loong64 go@3c170ac0 internal/trace.TestTraceGOMAXPROCS/Default (log)
=== RUN   TestTraceGOMAXPROCS/Default
    trace_test.go:614: stderr: SIGBUS: bus error
        PC=0x52590 m=4 sigcode=2 addr=0xc00001a1600002
        
        goroutine 0 gp=0xc0003461c0 m=4 mp=0xc000342008 [idle]:
        runtime.runqempty(...)
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/proc.go:6672
        runtime.checkRunqsNoP({0xc00002c000?, 0x0?, 0x0?}, {0xc00000e12c?, 0x0?, 0x0?})
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/proc.go:3741 +0x130 fp=0xc000359dd8 sp=0xc000359db8 pc=0x52590
        runtime.findRunnable()
...
        r20  0x0	r21  0x1
        r22  0xc0003461c0	r23  0xc000359d38
        r24  0xc000342008	r25  0x0
        r26  0xffffffff13ad7807	r27  0xffffffffecca5c93
        r28  0xbaf106b	r29  0xea398
        r30  0xffffffffffffffc0	r31  0x68216d32
        pc   0x52590	link 0x51194
        exit status 2
    trace_test.go:616: exit status 1
--- FAIL: TestTraceGOMAXPROCS/Default (0.49s)

watchflakes

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

CC @golang/loong64

This looks like some kind of memory corruption, probably not actually related to tracing.

@abner-chenc
Copy link
Contributor

CC @golang/loong64

This looks like some kind of memory corruption, probably not actually related to tracing.

I also found that the memory of the Loong64 builder is not very reliable, and I am planning to replace these builders.

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "internal/trace" && test == "TestTraceGOMAXPROCS/Default"
2024-08-23 10:40 gotip-linux-riscv64 go@6d55a017 internal/trace.TestTraceGOMAXPROCS/Default (log)
=== RUN   TestTraceGOMAXPROCS/Default
    trace_test.go:614: stderr: # command-line-arguments
        SIGSEGV: segmentation violation
        PC=0x54a58 m=4 sigcode=1 addr=0xc0
        
        goroutine 0 gp=0x3f500841c0 m=4 mp=0x3f50080008 [idle]:
        runtime.preemptone(0x3f500841c0?)
        	runtime/proc.go:6310 +0x38 fp=0x3f50097f28 sp=0x3f50097f10 pc=0x54a58
        runtime.preemptall()
        	runtime/proc.go:6288 +0x60 fp=0x3f50097f50 sp=0x3f50097f28 pc=0x549f8
...
        a7  0x8ec14	s2  0x3f50097ed0
        s3  0x3f50080008	s4  0x3f50086000
        s5  0x3	s6  0x0
        s7  0x78e99d2e	s8  0x3f50031290
        s9  0x3f50097fa0	s10 0x2fc918
        s11 0x3f500841c0	t3  0x1733977e45b909
        t4  0xffffffffffffffff	t5  0xcc35f684108
        t6  0x0	pc  0x54a58
    trace_test.go:616: exit status 1
--- FAIL: TestTraceGOMAXPROCS/Default (1.03s)

watchflakes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-loong64 Issues solely affecting the loongson 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
Status: No status
Development

No branches or pull requests

3 participants