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/01/31 00:42:00 UTC
[jira] [Assigned] (IMPALA-6259) Remove workaround for
posix_memalign in SystemAllocator after LLVM 5.0 upgrade
[ https://issues.apache.org/jira/browse/IMPALA-6259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Armstrong reassigned IMPALA-6259:
-------------------------------------
Assignee: Sahil Takiar (was: Bikramjeet Vig)
> Remove workaround for posix_memalign in SystemAllocator after LLVM 5.0 upgrade
> ------------------------------------------------------------------------------
>
> Key: IMPALA-6259
> URL: https://issues.apache.org/jira/browse/IMPALA-6259
> Project: IMPALA
> Issue Type: Improvement
> Components: Backend
> Affects Versions: Impala 2.11.0
> Reporter: Tim Armstrong
> Assignee: Sahil Takiar
> Priority: Major
>
> Once we upgrade to LLVM 5.0 we should be able to remove a workaround for https://bugs.llvm.org/show_bug.cgi?id=32968 :
> {code}
> #ifdef ADDRESS_SANITIZER
> // Workaround ASAN bug where posix_memalign returns 0 even when allocation fails.
> // It should instead return ENOMEM. See https://bugs.llvm.org/show_bug.cgi?id=32968.
> if (rc == 0 && *buffer_mem == nullptr && len != 0) rc = ENOMEM;
> #endif
> {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