[Lldb-commits] [lldb] [lldb][minidump] write the memory after an unreadable page when saving minidump (PR #212641)

Leandro Lupori via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 6 11:51:40 PDT 2026


luporl wrote:

@satyajanga, `TestProcessSaveCoreMinidumpPartialRead.py` fails on Arm. Should it be skipped on it?

```
FAIL: lldb-api :: functionalities/process_save_core_minidump/partial_read/TestProcessSaveCoreMinidumpPartialRead.py (1 of 1)
******************** TEST 'lldb-api :: functionalities/process_save_core_minidump/partial_read/TestProcessSaveCoreMinidumpPartialRead.py' FAILED ********************
Script:
--
/usr/bin/python3.10 /home/leandro.lupori/git/ci/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/home/leandro.lupori/git/ci/build32/./lib --env LLVM_INCLUDE_DIR=/home/leandro.lupori/git/ci/build32/include --env LLVM_TOOLS_DIR=/home/leandro.lupori/git/ci/build32/./bin --triple armv8l-unknown-linux-gnueabihf --build-dir /home/leandro.lupori/git/ci/build32/lldb-test-build --lldb-module-cache-dir /home/leandro.lupori/git/ci/build32/lldb-test-build/module-cache-lldb/lldb-api --clang-module-cache-dir /home/leandro.lupori/git/ci/build32/lldb-test-build/module-cache-clang/lldb-api --executable /home/leandro.lupori/git/ci/build32/./bin/lldb --lldb-python-dir /home/leandro.lupori/git/ci/build32/local/lib/python3.10/dist-packages --compiler /home/leandro.lupori/git/ci/build32/./bin/clang --dsymutil /home/leandro.lupori/git/ci/build32/./bin/dsymutil --make /usr/bin/gmake --llvm-tools-dir /home/leandro.lupori/git/ci/build32/./bin --lldb-obj-root /home/leandro.lupori/git/ci/build32/tools/lldb --lldb-libs-dir /home/leandro.lupori/git/ci/build32/./lib --cmake-build-type Release /home/leandro.lupori/git/ci/llvm-project/lldb/test/API/functionalities/process_save_core_minidump/partial_read -p TestProcessSaveCoreMinidumpPartialRead.py
--
Exit Code: 1

Command Output (stdout):
--
Skipping the following test categories: libc++, msvcstl, dsym, pdb, gmodules, debugserver, objc

--
Command Output (stderr):
--
UNSUPPORTED: LLDB (/home/leandro.lupori/git/ci/build32/bin/clang-arm) :: test_save_core_range_with_unreadable_tail_dsym (TestProcessSaveCoreMinidumpPartialRead.ProcessSaveCoreMinidumpPartialReadTestCase) (test case does not fall in any category of interest for this run)
FAIL: LLDB (/home/leandro.lupori/git/ci/build32/bin/clang-arm) :: test_save_core_range_with_unreadable_tail_dwarf (TestProcessSaveCoreMinidumpPartialRead.ProcessSaveCoreMinidumpPartialReadTestCase)
Log Files:
 - /home/leandro.lupori/git/ci/build32/lldb-test-build/functionalities/process_save_core_minidump/partial_read/TestProcessSaveCoreMinidumpPartialRead/Failure_test_save_core_range_with_unreadable_tail_dwarf.log
FAIL: LLDB (/home/leandro.lupori/git/ci/build32/bin/clang-arm) :: test_save_core_range_with_unreadable_tail_dwo (TestProcessSaveCoreMinidumpPartialRead.ProcessSaveCoreMinidumpPartialReadTestCase)
Log Files:
 - /home/leandro.lupori/git/ci/build32/lldb-test-build/functionalities/process_save_core_minidump/partial_read/TestProcessSaveCoreMinidumpPartialRead/Failure_test_save_core_range_with_unreadable_tail_dwo.log
======================================================================
FAIL: test_save_core_range_with_unreadable_tail_dwarf (TestProcessSaveCoreMinidumpPartialRead.ProcessSaveCoreMinidumpPartialReadTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/leandro.lupori/git/ci/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2171, in test_method
    return attrvalue(self)
  File "/home/leandro.lupori/git/ci/llvm-project/lldb/test/API/functionalities/process_save_core_minidump/partial_read/TestProcessSaveCoreMinidumpPartialRead.py", line 78, in test_save_core_range_with_unreadable_tail
    self.assertSuccess(process.SaveCore(options))
  File "/home/leandro.lupori/git/ci/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 3045, in assertSuccess
    self.fail(self._formatMessage(msg, "'{}' is not success".format(error)))
AssertionError: 'architecture arm not supported.' is not success
Config=arm-/home/leandro.lupori/git/ci/build32/bin/clang
======================================================================
FAIL: test_save_core_range_with_unreadable_tail_dwo (TestProcessSaveCoreMinidumpPartialRead.ProcessSaveCoreMinidumpPartialReadTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/leandro.lupori/git/ci/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2171, in test_method
    return attrvalue(self)
  File "/home/leandro.lupori/git/ci/llvm-project/lldb/test/API/functionalities/process_save_core_minidump/partial_read/TestProcessSaveCoreMinidumpPartialRead.py", line 78, in test_save_core_range_with_unreadable_tail
    self.assertSuccess(process.SaveCore(options))
  File "/home/leandro.lupori/git/ci/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 3045, in assertSuccess
    self.fail(self._formatMessage(msg, "'{}' is not success".format(error)))
AssertionError: 'architecture arm not supported.' is not success
Config=arm-/home/leandro.lupori/git/ci/build32/bin/clang
----------------------------------------------------------------------
Ran 3 tests in 0.488s

FAILED (failures=2, skipped=1)
Skip breakdown (unsupported=1, skipped=0)

--
```

https://github.com/llvm/llvm-project/pull/212641


More information about the lldb-commits mailing list