[php-src] Issue #10249: Assertion `size >= page_size + 1 * page_size' failed.
| From: | Changochen | Date: | Fri, 06 Jan 2023 20:38:54 +0000 |
| Subject: | [php-src] Issue #10249: Assertion `size >= page_size + 1 * page_size' failed. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-243361@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/10249
Author: Changochen
### Description
The following code:
```php
<?php
$callback = function () {};
ini_set("fiber.stack_size", "");
$fiber = new Fiber($callback);
$fiber->start();
```
Resulted in this output:
```
php_asan/Zend/zend_fibers.c:205: zend_fiber_stack *zend_fiber_stack_allocate(size_t): Assertion
`size >= page_size + 1 * page_size' failed.
```
git commit: 84af629e7e33dba755d93dceff93fccdd9996ecd
Build config:
```
./configure --disable-all --enable-address-sanitizer --disable-phpdbg --disable-cgi --with-pic
--enable-debug-assertions
make -j
```
### PHP Version
PHP 8.3.0-dev
### Operating System
_No response_