Skip to content

3 stack limit tests failing on Alpinelinux PHP 8.3 #12643

Closed
@andypost

Description

@andypost

Description

Stack size tests added in #9104

The following tests started to fail when PHP using --enable-zend-test

  • Zend/tests/stack_limit/stack_limit_007.phpt
  • Zend/tests/stack_limit/stack_limit_011.phpt
  • Zend/tests/stack_limit/stack_limit_012.phpt

Resulted in this output:

TEST 4094/16862 [Zend/tests/stack_limit/stack_limit_007.phpt]
========DIFF========
001- array(4) {
002-   ["base"]=>
003-   string(%d) "0x%x"
004-   ["max_size"]=>
005-   string(%d) "0x%x"
006-   ["position"]=>
007-   string(%d) "0x%x"
008-   ["EG(stack_limit)"]=>
009-   string(%d) "0x%x"
010- }
011- Maximum call stack size of %d bytes reached. Infinite recursion?
012- Try executed: 1
001+ Fatal error: Maximum call stack size of 81920 bytes reached during compilation. Try splitting expression in /home/buildozer/aports/testing/php83/src/php-8.3.0RC6/Zend/tests/stack_limit/stack_limit_007.php on line 3
========DONE========

TEST 4098/16862 [Zend/tests/stack_limit/stack_limit_011.phpt]
========DIFF========
001- array(4) {
002-   ["base"]=>
003-   string(%d) "0x%x"
004-   ["max_size"]=>
005-   string(%d) "0x%x"
006-   ["position"]=>
007-   string(%d) "0x%x"
008-   ["EG(stack_limit)"]=>
009-   string(%d) "0x%x"
010- }
011- Maximum call stack size of %d bytes reached. Infinite recursion?
012- Previous: Maximum call stack size of %d bytes reached. Infinite recursion?
001+ Fatal error: Maximum call stack size of 81920 bytes reached during compilation. Try splitting expression in /home/buildozer/aports/testing/php83/src/php-8.3.0RC6/Zend/tests/stack_limit/stack_limit_011.php on line 3
========DONE========

TEST 4099/16862 [Zend/tests/stack_limit/stack_limit_012.phpt]
========DIFF========
001- array(4) {
002-   ["base"]=>
003-   string(%d) "0x%x"
004-   ["max_size"]=>
005-   string(%d) "0x%x"
006-   ["position"]=>
007-   string(%d) "0x%x"
008-   ["EG(stack_limit)"]=>
009-   string(%d) "0x%x"
010- }
011- 
     Fatal error: Maximum call stack size of %d bytes reached during compilation. Try splitting expression in %s on line %d
========DONE========

PHP Version

PHP 8.3.0RC5

Operating System

Alpinelinux

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions