Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Child process monitoring does not work when parent procs have only one descendant. #276

Closed
GitTorre opened this issue Sep 7, 2023 · 0 comments · Fixed by #277
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@GitTorre
Copy link
Member

GitTorre commented Sep 7, 2023

Describe the bug
Due to a bug in the logic that ensures that pids are unique in the child proc list for a target parent pid, any proc that has only one child is considered to have no children.

To Reproduce
Create service that launches a single child process.

Expected behavior
FO monitors the single child process.

Desktop (please complete the following information):

  • OS: Windows and Linux
  • Version: Windows Server 2019/2022 and Ubuntu 18.04/20.04

Additional context
There is no way to configure your way out of this bug. It will require shipping an updated version of FO. If you don't monitor child processes, then this is not important to you. If you do, you will need to upgrade when the fix is released.

@GitTorre GitTorre added the bug Something isn't working label Sep 7, 2023
@GitTorre GitTorre self-assigned this Sep 7, 2023
@GitTorre GitTorre added this to the 3.2.10 milestone Sep 7, 2023
@GitTorre GitTorre linked a pull request Sep 7, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant