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)

Reply via email to