Skip to content

Segfault when using ReflectionFiber #10439

Closed
@danog

Description

@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 6838145

Operating System

Arch linux

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions