#!watchflakes
default <- pkg == "cmd/cgo/internal/testsanitizers" && test == "TestLSAN/lsan2"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestLSAN/lsan2
=== PAUSE TestLSAN/lsan2
=== CONT  TestLSAN/lsan2
    lsan_test.go:44: /home/swarming/.swarming/w/ir/x/t/TestLSANlsan21255423491/001/lsan2 exited with exit status 1

        =================================================================
        ==2366409==ERROR: LeakSanitizer: detected memory leaks

        Direct leak of 24 byte(s) in 1 object(s) allocated from:
            #0 0x7ffff75d5704 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
            #1 0x100853a8 in x_cgo_thread_start /_/GOROOT/src/runtime/cgo/gcc_util.c:15
            #2 0x10073838 in runtime.asmcgocall /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_ppc64x.s:719

        SUMMARY: AddressSanitizer: 24 byte(s) leaked in 1 allocation(s).
--- FAIL: TestLSAN/lsan2 (1.41s)

watchflakes

Comment From: gopherbot

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/cgo/internal/testsanitizers" && test == "TestLSAN/lsan2"
2025-05-13 16:21 gotip-linux-ppc64le_power10 go@a632009c cmd/cgo/internal/testsanitizers.TestLSAN/lsan2 (log) === RUN TestLSAN/lsan2 === PAUSE TestLSAN/lsan2 === CONT TestLSAN/lsan2 lsan_test.go:44: /home/swarming/.swarming/w/ir/x/t/TestLSANlsan21255423491/001/lsan2 exited with exit status 1 ================================================================= ==2366409==ERROR: LeakSanitizer: detected memory leaks Direct leak of 24 byte(s) in 1 object(s) allocated from: #0 0x7ffff75d5704 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x100853a8 in x_cgo_thread_start /_/GOROOT/src/runtime/cgo/gcc_util.c:15 #2 0x10073838 in runtime.asmcgocall /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_ppc64x.s:719 SUMMARY: AddressSanitizer: 24 byte(s) leaked in 1 allocation(s). --- FAIL: TestLSAN/lsan2 (1.41s)

watchflakes

Comment From: gopherbot

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/cgo/internal/testsanitizers" && test == "TestLSAN/lsan2"
2025-05-16 04:37 gotip-linux-amd64-longtest go@4b5a64f4 cmd/cgo/internal/testsanitizers.TestLSAN/lsan2 (log) === RUN TestLSAN/lsan2 === PAUSE TestLSAN/lsan2 === CONT TestLSAN/lsan2 lsan_test.go:44: /home/swarming/.swarming/w/ir/x/t/TestLSANlsan2165035726/001/lsan2 exited with exit status 1 ================================================================= ==784837==ERROR: LeakSanitizer: detected memory leaks Direct leak of 24 byte(s) in 1 object(s) allocated from: #0 0x7b38daf58e8f in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x47ad18 in x_cgo_thread_start /_/GOROOT/src/runtime/cgo/gcc_util.c:15 #2 0x46a87c in runtime.asmcgocall ?:949 #3 0x43c4b0 in runtime.newm1 (/home/swarming/.swarming/w/ir/x/t/TestLSANlsan2165035726/001/lsan2+0x43c4b0) #4 0x43c3a4 in runtime.newm (/home/swarming/.swarming/w/ir/x/t/TestLSANlsan2165035726/001/lsan2+0x43c3a4) #5 0x43c9b8 in runtime.startm (/home/swarming/.swarming/w/ir/x/t/TestLSANlsan2165035726/001/lsan2+0x43c9b8) #6 0x464d8b in runtime.wakep (/home/swarming/.swarming/w/ir/x/t/TestLSANlsan2165035726/001/lsan2+0x464d8b) #7 0x43fc52 in runtime.goschedImpl (/home/swarming/.swarming/w/ir/x/t/TestLSANlsan2165035726/001/lsan2+0x43fc52) #8 0x44e910 in runtime.newstack (/home/swarming/.swarming/w/ir/x/t/TestLSANlsan2165035726/001/lsan2+0x44e910) #9 0x468cfc in runtime.morestack ?:620 SUMMARY: AddressSanitizer: 24 byte(s) leaked in 1 allocation(s). --- FAIL: TestLSAN/lsan2 (3.64s)

watchflakes

Comment From: gopherbot

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/cgo/internal/testsanitizers" && test == "TestLSAN/lsan2"
2025-07-22 09:48 go1.25-linux-amd64-longtest release-branch.go1.25@1aaf7422 cmd/cgo/internal/testsanitizers.TestLSAN/lsan2 (log) === RUN TestLSAN/lsan2 === PAUSE TestLSAN/lsan2 === CONT TestLSAN/lsan2 lsan_test.go:44: /home/swarming/.swarming/w/ir/x/t/TestLSANlsan2131750198/001/lsan2 exited with exit status 1 ================================================================= ==160363==ERROR: LeakSanitizer: detected memory leaks Direct leak of 24 byte(s) in 1 object(s) allocated from: #0 0x7e678d41be8f in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145 #1 0x47fb58 in x_cgo_thread_start /_/GOROOT/src/runtime/cgo/gcc_util.c:15 #2 0x46f65c in runtime.asmcgocall ?:949 #3 0x4408f0 in runtime.newm1 /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/plugin.go:2913 #4 0x4407e4 in runtime.newm /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/plugin.go:2893 #5 0x440df8 in runtime.startm /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/plugin.go:3087 #6 0x469b4b in runtime.wakep /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/plugin.go:3234 #7 0x445e92 in runtime.newproc.func1 /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/plugin.go:5154 #8 0x46d9c9 in runtime.systemstack ?:513 SUMMARY: AddressSanitizer: 24 byte(s) leaked in 1 allocation(s). --- FAIL: TestLSAN/lsan2 (4.24s)

watchflakes