Skip to content

Conversation

@derrabus
Copy link
Member

@derrabus derrabus commented Sep 4, 2025

I have no idea why the DB2 workflow started to segfault. My best guess is that there's an incompatibility with the latest patch release of PHP. Let's see if pinning to an older release works.

Update: I've downgraded from PHP 8.4 to 8.3. That seems to "fix" it for now and give us a green CI again. Let's monitor the issue and revert the patch when the issues is solved.

@derrabus
Copy link
Member Author

derrabus commented Sep 4, 2025

TIL: I cannot pin the PHP patch release with the Setup PHP action. 😓

@derrabus derrabus added this to the 3.10.2 milestone Sep 4, 2025
@derrabus derrabus marked this pull request as ready for review September 4, 2025 20:01
- "7.4"
- "8.4"
- "8.3"
# The DB2 workflow currently segfaults with PHP 8.4
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be great to have a bug report to link to here

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed. If only someone were motivated enough to write a proper bug report. 😬

Copy link
Member

@morozov morozov Sep 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linking a bug report for reference: shivammathur/setup-php#992.

FWIW, I successfully ran the test suite on PHP 8.4.12 with ibm_db2 2.2.2 yesterday on a local Linux machine.

@derrabus derrabus merged commit b8736bd into doctrine:3.10.x Sep 4, 2025
59 checks passed
@derrabus derrabus deleted the chore/db2-segfault branch September 4, 2025 20:11
derrabus added a commit to derrabus/dbal that referenced this pull request Sep 4, 2025
* 3.10.x:
  Document the PDO subclasses backport (doctrine#7137)
  Downgrade PHP for the DB2 workflow (doctrine#7134)
  Workaround for MySQL 8.4 and unknown users (doctrine#7136)
  Leverage PHP 8.4 PDO classes, fix PHP 8.5 deprecation (doctrine#7132)
  Run tests on MySQL 8.4 LTS and 9.4 (doctrine#7133)
derrabus added a commit to derrabus/dbal that referenced this pull request Sep 4, 2025
* 4.3.x:
  Remove obsolete upgrade note (doctrine#7138)
  Document the PDO subclasses backport (doctrine#7137)
  Downgrade PHP for the DB2 workflow (doctrine#7134)
  Workaround for MySQL 8.4 and unknown users (doctrine#7136)
  Leverage PHP 8.4 PDO classes, fix PHP 8.5 deprecation (doctrine#7132)
  Run tests on MySQL 8.4 LTS and 9.4 (doctrine#7133)
derrabus added a commit to derrabus/dbal that referenced this pull request Sep 4, 2025
* 4.4.x:
  Remove obsolete upgrade note (doctrine#7138)
  Document the PDO subclasses backport (doctrine#7137)
  Downgrade PHP for the DB2 workflow (doctrine#7134)
  Workaround for MySQL 8.4 and unknown users (doctrine#7136)
  Leverage PHP 8.4 PDO classes, fix PHP 8.5 deprecation (doctrine#7132)
  Run tests on MySQL 8.4 LTS and 9.4 (doctrine#7133)
derrabus added a commit to derrabus/dbal that referenced this pull request Sep 4, 2025
* 4.4.x:
  Make options check strict again
  Make options check strict again (doctrine#7141)
  Remove obsolete upgrade note (doctrine#7138)
  Document the PDO subclasses backport (doctrine#7137)
  Downgrade PHP for the DB2 workflow (doctrine#7134)
  Workaround for MySQL 8.4 and unknown users (doctrine#7136)
  Leverage PHP 8.4 PDO classes, fix PHP 8.5 deprecation (doctrine#7132)
  Run tests on MySQL 8.4 LTS and 9.4 (doctrine#7133)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants