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/v2: TestTraceStress failures #64506

Open
gopherbot opened this issue Dec 1, 2023 · 3 comments
Open

internal/trace/v2: TestTraceStress failures #64506

gopherbot opened this issue Dec 1, 2023 · 3 comments
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@gopherbot
Copy link

#!watchflakes
default <- pkg == "internal/trace/v2" && test == "TestTraceStress"

Issue created automatically to collect these failures.

Example (log):

--- FAIL: TestTraceStress (3.33s)
    --- FAIL: TestTraceStress/Default (3.33s)
        trace_test.go:551: stderr: SIGSEGV: segmentation violation
            PC=0x9ef0fac m=9 sigcode=1 addr=0x90

            goroutine 0 gp=0xc000007ba0 m=9 mp=0xc00007a008 [idle]:
            runtime.readgstatus(...)
            	/tmp/buildlet/go/src/runtime/proc.go:1056
            runtime.traceWriter.writeProcStatusForP({{0xc00007a008?, 0xa0000000a?}, 0x300000002?}, 0x70000fc3bd38?, 0x56?)
            	/tmp/buildlet/go/src/runtime/trace2status.go:91 +0xcc fp=0x70000fc3bcf0 sp=0x70000fc3bcb8 pc=0x9ef0fac
...
            r13    0x1
            r14    0xc000007ba0
            r15    0x3
            rip    0x9ef0fac
            rflags 0x10246
            cs     0x2b
            fs     0x0
            gs     0x0
            exit status 2
        trace_test.go:553: exit status 1

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 Dec 1, 2023
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "internal/trace/v2" && test == "TestTraceStress"
2023-12-01 19:20 darwin-amd64-nocgo go@5a2161ce internal/trace/v2.TestTraceStress (log)
--- FAIL: TestTraceStress (3.33s)
    --- FAIL: TestTraceStress/Default (3.33s)
        trace_test.go:551: stderr: SIGSEGV: segmentation violation
            PC=0x9ef0fac m=9 sigcode=1 addr=0x90

            goroutine 0 gp=0xc000007ba0 m=9 mp=0xc00007a008 [idle]:
            runtime.readgstatus(...)
            	/tmp/buildlet/go/src/runtime/proc.go:1056
            runtime.traceWriter.writeProcStatusForP({{0xc00007a008?, 0xa0000000a?}, 0x300000002?}, 0x70000fc3bd38?, 0x56?)
            	/tmp/buildlet/go/src/runtime/trace2status.go:91 +0xcc fp=0x70000fc3bcf0 sp=0x70000fc3bcb8 pc=0x9ef0fac
...
            r13    0x1
            r14    0xc000007ba0
            r15    0x3
            rip    0x9ef0fac
            rflags 0x10246
            cs     0x2b
            fs     0x0
            gs     0x0
            exit status 2
        trace_test.go:553: exit status 1

watchflakes

@bcmills bcmills added the compiler/runtime Issues related to the Go compiler and/or runtime. label Dec 1, 2023
@mknyszek
Copy link
Contributor

mknyszek commented Dec 6, 2023

Fixed as of https://go.dev/cl/546636.

@mknyszek mknyszek closed this as completed Dec 6, 2023
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "internal/trace/v2" && test == "TestTraceStress"
2024-01-15 21:21 netbsd-arm-bsiegert go@b44f6378 internal/trace/v2.TestTraceStress (log)
--- FAIL: TestTraceStress (55.19s)
    --- FAIL: TestTraceStress/Default (55.19s)
        trace_test.go:551: stderr: runtime/cgo: pthread_create failed: Cannot allocate memory
            SIGABRT: abort
            PC=0x7be10dd0 m=339 sigcode=4294967291

            goroutine 0 gp=0x137c7e8 m=339 mp=0x1418b08 [idle]:
            runtime: g 0 gp=0x137c7e8: unknown pc 0x7be10dd0
            stack: frame={sp:0x20fbfe38, fp:0x0} stack=[0x20bc03a4,0x20fbffa4)
            0x20fbfdb8:  0x00000001  0x00000000  0x0e66fe16  0x7bef9c00 
...
            r10     0x137c7e8
            fp      0x1e54cc
            ip      0x7be10dcc
            sp      0x20fbfe38
            lr      0x7be0f99c
            pc      0x7be10dd0
            cpsr    0x400d0010
            fault   0x0
            exit status 2
        trace_test.go:553: exit status 1

watchflakes

@gopherbot gopherbot reopened this Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
Status: In Progress
Status: Done
Development

No branches or pull requests

3 participants