You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "zeroshade (via GitHub)" <gi...@apache.org> on 2023/04/25 17:17:29 UTC

[GitHub] [arrow] zeroshade opened a new issue, #35337: [Go] ASAN tests fail when using Go1.20+

zeroshade opened a new issue, #35337:
URL: https://github.com/apache/arrow/issues/35337

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   When using Go1.20+ and running the unit tests with the `-asan` flag, several tests fail with crashes like the following:
   
   ```
   ==3737513==ERROR: AddressSanitizer: unknown-crash on address 0x10c000bfd6a0 at pc 0x000000c375b4 bp 0x000000000000 sp 0x10c0004158a8
   READ of size 24 at 0x10c000bfd6a0 thread T4
       #0 0xc375b3  (/tmp/go-build2991846278/b479/ipc.test+0xc375b3)
   
   Address 0x10c000bfd6a0 is a wild pointer inside of access range of size 0x000000000018.
   SUMMARY: AddressSanitizer: unknown-crash (/tmp/go-build2991846278/b479/ipc.test+0xc375b3) 
   Shadow bytes around the buggy address:
     0x021880177a80: 00 00 f7 f7 00 00 f7 f7 00 00 f7 f7 00 00 f7 f7
     0x021880177a90: 00 00 f7 f7 00 00 f7 f7 00 00 f7 f7 00 00 f7 f7
     0x021880177aa0: 00 00 f7 f7 00 00 f7 f7 00 00 f7 f7 00 00 f7 f7
     0x021880177ab0: 00 00 f7 f7 00 00 f7 f7 00 00 f7 f7 00 00 f7 f7
     0x021880177ac0: 00 00 f7 f7 00 00 f7 f7 00 00 f7 f7 00 00 f7 f7
   =>0x021880177ad0: 00 00 f7 f7[00]00 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
     0x021880177ae0: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
     0x021880177af0: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
     0x021880177b00: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
     0x021880177b10: f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7 f7
     0x021880177b20: 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
   Thread T4 created by T2 here:
       #0 0x7ff2bbdf3207 in __interceptor_pthread_create /usr/src/debug/gcc/gcc/libsanitizer/asan/asan_interceptors.cpp:207
       #1 0xdd54ed in _cgo_try_pthread_create (/tmp/go-build2991846278/b479/ipc.test+0xdd54ed)
       #2 0x7ff2924e89cf  (<unknown module>)
       #3 0x41b58ab2  (<unknown module>)
   
   Thread T2 created by T0 here:
       #0 0x7ff2bbdf3207 in __interceptor_pthread_create /usr/src/debug/gcc/gcc/libsanitizer/asan/asan_interceptors.cpp:207
       #1 0xdd54ed in _cgo_try_pthread_create (/tmp/go-build2991846278/b479/ipc.test+0xdd54ed)
       #2 0x7ffc22979c9f  ([stack]+0x1fc9f)
       #3 0x7ffc22979cdf  ([stack]+0x1fcdf)
       #4 0x111fd9f  (/tmp/go-build2991846278/b479/ipc.test+0x111fd9f)
   ```
   
   
   ### Component(s)
   
   Go


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] kou closed issue #35337: [Go] ASAN tests fail when using Go1.20+

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou closed issue #35337: [Go] ASAN tests fail when using Go1.20+
URL: https://github.com/apache/arrow/issues/35337


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org