Skip to content

Fix zombie processes being left behind when resolving using atos - #21775

Merged
thewilsonator merged 1 commit into
dlang:stablefrom
s-ludwig:issue21774_atos_zombies
Aug 25, 2025
Merged

Fix zombie processes being left behind when resolving using atos#21775
thewilsonator merged 1 commit into
dlang:stablefrom
s-ludwig:issue21774_atos_zombies

Conversation

@s-ludwig

Copy link
Copy Markdown
Member

The code for resolving debug information using atos, which is mainly used by LDC, as it doesn't embed line information into the executable (by default), never called waitpid() on the child PID, leading to zombie processes and an eventual exhaution of open file descriptors.

Fixes #21774.

The code for resolving debug information using atos, which is mainly used by LDC, as it doesn't embed line information into the executable (by default), never called waitpid() on the child PID, leading to zombie processes and an eventual exhaution of open file descriptors.

Fixes dlang#21774.
@dlang-bot

Copy link
Copy Markdown

Thanks for your pull request, @s-ludwig!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

⚠️⚠️⚠️ Warnings ⚠️⚠️⚠️

  • In preparation for migrating from Bugzilla to GitHub Issues, the issue reference syntax has changed. Please add the word "Bugzilla" to issue references. For example, Fix Bugzilla Issue 12345 or Fix Bugzilla 12345.(Reminder: the edit needs to be done in the Git commit message, not the GitHub pull request.)

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "stable + dmd#21775"

@thewilsonator
thewilsonator merged commit a49178d into dlang:stable Aug 25, 2025
69 of 79 checks passed
@s-ludwig
s-ludwig deleted the issue21774_atos_zombies branch September 8, 2025 08:52
@dkorpel dkorpel mentioned this pull request Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants