php / php/php-src

Leaking Curl tests on Ubuntu 24.04

Open
#16,074 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description

The following tests started reporting leaks when upgrading the ASan CI to Ubuntu 24.04:

  • ext/curl/tests/bug77535.phpt
  • ext/curl/tests/curl_pushfunction_trampoline.phpt

Maybe @dunglas is interested in having a look?

PHP Version

PHP 8.3, possibly 8.2 too

Operating System

Ubuntu 24.04

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 by running ext/curl/tests/bug77535.phpt and ext/curl/tests/curl_pushfunction_trampoline.phpt under the ASan CI setup on Ubuntu 24.04. Inspect the reported leaks and verify whether PHP 8.2 is affected as well. Done means both tests no longer report leaks in the affected environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, php
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.