[php-src] Issue #10439: Segfault when using ReflectionFiber
| From: | danog | Date: | Tue, 24 Jan 2023 21:41:36 +0000 |
| Subject: | [php-src] Issue #10439: Segfault when using ReflectionFiber | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-243563@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/10439
Author: danog
### Description
The following code: https://paste.daniil.it/segfault_reflectionfiber.tar.xz,
a.php (a slightly modified version of revolt that registers all created fibers into a WeakMap for
logging)
Resulted in this output:
```
~/amp $ php a.php
string(17) "Running fibers: 7"
Segmentation fault
```
But I expected this output instead: No segfault
### PHP Version
PHP 8.2.1 and a dev build of 68381457cc5370935bc7c69eeeac772be255174e
### Operating System
Arch linux