Package: php8.4 Version: tests failing with `zend_mm_heap corrupted` Severity: normal
Dear Maintainer, While trying to update php-league-csv from 9.20.1 to 9.22 I faced an issue on trixie runnning PHP 8.4.4 The build job, that invokes phpunit for the tests fails this way. https://salsa.debian.org/php-team/pear/php-league-csv/-/jobs/7206384 Running the same tests with phpunit through composer leads to the same issue. Running the same tests with phpunit through composer but on bookworm, that runs 8.2, doesn't fail. Upstream runs the tests in a github actions job on PHP 8.4.4 without issue either. So issue doesn't seem to be related to phpunit, and maybe it is related to the php version shipped in debian. Output: ------------------------- phpunit --exclude-group network --no-coverage PHPUnit 11.5.8 by Sebastian Bergmann and contributors. Runtime: PHP 8.4.4 Configuration: /mnt/packages/git_repos/dpkg/php-league-csv/phpunit.xml ............................................................... 63 / 678 ( 9%) ............................................................... 126 / 678 ( 18%) ..........DDDDD................................................ 189 / 678 ( 27%) ....................................DDDDDDDDDDD.............zend_mm_heap corrupted make[1]: *** [debian/rules:36: override_dh_auto_test] Aborted (core dumped) When invoking with USE_ZEND_ALLOC=0, reported error is slightly different: ------------------------- phpunit --exclude-group network --no-coverage PHPUnit 11.5.8 by Sebastian Bergmann and contributors. Runtime: PHP 8.4.4 Configuration: /mnt/packages/git_repos/dpkg/php-league-csv/phpunit.xml ............................................................... 63 / 678 ( 9%) ............................................................... 126 / 678 ( 18%) ..........DDDDD................................................ 189 / 678 ( 27%) .................malloc(): unaligned fastbin chunk detected 3 -- System Information: Debian Release: 12.9 APT prefers stable-updates APT policy: (991, 'stable-updates'), (991, 'stable-security'), (991, 'stable'), (990, 'proposed-updates'), (390, 'oldstable-security'), (390, 'oldstable'), (389, 'oldstable-updates'), (380, 'oldoldstable'), (379, 'oldoldstable-updates'), (370, 'oldoldstable'), (95, 'testing'), (94, 'unstable'), (93, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.1.0-31-amd64 (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr:en_US Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages php8.4 depends on: pn libapache2-mod-php8.4 | php8.4- <none> fpm | php8.4-cgi ii php8.4-common 8.4.4-1+0~20250215.23+debian12~1.gbp9a7680 php8.4 recommends no packages. php8.4 suggests no packages.