Laszlo Gaal created IMPALA-13679:
------------------------------------
Summary: ASAN failure use-after-free during custom-cluster tests
Key: IMPALA-13679
URL: https://issues.apache.org/jira/browse/IMPALA-13679
Project: IMPALA
Issue Type: Bug
Components: Backend
Affects Versions: Impala 4.5.0
Reporter: Laszlo Gaal
On private infrastructure we have observed the following use-after-free error
in an address sanitizer build:
{code}
SUMMARY: AddressSanitizer: heap-use-after-free
/data/jenkins/workspace/impala-asf-master-core-asan-arm/repos/Impala/be/src/util/ticker.h:119:41
in impala::Ticker<std::chrono::duration<long, std::ratio<1l, 1l> >,
bool>::run()
Shadow bytes around the buggy address:
0x200fe56372a0: fd fd fd fa fa fa fa fa fd fd fd fd fd fd fd fd
0x200fe56372b0: fa fa fa fa fd fd fd fd fd fd fd fd fa fa fa fa
0x200fe56372c0: fd fd fd fd fd fd fd fd fa fa fa fa fd fd fd fd
0x200fe56372d0: fd fd fd fd fa fa fa fa fd fd fd fd fd fd fd fa
0x200fe56372e0: fa fa fa fa fd fd fd fd fd fd fd fd fa fa fa fa
=>0x200fe56372f0: fd fd[fd]fd fd fd fd fd fa fa fa fa fd fd fd fd
0x200fe5637300: fd fd fd fd fa fa fa fa 00 00 00 00 00 00 00 05
0x200fe5637310: fa fa fa fa fd fd fd fd fd fd fd fd fa fa fa fa
0x200fe5637320: 00 00 00 00 00 00 00 00 fa fa fa fa 00 00 00 00
0x200fe5637330: 00 00 00 05 fa fa fa fa fd fd fd fd fd fd fd fd
0x200fe5637340: fa fa fa fa fd fd fd fd fd fd fd fd fa fa fa fa
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
==4121003==ABORTING
{code}
Commits since the last successful ASAN build:
# IMPALA-13656: MERGE redundantly accumulates memory in HDFS WRITER (detail)
# IMPALA-13592: Set IV length before setting IV in OpenSsl (detail)
# IMPALA-13253: Add option to enable keepalive for client connections (detail)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)