[Lldb-commits] [lldb] [lldb] Guard SBFrame/SBThread methods against running processes (PR #152020)

Felipe de Azevedo Piovezan via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 4 14:10:30 PDT 2025


felipepiovezan wrote:

This linux test failed, but I'm not yet sure if it is related, as it doesn't fail locally for me:
```
2025-08-04T21:05:44.7103932Z   File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py", line 328, in test_SBThread
2025-08-04T21:05:44.7105222Z     sb_thread.fuzz_obj(obj)
2025-08-04T21:05:44.7106213Z   File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/python_api/default-constructor/sb_thread.py", line 12, in fuzz_obj
2025-08-04T21:05:44.7107258Z     obj.GetStopDescription(256)
2025-08-04T21:05:44.7108355Z   File "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/local/lib/python3.12/dist-packages/lldb/__init__.py", line 14194, in GetStopDescription
2025-08-04T21:05:44.7109675Z     return _lldb.SBThread_GetStopDescription(self, dst_or_null)
2025-08-04T21:05:44.7110225Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-08-04T21:05:44.7111017Z SystemError: <built-in function SBThread_GetStopDescription> returned NULL without setting an exception
2025-08-04T21:05:44.7112033Z Config=x86_64-/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang
```

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


More information about the lldb-commits mailing list