Skip to content

cmd/internal/testdir: Test/fixedbugs/notinheap2.go failures #71570

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

Closed
gopherbot opened this issue Feb 5, 2025 · 2 comments
Closed

cmd/internal/testdir: Test/fixedbugs/notinheap2.go failures #71570

gopherbot opened this issue Feb 5, 2025 · 2 comments
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@gopherbot
Copy link
Contributor

#!watchflakes
default <- pkg == "cmd/internal/testdir" && test == "Test/fixedbugs/notinheap2.go"

Issue created automatically to collect these failures.

Example (log):

=== RUN   Test/fixedbugs/notinheap2.go
=== PAUSE Test/fixedbugs/notinheap2.go
=== CONT  Test/fixedbugs/notinheap2.go
    testdir_test.go:1193: gc output:
        /home/swarming/.swarming/w/ir/x/w/goroot/test/fixedbugs/notinheap2.go:27: nih is incomplete (or unallocatable); stack allocation disallowed
        /home/swarming/.swarming/w/ir/x/w/goroot/test/fixedbugs/notinheap2.go:60: nih can't be allocated in Go; it is incomplete (or unallocatable)
        /home/swarming/.swarming/w/ir/x/w/goroot/test/fixedbugs/notinheap2.go:61: struct { x nih } can't be allocated in Go; it is incomplete (or unallocatable)
        /home/swarming/.swarming/w/ir/x/w/goroot/test/fixedbugs/notinheap2.go:62: [1]nih can't be allocated in Go; it is incomplete (or unallocatable)
        /home/swarming/.swarming/w/ir/x/w/goroot/test/fixedbugs/notinheap2.go:63: nih can't be allocated in Go; it is incomplete (or unallocatable)
        /home/swarming/.swarming/w/ir/x/w/goroot/test/fixedbugs/notinheap2.go:64: nih can't be allocated in Go; it is incomplete (or unallocatable)
...
        panic: inconsistent reference counts
        
        goroutine 17 gp=0x4000102700 m=2 mp=0x4000064808 [running]:
        panic({0x5d9440?, 0x7d54b0?})
        	runtime/panic.go:806 +0x154 fp=0x400005a6c0 sp=0x400005a610 pc=0x84e64
        os.(*Process).handleTransientAcquire(0x0?)
        	os/exec.go:184 +0x108 fp=0x400005a6e0 sp=0x400005a6c0 pc=0x10aaf8
        os.(*Process).pidfdSendSignal(0x40000fab40, 0x11)
        	os/pidfd_linux.go:122 +0x30 fp=0x400005a750 sp=0x400005a6e0 pc=0x110a80
        os.(*Process).signal(0x0?, {0x7dbbd8?, 0x7ec228?})
...
        runtime.selectgo(0x4000090fa0, 0x4000090f88, 0x0?, 0x0, 0x0?, 0x1)
        	runtime/select.go:351 +0x6c4 fp=0x4000090f40 sp=0x4000090e10 pc=0x63284
        runtime.ensureSigM.func1()
        	runtime/signal_unix.go:1085 +0x194 fp=0x4000090fd0 sp=0x4000090f40 pc=0x7fc74
        runtime.goexit({})
        	runtime/asm_arm64.s:1223 +0x4 fp=0x4000090fd0 sp=0x4000090fd0 pc=0x8ca74
        created by runtime.ensureSigM in goroutine 1
        	runtime/signal_unix.go:1068 +0xd8
        
--- FAIL: Test/fixedbugs/notinheap2.go (0.02s)

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 Feb 5, 2025
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/internal/testdir" && test == "Test/fixedbugs/notinheap2.go"
2025-02-05 11:44 gotip-linux-arm64-longtest go@664aebab cmd/internal/testdir.Test/fixedbugs/notinheap2.go (log)
=== RUN   Test/fixedbugs/notinheap2.go
=== PAUSE Test/fixedbugs/notinheap2.go
=== CONT  Test/fixedbugs/notinheap2.go
    testdir_test.go:1193: gc output:
        /home/swarming/.swarming/w/ir/x/w/goroot/test/fixedbugs/notinheap2.go:27: nih is incomplete (or unallocatable); stack allocation disallowed
        /home/swarming/.swarming/w/ir/x/w/goroot/test/fixedbugs/notinheap2.go:60: nih can't be allocated in Go; it is incomplete (or unallocatable)
        /home/swarming/.swarming/w/ir/x/w/goroot/test/fixedbugs/notinheap2.go:61: struct { x nih } can't be allocated in Go; it is incomplete (or unallocatable)
        /home/swarming/.swarming/w/ir/x/w/goroot/test/fixedbugs/notinheap2.go:62: [1]nih can't be allocated in Go; it is incomplete (or unallocatable)
        /home/swarming/.swarming/w/ir/x/w/goroot/test/fixedbugs/notinheap2.go:63: nih can't be allocated in Go; it is incomplete (or unallocatable)
        /home/swarming/.swarming/w/ir/x/w/goroot/test/fixedbugs/notinheap2.go:64: nih can't be allocated in Go; it is incomplete (or unallocatable)
...
        panic: inconsistent reference counts
        
        goroutine 17 gp=0x4000102700 m=2 mp=0x4000064808 [running]:
        panic({0x5d9440?, 0x7d54b0?})
        	runtime/panic.go:806 +0x154 fp=0x400005a6c0 sp=0x400005a610 pc=0x84e64
        os.(*Process).handleTransientAcquire(0x0?)
        	os/exec.go:184 +0x108 fp=0x400005a6e0 sp=0x400005a6c0 pc=0x10aaf8
        os.(*Process).pidfdSendSignal(0x40000fab40, 0x11)
        	os/pidfd_linux.go:122 +0x30 fp=0x400005a750 sp=0x400005a6e0 pc=0x110a80
        os.(*Process).signal(0x0?, {0x7dbbd8?, 0x7ec228?})
...
        runtime.selectgo(0x4000090fa0, 0x4000090f88, 0x0?, 0x0, 0x0?, 0x1)
        	runtime/select.go:351 +0x6c4 fp=0x4000090f40 sp=0x4000090e10 pc=0x63284
        runtime.ensureSigM.func1()
        	runtime/signal_unix.go:1085 +0x194 fp=0x4000090fd0 sp=0x4000090f40 pc=0x7fc74
        runtime.goexit({})
        	runtime/asm_arm64.s:1223 +0x4 fp=0x4000090fd0 sp=0x4000090fd0 pc=0x8ca74
        created by runtime.ensureSigM in goroutine 1
        	runtime/signal_unix.go:1068 +0xd8
        
--- FAIL: Test/fixedbugs/notinheap2.go (0.02s)

watchflakes

@ianlancetaylor
Copy link
Contributor

Same as #71564.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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

2 participants