Joe McDonnell has uploaded this change for review. ( https://gerrit.cloudera.org/25468
Change subject: IMPALA-15764: Bump toolchain to fix minidumps for mold on aarch64 ...................................................................... IMPALA-15764: Bump toolchain to fix minidumps for mold on aarch64 Minidumps from Redhat 9 ARM binaries linked with mold could not be symbolized. mold emits separate PT_LOAD segments for read-only data and code, and on aarch64 these are aligned to the 64KB max page size, which leaves an unmapped hole between them in /proc/<pid>/maps. Breakpad only merged exactly adjacent mappings into one module, so impalad showed up as two modules in the minidump. The symbols were only correct for the first module, so most frames were unresolved or resolved to the wrong function. This bumps the toolchain to pick up the patched breakpad, which merges mappings separated by small alignment gaps. This also adds TestBreakpadCore::test_minidump_symbol_resolution, which crashes an impalad and resolves the minidump both ways that bin/jenkins/finalize.sh does: dump_breakpad_symbols.py with minidump_stackwalk, and resolve_minidumps.py. It verifies that impalad is a single module with symbols, and that frames resolve to Thread::SuperviseThread(), the entry point of all Impala threads. The main thread is not used, because the stack walk can stop in libc before reaching main() on aarch64. Testing: - On Redhat 9 aarch64 with mold, the new test fails without the toolchain bump and passes with it. - The new test passes on Ubuntu 22 x86_64 Change-Id: Id520d38d9029fe1a55471f2d04bcbae883619c21 Assisted-by: Claude Opus 5.5 (Claude Code) --- M bin/impala-config.sh M tests/custom_cluster/test_breakpad.py 2 files changed, 85 insertions(+), 4 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/68/25468/1 -- To view, visit https://gerrit.cloudera.org/25468 To unsubscribe, visit https://gerrit.cloudera.org/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Id520d38d9029fe1a55471f2d04bcbae883619c21 Gerrit-Change-Number: 25468 Gerrit-PatchSet: 1 Gerrit-Owner: Joe McDonnell <[email protected]>
