Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Bug]: bundled Xdebug for PHP 8.4 — coverage memory leak

Chiusa
#1,753 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
64/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
php
Ambito
tooling

Direzione di ricerca

No repository file, test, or entry point is named. Start by locating the packaging configuration for the PHP 8.4 Xdebug extension and verify which bundled version Herd 1.30.1 uses. Done means the managed PHP 8.4 bundle uses a stable Xdebug version containing the cited fixes, with coverage memory behavior checked against the reported case.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

macOS
Platform

macOS

Operating system version

macOS 26.6.2 (25G83)

System architecture

ARM64 (M1, M2, etc)

Herd Version

1.30.1 (Build 67)

PHP Version

8.4.23

Bug description

Herd 1.30.1 on Apple Silicon still bundles Xdebug 3.4.0alpha2-dev for PHP 8.4.

Xdebug fixed a known code coverage memory leak in version 3.4.2:

I observed substantial memory growth during Pest coverage runs. In a controlled comparison using the same PHP 8.4.23 binary and two parallel workers, the bundled Xdebug reached approximately 1,740 MiB physical footprint per worker after 43 seconds. With a separately compiled Xdebug 3.4.2, the workers used approximately 348 and 249 MiB at the same point.

This suggests an issue with the older bundled Xdebug, although I have not established that the specific upstream bug above explains the entire difference.

Could you update the bundled PHP 8.4 Xdebug extension to a stable version containing these fixes? I would prefer to keep using Herd’s managed extension.

Steps to reproduce

No response

Relevant log output

Lingua principale
Nessun dato sulla lingua
Stelle
123
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di beyondcode/herd-community

Tutte le issue di beyondcode/herd-community

Issue simili

Altre issue su DevTools

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.