go icon indicating copy to clipboard operation
go copied to clipboard

cmd/cgo/internal/testsanitizers: TestLSAN/lsan2 failures

Open gopherbot opened this issue 7 months ago • 6 comments

#!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

gopherbot avatar May 13 '25 17:05 gopherbot