Joe McDonnell created IMPALA-15824:
--------------------------------------

             Summary: Update to latest Abseil to get fix for stack trace 
unwinding bug
                 Key: IMPALA-15824
                 URL: https://issues.apache.org/jira/browse/IMPALA-15824
             Project: IMPALA
          Issue Type: Bug
          Components: Backend
    Affects Versions: Impala 5.1.0
            Reporter: Joe McDonnell


When testing the change implementing Google TCMalloc by default, the ARM test 
crashes with this stack:

 
{noformat}
 0  impalad!UnwindImpl<false, false> [stacktrace_aarch64-inl.inc : 109 + 0x0]
 1  impalad!absl::lts_20260526::GetStackTrace(void**, int, int) [stacktrace.cc 
: 106 + 0xc]
 2  
impalad!tcmalloc::tcmalloc_internal::SampleifyAllocation(tcmalloc::tcmalloc_internal::Static&,
 tcmalloc::tcmalloc_internal::DynamicPolicy, unsigned long, unsigned long, 
unsigned long, tcmalloc::tcmalloc_internal::Range, bool) 
[allocation_sampling.cc : 96 + 0x0]
 3  impalad!tcmalloc::tcmalloc_internal::alloc_small_sampled_hooks_or_perthread 
[tcmalloc.cc : 1283 + 0x4]
 4  
impalad!tcmalloc::tcmalloc_internal::slow_alloc_small<tcmalloc::tcmalloc_internal::TCMallocPolicy<tcmalloc::tcmalloc_internal::MallocOomPolicy,
 tcmalloc::tcmalloc_internal::MallocAlignPolicy> > [tcmalloc.cc : 1322 + 0x0]
 5  impalad!TCMallocInternalMalloc [tcmalloc.cc : 1386 + 0x4]
 6  libjvm.so!os::malloc(unsigned long, MEMFLAGS, NativeCallStack const&) + 0x8c
...{noformat}
This is failing inside Abseil's stack reading code. After debugging this, the 
crash has been fixed in 
[https://github.com/abseil/abseil-cpp/commit/d804847f371afde0c2881df60aa87aa7837f44c4]
 which is available in the newest Abseil release.

 

We should bump the version of Abseil to pull in this fix.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to