[Lldb-commits] [lldb] [lldb] Allow forks to occur in expression evaluation (PR #184815)

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 24 19:45:57 PDT 2026


jasonmolenda wrote:

@clayborg @pdepetro Looking at the commit list, I believe this change is causing test failures on the armv7 linux CI bot
https://lab.llvm.org/buildbot/#/builders/18/builds/25716
```
======================================================================
FAIL: test_expr_with_fork_trap (TestExprWithFork.ExprWithForkTestCase)
    Test that expression evaluation handles a child process that triggers a SIGTRAP.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/commands/expression/expr-with-fork/TestExprWithFork.py", line 56, in test_expr_with_fork_trap
    self.expect_expr(
  File "/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2854, in expect_expr
    value_check.check_value(self, eval_result, str(eval_result))
  File "/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 307, in check_value
    test_base.assertSuccess(val.GetError())
  File "/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2889, in assertSuccess
    self.fail(self._formatMessage(msg, "'{}' is not success".format(error)))
AssertionError: 'error: Expression execution was interrupted: breakpoint 1.1.
The process has been returned to the state before expression evaluation.
' is not success
```


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


More information about the lldb-commits mailing list