GH-16655 test failure in 8.3.26
オープン
まだ誰も着手していません。
Bug
Extension: gd
Status: Needs Triage
- 主要言語
- C
- スター
- 40.4k
- フォーク
- 8.1k
- 平均マージ
- 2日 13時間
- マージ済み PR(30日)
- 96
説明
Description
Building 8.3.26 from source and running its test suite, I get:
=====================================================================
TIME END 2025-09-30 00:53:03
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 18 (zend_test, sysvshm, sysvmsg, soap, snmp, skeleton, shmop, pdo_odbc, pdo_oci, pdo_firebird, pdo_dblib, odbc, oci8, imap, ffi, enchant, dl_test, com_dotnet)
Exts tested : 55
---------------------------------------------------------------------
Number of tests : 19484 15980
Tests skipped : 3504 ( 18.0%) --------
Tests warned : 1 ( 0.0%) ( 0.0%)
Tests failed : 1 ( 0.0%) ( 0.0%)
Expected fail : 12 ( 0.1%) ( 0.1%)
Tests passed : 15966 ( 81.9%) ( 99.9%)
---------------------------------------------------------------------
Time taken : 67 seconds
=====================================================================
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
GH-16559 (UBSan abort in ext/gd/libgd/gd_interpolation.c:1007) [ext/gd/tests/gh16559.phpt]
=====================================================================
=====================================================================
WARNED TEST SUMMARY
---------------------------------------------------------------------
FPM: Buffered worker output decorated log with multiple continuous messages (stdout/stderr mixed) [sapi/fpm/tests/log-bwd-multiple-msgs-stdout-stderr.phpt] (warn: XFAIL section but test passes)
=====================================================================
You may have found a problem in PHP.
This report can be saved and used to open an issue on the bug tracker at
https://github.com/php/php-src/issues
This gives us a better understanding of PHP's behavior.
Do you want to save this report in a file? [Yn]: sh: line 1: autoconf: command not found
Report saved to: /tmp/guix-build-php-8.3.26.drv-0/php-8.3.26/php_test_results_20250930_0051.txt
make: *** [Makefile:249: test] Error 1
Test suite failed, dumping logs.
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("test" "-j" "32" "--max-load=32") exit-status: 2 term-signal: #f stop-signal: #f>
phase `check' failed after 68.1 seconds
command "make" "test" "-j" "32" "--max-load=32" failed with status 2
The inputs used to build the package:
aspell@0.60.8 bison@3.8.2 bzip2@1.0.8 curl@8.6.0 cyrus-sasl@2.1.28 fontconfig-minimal@2.14.0
+ freetype@2.13.3 gd@2.3.3 gdbm@1.25 gettext-minimal@0.23.1 gmp@6.3.0 gnutls@3.8.3 icu4c@73.1 libgcrypt@1.11.0
+ libjpeg-turbo@2.1.4 libpng@1.6.39 libsodium@1.0.18 libx11@1.8.12 libxml2@2.14.6 libxslt@1.1.43 libzip@1.9.2
+ oniguruma@6.9.10 openldap@2.6.9 openssl@3.0.8 pcre2@10.42 pkg-config@0.29.2 postgresql@14.13 procps@4.0.3
+ readline@8.2.13 sqlite@3.39.3 tidy-html@5.8.0 zlib@1.3.1
Expected no test failure.
PHP Version
8.3.26, built from source
Operating System
GNU Guix
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、PHP 8.3.26 で make test を実行して報告された失敗を再現し、ext/gd/tests/gh16559.phpt を調査します。ext/gd/libgd/gd_interpolation.c:1007 で報告された UBSan の中断を追跡します。テストスイートが GH-16559 を失敗として報告しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- c, php
- 領域
- testing-qa
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100