open-telemetry / open-telemetry/opentelemetry-php

[bug] test segfaults with xdebug 3.4.x

Open
#1,554 3 comments 0 reactions 1 assignee View on GitHub

@brettmc is already working on this.

Since Apr 2, 2025.

bug stale
Dominant language
PHP
Stars
912
Forks
232
Avg merge
7d 16h
Merged PRs (30d)
4

Description

Our unit tests started to segfault about a week ago, which was narrowed down to tests/Unit/Context/ScopeTest.php (test_inactive_scope_detach) when generating coverage against xdebug 3.4.2

See upstream bug: https://bugs.xdebug.org/view.php?id=2332

Until the upstream bug is fixed, let's skip this test so that other work can progress.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.