[Lldb-commits] [lldb] [LLDB][ELF CORE] Only display a stop reason when there is a valid signo (PR #172781)

via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 17 19:08:44 PST 2025


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 33234 tests passed
* 503 tests skipped
* 6 tests failed

## Failed Tests
(click on a test name to see its output)

### lldb-api
<details>
<summary>lldb-api.commands/target/stop-hooks/on-core-load/TestStopHookOnCoreLoad.py</summary>

```
Script:
--
/usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --env LLVM_INCLUDE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include --env LLVM_TOOLS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --libcxx-include-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 --libcxx-include-target-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 --libcxx-library-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib/x86_64-unknown-linux-gnu --arch x86_64 --build-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex --lldb-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/lldb --compiler /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang --dsymutil /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/dsymutil --make /usr/bin/gmake --llvm-tools-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --lldb-obj-root /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb --lldb-libs-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --cmake-build-type Release /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/commands/target/stop-hooks/on-core-load -p TestStopHookOnCoreLoad.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 22.0.0git (https://github.com/llvm/llvm-project revision 15e6b0048f90d73c4aca3c1e7e270cce10d2cab4)
  clang revision 15e6b0048f90d73c4aca3c1e7e270cce10d2cab4
  llvm revision 15e6b0048f90d73c4aca3c1e7e270cce10d2cab4
About to report out stop_thread: 1
About to report out stop_thread: 1
Skipping the following test categories: msvcstl, dsym, pdb, gmodules, debugserver, objc
Command Output: '<bound method SBCommandReturnObject.GetOutput of Error:  Success
Output Message:
Stop Threads: 1>'
Command Output: '<bound method SBCommandReturnObject.GetOutput of Error:  Success
Output Message:
Stop Threads: 1>'

--
Command Output (stderr):
--
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_hook_one_thread (TestStopHookOnCoreLoad.TestStopOnCoreLoad.test_hook_one_thread)
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_hook_runs_no_threads (TestStopHookOnCoreLoad.TestStopOnCoreLoad.test_hook_runs_no_threads)
======================================================================
FAIL: test_hook_one_thread (TestStopHookOnCoreLoad.TestStopOnCoreLoad.test_hook_one_thread)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/commands/target/stop-hooks/on-core-load/TestStopHookOnCoreLoad.py", line 31, in test_hook_one_thread
    self.do_test(core_path, 3)
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/commands/target/stop-hooks/on-core-load/TestStopHookOnCoreLoad.py", line 53, in do_test
    self.assertIn(
AssertionError: 'Stop Threads: 3' not found in 'Stop Threads: 1\n' : Ran the stop hook
Config=x86_64-/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang
----------------------------------------------------------------------
Ran 2 tests in 1.604s

FAILED (failures=1)

--

```
</details>
<details>
<summary>lldb-api.functionalities/postmortem/netbsd-core/TestNetBSDCore.py</summary>

```
Script:
--
/usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --env LLVM_INCLUDE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include --env LLVM_TOOLS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --libcxx-include-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 --libcxx-include-target-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 --libcxx-library-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib/x86_64-unknown-linux-gnu --arch x86_64 --build-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex --lldb-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/lldb --compiler /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang --dsymutil /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/dsymutil --make /usr/bin/gmake --llvm-tools-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --lldb-obj-root /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb --lldb-libs-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --cmake-build-type Release /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/postmortem/netbsd-core -p TestNetBSDCore.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 22.0.0git (https://github.com/llvm/llvm-project revision 15e6b0048f90d73c4aca3c1e7e270cce10d2cab4)
  clang revision 15e6b0048f90d73c4aca3c1e7e270cce10d2cab4
  llvm revision 15e6b0048f90d73c4aca3c1e7e270cce10d2cab4
Skipping the following test categories: msvcstl, dsym, pdb, gmodules, debugserver, objc

--
Command Output (stderr):
--
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_aarch64_single_threaded (TestNetBSDCore.NetBSD1LWPCoreTestCase.test_aarch64_single_threaded)
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_amd64_single_threaded (TestNetBSDCore.NetBSD1LWPCoreTestCase.test_amd64_single_threaded)
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_aarch64_process_signaled (TestNetBSDCore.NetBSD2LWPProcessSigCoreTestCase.test_aarch64_process_signaled)
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_amd64_process_signaled (TestNetBSDCore.NetBSD2LWPProcessSigCoreTestCase.test_amd64_process_signaled)
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_aarch64_thread_signaled (TestNetBSDCore.NetBSD2LWPT2CoreTestCase.test_aarch64_thread_signaled)
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_amd64_thread_signaled (TestNetBSDCore.NetBSD2LWPT2CoreTestCase.test_amd64_thread_signaled)
======================================================================
FAIL: test_aarch64_thread_signaled (TestNetBSDCore.NetBSD2LWPT2CoreTestCase.test_aarch64_thread_signaled)
   Test double-threaded aarch64 core dump where thread 2 is signalled.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/postmortem/netbsd-core/TestNetBSDCore.py", line 182, in test_aarch64_thread_signaled
    self.do_test("2lwp_t2_SIGSEGV.aarch64", pid=14142, region_count=31)
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/postmortem/netbsd-core/TestNetBSDCore.py", line 129, in do_test
    self.check_stack(process, pid, filename)
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/postmortem/netbsd-core/TestNetBSDCore.py", line 175, in check_stack
    self.assertStopReason(thread.GetStopReason(), lldb.eStopReasonSignal)
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2664, in assertStopReason
    self.fail(self._formatMessage(msg, error))
AssertionError: none (1) != signal (5)
Config=x86_64-/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang
======================================================================
FAIL: test_amd64_thread_signaled (TestNetBSDCore.NetBSD2LWPT2CoreTestCase.test_amd64_thread_signaled)
   Test double-threaded amd64 core dump where thread 2 is signalled.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/postmortem/netbsd-core/TestNetBSDCore.py", line 187, in test_amd64_thread_signaled
    self.do_test("2lwp_t2_SIGSEGV.amd64", pid=622, region_count=24)
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/postmortem/netbsd-core/TestNetBSDCore.py", line 129, in do_test
    self.check_stack(process, pid, filename)
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/postmortem/netbsd-core/TestNetBSDCore.py", line 175, in check_stack
    self.assertStopReason(thread.GetStopReason(), lldb.eStopReasonSignal)
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2664, in assertStopReason
    self.fail(self._formatMessage(msg, error))
AssertionError: none (1) != signal (5)
Config=x86_64-/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang
----------------------------------------------------------------------
Ran 6 tests in 0.411s

FAILED (failures=2)

--

```
</details>

### lldb-shell
<details>
<summary>lldb-shell.Register/Core/x86-32-linux-multithread.test</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb --no-lldbinit -S /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet -b -s /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-32-linux-multithread.test -c /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/Inputs/x86-32-linux-multithread.core | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-32-linux-multithread.test
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb --no-lldbinit -S /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet -b -s /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-32-linux-multithread.test -c /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/Inputs/x86-32-linux-multithread.core
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-32-linux-multithread.test
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-32-linux-multithread.test:5:15: error: CHECK-NEXT: expected string not found in input
# | # CHECK-NEXT: thread #2: tid = 330634, 0x080492dd, stop reason = signal 0
# |               ^
# | <stdin>:10:127: note: scanning from here
# | * thread #1: tid = 330633, 0x080492d2, name = 'a.out', stop reason = SIGSEGV: address not mapped to object (fault address=0x0)
# |                                                                                                                               ^
# | <stdin>:11:2: note: possible intended match here
# |  thread #2: tid = 330634, 0x080492dd
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-32-linux-multithread.test
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           .
# |           .
# |           .
# |           5: Core file '/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/Inputs/x86-32-linux-multithread.core' (i386) was loaded. 
# |           6: (lldb) command source -s 0 '/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-32-linux-multithread.test' 
# |           7: Executing commands in '/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-32-linux-multithread.test'. 
# |           8: (lldb) thread list 
# |           9: Process 330632 stopped 
# |          10: * thread #1: tid = 330633, 0x080492d2, name = 'a.out', stop reason = SIGSEGV: address not mapped to object (fault address=0x0) 
# | next:5'0                                                                                                                                   X error: no match found
# |          11:  thread #2: tid = 330634, 0x080492dd 
# | next:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:5'1      ?                                    possible intended match
# |          12:  thread #3: tid = 330635, 0x080492dd 
# | next:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          13:  thread #4: tid = 330632, 0xf7f59549 
# | next:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          14: (lldb) register read --all 
# | next:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          15: General Purpose Registers: 
# | next:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          16:  eax = 0x00000000 
# | next:5'0     ~~~~~~~~~~~~~~~~~~
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>lldb-shell.Register/Core/x86-32-netbsd-multithread.test</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb --no-lldbinit -S /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet -b -s /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-32-netbsd-multithread.test -c /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/Inputs/x86-32-netbsd-multithread.core | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-32-netbsd-multithread.test
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb --no-lldbinit -S /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet -b -s /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-32-netbsd-multithread.test -c /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/Inputs/x86-32-netbsd-multithread.core
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-32-netbsd-multithread.test
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-32-netbsd-multithread.test:5:15: error: CHECK-NEXT: expected string not found in input
# | # CHECK-NEXT: thread #2: tid = 4, 0x08048dbf, stop reason = signal 0 
# |               ^
# | <stdin>:10:63: note: scanning from here
# | * thread #1: tid = 2, 0x08048db9, stop reason = signal SIGSEGV
# |                                                               ^
# | <stdin>:11:2: note: possible intended match here
# |  thread #2: tid = 4, 0x08048dbf
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-32-netbsd-multithread.test
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           .
# |           .
# |           .
# |           5: Core file '/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/Inputs/x86-32-netbsd-multithread.core' (i386) was loaded. 
# |           6: (lldb) command source -s 0 '/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-32-netbsd-multithread.test' 
# |           7: Executing commands in '/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-32-netbsd-multithread.test'. 
# |           8: (lldb) thread list 
# |           9: Process 66 stopped 
# |          10: * thread #1: tid = 2, 0x08048db9, stop reason = signal SIGSEGV 
# | next:5'0                                                                   X error: no match found
# |          11:  thread #2: tid = 4, 0x08048dbf 
# | next:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:5'1      ?                               possible intended match
# |          12:  thread #3: tid = 3, 0x08048dbf 
# | next:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          13:  thread #4: tid = 1, 0xf876a147 
# | next:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          14: (lldb) register read --all 
# | next:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          15: General Purpose Registers: 
# | next:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          16:  eax = 0x00000000 
# | next:5'0     ~~~~~~~~~~~~~~~~~~
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>lldb-shell.Register/Core/x86-64-linux-multithread.test</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb --no-lldbinit -S /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet -b -s /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-64-linux-multithread.test -c /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/Inputs/x86-64-linux-multithread.core | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-64-linux-multithread.test
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb --no-lldbinit -S /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet -b -s /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-64-linux-multithread.test -c /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/Inputs/x86-64-linux-multithread.core
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-64-linux-multithread.test
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-64-linux-multithread.test:5:15: error: CHECK-NEXT: expected string not found in input
# | # CHECK-NEXT: thread #2: tid = 329385, 0x000000000040126d, stop reason = signal 0
# |               ^
# | <stdin>:10:135: note: scanning from here
# | * thread #1: tid = 329384, 0x0000000000401262, name = 'a.out', stop reason = SIGSEGV: address not mapped to object (fault address=0x0)
# |                                                                                                                                       ^
# | <stdin>:11:2: note: possible intended match here
# |  thread #2: tid = 329385, 0x000000000040126d
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-64-linux-multithread.test
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           .
# |           .
# |           .
# |           5: Core file '/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/Inputs/x86-64-linux-multithread.core' (x86_64) was loaded. 
# |           6: (lldb) command source -s 0 '/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-64-linux-multithread.test' 
# |           7: Executing commands in '/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-64-linux-multithread.test'. 
# |           8: (lldb) thread list 
# |           9: Process 329383 stopped 
# |          10: * thread #1: tid = 329384, 0x0000000000401262, name = 'a.out', stop reason = SIGSEGV: address not mapped to object (fault address=0x0) 
# | next:5'0                                                                                                                                           X error: no match found
# |          11:  thread #2: tid = 329385, 0x000000000040126d 
# | next:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:5'1      ?                                            possible intended match
# |          12:  thread #3: tid = 329386, 0x000000000040126d 
# | next:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          13:  thread #4: tid = 329383, 0x00007fcf5582f762 
# | next:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          14: (lldb) register read --all 
# | next:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          15: General Purpose Registers: 
# | next:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          16:  rax = 0x0000000000000000 
# | next:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>lldb-shell.Register/Core/x86-64-netbsd-multithread.test</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb --no-lldbinit -S /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet -b -s /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-64-netbsd-multithread.test -c /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/Inputs/x86-64-netbsd-multithread.core | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-64-netbsd-multithread.test
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb --no-lldbinit -S /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet -b -s /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-64-netbsd-multithread.test -c /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/Inputs/x86-64-netbsd-multithread.core
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-64-netbsd-multithread.test
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-64-netbsd-multithread.test:5:15: error: CHECK-NEXT: expected string not found in input
# | # CHECK-NEXT: thread #2: tid = 4, 0x0000000000400f88, stop reason = signal 0 
# |               ^
# | <stdin>:10:71: note: scanning from here
# | * thread #1: tid = 2, 0x0000000000400f82, stop reason = signal SIGSEGV
# |                                                                       ^
# | <stdin>:11:2: note: possible intended match here
# |  thread #2: tid = 4, 0x0000000000400f88
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-64-netbsd-multithread.test
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           .
# |           .
# |           .
# |           5: Core file '/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/Inputs/x86-64-netbsd-multithread.core' (x86_64) was loaded. 
# |           6: (lldb) command source -s 0 '/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-64-netbsd-multithread.test' 
# |           7: Executing commands in '/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Register/Core/x86-64-netbsd-multithread.test'. 
# |           8: (lldb) thread list 
# |           9: Process 720 stopped 
# |          10: * thread #1: tid = 2, 0x0000000000400f82, stop reason = signal SIGSEGV 
# | next:5'0                                                                           X error: no match found
# |          11:  thread #2: tid = 4, 0x0000000000400f88 
# | next:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:5'1      ?                                       possible intended match
# |          12:  thread #3: tid = 3, 0x0000000000400f88 
# | next:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          13:  thread #4: tid = 1, 0x0000791280ca1faa 
# | next:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          14: (lldb) register read --all 
# | next:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          15: General Purpose Registers: 
# | next:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          16:  rax = 0x0000000000000000 
# | next:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

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


More information about the lldb-commits mailing list