Skip to content

cmd/cgo/internal/testsanitizers: TestASANFuzz failures #73979

Open
@gopherbot

Description

@gopherbot
#!watchflakes
default <- pkg == "cmd/cgo/internal/testsanitizers" && test == "TestASANFuzz"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestASANFuzz
=== PAUSE TestASANFuzz
=== CONT  TestASANFuzz
    asan_test.go:120: /home/swarming/.swarming/w/ir/x/w/goroot/bin/go test -x -asan -c -o /home/swarming/.swarming/w/ir/x/t/TestASANFuzz1693347184/001/asan_fuzz_test.exe testdata/asan_fuzz_test.go
    asan_test.go:122: WORK=/home/swarming/.swarming/w/ir/x/t/go-build3875003874
        mkdir -p $WORK/b001/
        mkdir -p $WORK/b009/
        echo '# import config' > $WORK/b009/importcfg # internal
        cd /home/swarming/.swarming/w/ir/x/w/goroot/src/cmd/cgo/internal/testsanitizers
        /home/swarming/.swarming/w/ir/x/w/goroot/pkg/tool/linux_riscv64/compile -o $WORK/b009/_pkg_.a -trimpath "$WORK/b009=>" -p internal/unsafeheader -lang=go1.25 -std -complete -installsuffix asan -buildid HrcMLCfxZt3hz2L8KTRO/HrcMLCfxZt3hz2L8KTRO -goversion go1.25-devel_792548a4835f019b40bf8bd4442c893eae280467 -c=4 -asan -nolocalimports -importcfg $WORK/b009/importcfg -pack /home/swarming/.swarming/w/ir/x/w/goroot/src/internal/unsafeheader/unsafeheader.go
...
        ==3886937==The signal is caused by a READ memory access.
        ==3886937==Hint: address points to the zero page.
            #0 0x8e512 in asancall /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asan_riscv64.s:87
        
        AddressSanitizer can not provide additional info.
        SUMMARY: AddressSanitizer: SEGV /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asan_riscv64.s:87 in asancall
        ==3886937==ABORTING
    asan_test.go:136: output contains "AddressSanitizer", but should not
    asan_test.go:139: fuzz test did not fail with a "FUZZ FAILED" sentinel error
--- FAIL: TestASANFuzz (266.37s)

watchflakes

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions