[Lldb-commits] [lldb] [lldb] Fix unbounded recursion on an empty thread list (PR #227396)

via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 29 21:02:51 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 3729 tests passed
* 911 tests skipped
* 1 test failed

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

### lldb-api
<details>
<summary>lldb-api.api/multithreaded/TestMultithreaded.py</summary>

```
Script:
--
C:/Python312/python.exe C:/_work/llvm-project/llvm-project/lldb\test\API\dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=C:/_work/llvm-project/llvm-project/build/./lib --env LLVM_INCLUDE_DIR=C:/_work/llvm-project/llvm-project/build/include --env LLVM_TOOLS_DIR=C:/_work/llvm-project/llvm-project/build/./bin --triple x86_64-pc-windows-msvc --build-dir C:/_work/llvm-project/llvm-project/build/lldb-test-build --lldb-module-cache-dir C:/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-lldb\lldb-api --clang-module-cache-dir C:/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-clang\lldb-api --executable C:/_work/llvm-project/llvm-project/build/./bin/lldb.exe --lldb-python-dir C:\_work\llvm-project\llvm-project\build\lib\site-packages --compiler C:/_work/llvm-project/llvm-project/build/./bin/clang.exe --dsymutil C:/_work/llvm-project/llvm-project/build/./bin/dsymutil.exe --make C:/ProgramData/chocolatey/bin/make.exe --llvm-tools-dir C:/_work/llvm-project/llvm-project/build/./bin --lldb-obj-root C:/_work/llvm-project/llvm-project/build/tools/lldb --lldb-libs-dir C:/_work/llvm-project/llvm-project/build/./lib --cmake-build-type Release --env LLDB_LAUNCH_FLAG_USE_PIPES=1 C:\_work\llvm-project\llvm-project\lldb\test\API\api\multithreaded -p TestMultithreaded.py --timeout 1200
--
Exit Code: 15
Timeout: Reached timeout of 1200 seconds

Command Output (stdout):
--
check_state: running  OK
check_state: stopped  OK

--
Command Output (stderr):
--
PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_breakpoint_callback (TestMultithreaded.SBBreakpointCallbackCase.test_breakpoint_callback)

SKIPPED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_breakpoint_location_callback (TestMultithreaded.SBBreakpointCallbackCase.test_breakpoint_location_callback) (skip on windows) 

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_concurrent_unwind (TestMultithreaded.SBBreakpointCallbackCase.test_concurrent_unwind)

SKIPPED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_python_stop_hook (TestMultithreaded.SBBreakpointCallbackCase.test_python_stop_hook) (skip on windows) 

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_sb_api_listener_event_description (TestMultithreaded.SBBreakpointCallbackCase.test_sb_api_listener_event_description)

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_sb_api_listener_event_process_state (TestMultithreaded.SBBreakpointCallbackCase.test_sb_api_listener_event_process_state)

Timeout (0:18:00)!
Thread 0x000058f8 (most recent call first):
  File "C:\Python312\Lib\subprocess.py", line 1590 in _wait
  File "C:\Python312\Lib\subprocess.py", line 1264 in wait
  File "C:\Python312\Lib\subprocess.py", line 391 in call
  File "C:\Python312\Lib\subprocess.py", line 408 in check_call
  File "C:\_work\llvm-project\llvm-project\lldb\test\API\api\multithreaded\TestMultithreaded.py", line 118 in build_and_test
  File "C:\_work\llvm-project\llvm-project\lldb\test\API\api\multithreaded\TestMultithreaded.py", line 73 in test_sb_api_listener_resume
  File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\decorators.py", line 221 in wrapper
  File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\decorators.py", line 221 in wrapper
  File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\decorators.py", line 801 in wrapper
  File "C:\Python312\Lib\unittest\case.py", line 589 in _callTestMethod
  File "C:\Python312\Lib\unittest\case.py", line 634 in run
  File "C:\Python312\Lib\unittest\case.py", line 690 in __call__
  File "C:\Python312\Lib\unittest\suite.py", line 122 in run
  File "C:\Python312\Lib\unittest\suite.py", line 84 in __call__
  File "C:\Python312\Lib\unittest\suite.py", line 122 in run
  File "C:\Python312\Lib\unittest\suite.py", line 84 in __call__
  File "C:\Python312\Lib\unittest\runner.py", line 240 in run
  File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\dotest.py", line 1276 in run_suite
  File "C:\_work\llvm-project\llvm-project\lldb\test\API\dotest.py", line 8 in <module>

--

```
</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/227396


More information about the lldb-commits mailing list