You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Tim Armstrong (Jira)" <ji...@apache.org> on 2020/06/04 16:53:00 UTC

[jira] [Resolved] (IMPALA-5719) ODR violation in UDF tests

     [ https://issues.apache.org/jira/browse/IMPALA-5719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Armstrong resolved IMPALA-5719.
-----------------------------------
    Resolution: Later

> ODR violation in UDF tests
> --------------------------
>
>                 Key: IMPALA-5719
>                 URL: https://issues.apache.org/jira/browse/IMPALA-5719
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: Impala 2.10.0
>            Reporter: Henry Robinson
>            Priority: Minor
>
> At first glance this looks to me like a test linking error (because it includes both {{ImpalaUdf}} and {{Udf}} libraries).
> {code}
> 03:59:36 16/89 Test #16: aggregate-functions-test .........***Failed    0.35 sec
> 03:59:36 =================================================================
> 03:59:36 ==42374==ERROR: AddressSanitizer: odr-violation (0x2acb91844a00):
> 03:59:36   [1] size=4 'impala::FunctionContextImpl::VARARGS_BUFFER_ALIGNMENT' /home/ubuntu/Impala/be/src/udf/udf.cc:121:32
> 03:59:36   [2] size=4 'impala::FunctionContextImpl::VARARGS_BUFFER_ALIGNMENT' /home/ubuntu/Impala/be/src/udf/udf.cc:121:32
> 03:59:36 These globals were registered at these points:
> 03:59:36   [1]:
> 03:59:36     #0 0x7d1f26 in __asan_register_globals /data/jenkins/workspace/verify-impala-toolchain-package-build/label/ec2-package-ubuntu-14-04/toolchain/source/llvm/llvm-3.8.0.src-p1/projects/compiler-rt/lib/asan/asan_globals.cc:218
> 03:59:36     #1 0x2acb9183a36b in asan.module_ctor (/home/ubuntu/Impala/be/build/debug/udf/libImpalaUdf.so+0x1936b)
> 03:59:36 
> 03:59:36   [2]:
> 03:59:36     #0 0x7d1f26 in __asan_register_globals /data/jenkins/workspace/verify-impala-toolchain-package-build/label/ec2-package-ubuntu-14-04/toolchain/source/llvm/llvm-3.8.0.src-p1/projects/compiler-rt/lib/asan/asan_globals.cc:218
> 03:59:36     #1 0x2acb95260d2b in asan.module_ctor (/home/ubuntu/Impala/be/build/debug/udf/libUdf.so+0x1fd2b)
> 03:59:36 
> 03:59:36 ==42374==HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_odr_violation=0
> 03:59:36 SUMMARY: AddressSanitizer: odr-violation: global 'impala::FunctionContextImpl::VARARGS_BUFFER_ALIGNMENT' at /home/ubuntu/Impala/be/src/udf/udf.cc:121:32
> 03:59:36 ==42374==ABORTING
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org