php / php/php-src

`bug81577_3.phpt` pcntl with async signals leaks

Open
#10,754 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug Extension: pcntl Status: Needs Triage
Dominant language
C
Stars
40.4k
Forks
8.1k
Avg merge
2d 13h
Merged PRs (30d)
96

Description

Description

https://github.com/php/php-src/blob/master/ext/pcntl/tests/bug81577_3.phpt

https://bugs.php.net/bug.php?id=81577

Leaks are hard to figure in production, would be great if it could be fixed.

PHP Version

any

Operating System

linux

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with ext/pcntl/tests/bug81577_3.phpt and the linked PHP bug 81577; reproduce the leak on Linux with async signals and trace the relevant pcntl behavior. Done means the existing scenario no longer leaks while the test continues to pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, php
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.