-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-10.2
-
None
-
No
-
None
-
rhel-pt-go
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
-
aarch64
-
None
TestASAN from latest golang-1.25.1-1.el10 cmd/cgo/internal/testsanitizers testsuite fails on rhel-10.2 aarch64 with the following:
[root@cfeb1b03-d9f3-4ac8-bfb9-41db2faf0f38 ~]# go test -count 1 cmd/cgo/internal/testsanitizers --- FAIL: TestASAN (0.57s) --- FAIL: TestASAN/arena_fail (0.63s) asan_test.go:77: `/tmp/TestASANarena_fail1765249835/001/arena_fail` exited without expected location of the error arena_fail.go:26; got failure ================================================================= ==598847==ERROR: AddressSanitizer: use-after-poison on address 0x4040007df708 at pc 0x0000004715ec bp 0x000000000000 sp 0x20400004aef0 READ of size 1 at 0x4040007df708 thread T0 #0 0x4715e8 (/tmp/TestASANarena_fail1765249835/001/arena_fail+0x4715e8) (BuildId: cdbd5db1017282af4984c6ef512c5b2d1b639be3) Address 0x4040007df708 is a wild pointer inside of access range of size 0x000000000001. SUMMARY: AddressSanitizer: use-after-poison (/tmp/TestASANarena_fail1765249835/001/arena_fail+0x4715e8) (BuildId: cdbd5db1017282af4984c6ef512c5b2d1b639be3) Shadow bytes around the buggy address: 0x4040007df480: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 0x4040007df500: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 0x4040007df580: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 0x4040007df600: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 0x4040007df680: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 =>0x4040007df700: f7[f7]f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 0x4040007df780: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 0x4040007df800: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 0x4040007df880: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 0x4040007df900: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 0x4040007df980: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==598847==ABORTING FAIL FAIL cmd/cgo/internal/testsanitizers 9.300s FAIL [root@cfeb1b03-d9f3-4ac8-bfb9-41db2faf0f38 ~]# rpm -qa golang libasan libasan-14.3.1-2.1.el10.aarch64 golang-1.25.1-1.el10.aarch64
This is not reproducible on other arches, nor with previous golang-1.25.0-4.el10 build.