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

x/tools/cmd/signature-fuzzer/fuzz-runner: TestRunner/Minimization2 failures #71205

Open
gopherbot opened this issue Jan 9, 2025 · 1 comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Tools This label describes issues relating to any tools in the x/tools repository.
Milestone

Comments

@gopherbot
Copy link
Contributor

#!watchflakes
default <- pkg == "golang.org/x/tools/cmd/signature-fuzzer/fuzz-runner" && test == "TestRunner/Minimization2"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestRunner/Minimization2
=== PAUSE TestRunner/Minimization2
=== CONT  TestRunner/Minimization2
    rnr_test.go:131: ... begin iteration 0 with current seed 55909
        error executing cmd /home/swarming/.swarming/w/ir/x/t/fuzzrun641481422/fuzzTest/fzTest: exit status 2
        starting main
        panic: runtime error: invalid memory address or nil pointer dereference
        [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x86d28]
        
        goroutine 19 [running]:
...
        panic: runtime error: invalid memory address or nil pointer dereference
        [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x86d28]
        
        goroutine 19 [running]:
        fmt.(*buffer).writeString(...)
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/fmt/print.go:108
        fmt.(*fmt).padString(0x4b8028, {0x0, 0x7})
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/fmt/format.go:113 +0x288
        fmt.(*fmt).fmtS(0x4b8028, {0x0, 0x7})
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/fmt/format.go:362 +0x4c
...
        main.main.func2(0x496040)
        	/home/swarming/.swarming/w/ir/x/t/fuzzrun641481422/fuzzTest/Main.go:30 +0x54
        created by main.main in goroutine 1
        	/home/swarming/.swarming/w/ir/x/t/fuzzrun641481422/fuzzTest/Main.go:27 +0x1a0
        ... starting minimization for failed directory /home/swarming/.swarming/w/ir/x/t/fuzzrun641481422/fuzzTest
        error executing cmd /home/swarming/.swarming/w/ir/x/t/fuzzrun641481422/fuzzTest/fzTest: exit status 1
        package minimization succeeded: found bad pkg 1
        error executing cmd /home/swarming/.swarming/w/ir/x/t/fuzzrun641481422/fuzzTest/fzTest: exit status 1
        function minimization succeeded: found bad fcn 1
--- FAIL: TestRunner/Minimization2 (25.80s)

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

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/cmd/signature-fuzzer/fuzz-runner" && test == "TestRunner/Minimization2"
2025-01-09 15:57 x_tools-go1.23-netbsd-arm tools@ae303ab9 release-branch.go1.23@1dde0b48 x/tools/cmd/signature-fuzzer/fuzz-runner.TestRunner/Minimization2 (log)
=== RUN   TestRunner/Minimization2
=== PAUSE TestRunner/Minimization2
=== CONT  TestRunner/Minimization2
    rnr_test.go:131: ... begin iteration 0 with current seed 55909
        error executing cmd /home/swarming/.swarming/w/ir/x/t/fuzzrun641481422/fuzzTest/fzTest: exit status 2
        starting main
        panic: runtime error: invalid memory address or nil pointer dereference
        [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x86d28]
        
        goroutine 19 [running]:
...
        panic: runtime error: invalid memory address or nil pointer dereference
        [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x86d28]
        
        goroutine 19 [running]:
        fmt.(*buffer).writeString(...)
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/fmt/print.go:108
        fmt.(*fmt).padString(0x4b8028, {0x0, 0x7})
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/fmt/format.go:113 +0x288
        fmt.(*fmt).fmtS(0x4b8028, {0x0, 0x7})
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/fmt/format.go:362 +0x4c
...
        main.main.func2(0x496040)
        	/home/swarming/.swarming/w/ir/x/t/fuzzrun641481422/fuzzTest/Main.go:30 +0x54
        created by main.main in goroutine 1
        	/home/swarming/.swarming/w/ir/x/t/fuzzrun641481422/fuzzTest/Main.go:27 +0x1a0
        ... starting minimization for failed directory /home/swarming/.swarming/w/ir/x/t/fuzzrun641481422/fuzzTest
        error executing cmd /home/swarming/.swarming/w/ir/x/t/fuzzrun641481422/fuzzTest/fzTest: exit status 1
        package minimization succeeded: found bad pkg 1
        error executing cmd /home/swarming/.swarming/w/ir/x/t/fuzzrun641481422/fuzzTest/fzTest: exit status 1
        function minimization succeeded: found bad fcn 1
--- FAIL: TestRunner/Minimization2 (25.80s)

watchflakes

@gopherbot gopherbot added the Tools This label describes issues relating to any tools in the x/tools repository. label Jan 9, 2025
@gopherbot gopherbot added this to the Unreleased milestone Jan 9, 2025
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. Tools This label describes issues relating to any tools in the x/tools repository.
Projects
Status: No status
Development

No branches or pull requests

1 participant