You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Tim Armstrong (JIRA)" <ji...@apache.org> on 2017/09/19 16:17:00 UTC
[jira] [Created] (IMPALA-5957) DCHECK attempts to print non-string
as a c-style string
Tim Armstrong created IMPALA-5957:
-------------------------------------
Summary: DCHECK attempts to print non-string as a c-style string
Key: IMPALA-5957
URL: https://issues.apache.org/jira/browse/IMPALA-5957
Project: IMPALA
Issue Type: Bug
Reporter: Tim Armstrong
Priority: Minor
The intention of the below code is to print the memory address, but the type is uint8_t* instead of void*.
{code}
DCHECK_EQ(reinterpret_cast<uintptr_t>(mem) % HUGE_PAGE_SIZE, 0) << mem;
{code}
Severity/risk is low because this is only printed if the process is in the process of crashing.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)