[Lldb-commits] [lldb] [lldb] Add stop-on-fork and stop-on-vfork settings (PR #188710)
Sergei Druzhkov via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 6 00:46:58 PDT 2026
DrSergei wrote:
> @DrSergei this is breaking the green dragon bots (macOS) as well.
>
> I no longer have the first breaking build, as this was merged on Saturday, but [here's a log of the failure:](https://ci.swift.org/view/all/job/llvm.org/job/as-lldb-cmake/7770/)
>
> Please fix this or revert as soon as possible, as the bots have been broken for too many days now.
>
> ```
> [2026-07-04T11:16:46.172Z] FAIL: test_stop_on_fork_and_follow_child (TestStopOnForkAndVFork.TestStopOnForkAndVFork)
> [2026-07-04T11:16:46.172Z] ----------------------------------------------------------------------
> [2026-07-04T11:16:46.172Z] Traceback (most recent call last):
> [2026-07-04T11:16:46.172Z] File "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/functionalities/fork/stop/TestStopOnForkAndVFork.py", line 63, in test_stop_on_fork_and_follow_child
> [2026-07-04T11:16:46.172Z] self.do_test("child", "fork")
> [2026-07-04T11:16:46.172Z] File "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/functionalities/fork/stop/TestStopOnForkAndVFork.py", line 30, in do_test
> [2026-07-04T11:16:46.172Z] self.assertState(
> [2026-07-04T11:16:46.172Z] File "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 3091, in assertState
> [2026-07-04T11:16:46.172Z] self.fail(self._formatMessage(msg, error))
> [2026-07-04T11:16:46.172Z] AssertionError: exited (10) != stopped (5) : Process should be stopped at fork
> [2026-07-04T11:16:46.172Z] Config=arm64-/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/bin/clang
> ```
I prepared [MR](https://github.com/llvm/llvm-project/pull/207663) to revert these changes. Unfortunately, didn't see any notifications from green dragon bots. Based on provided log, I think the problem that on MacOS fork stop happens in parent process, which cause child process to exit. I can not test my changes on MacOS, so I need more time to find proper solution of this problem.
https://github.com/llvm/llvm-project/pull/188710
More information about the lldb-commits
mailing list