Open dunglas opened 1 year ago
Is this reproducible without FrankenPHP? At least I don't see a crash for a plain phpinfo call with a ZTS build.
The serializer registration mechanism is certainly not thread-safe, but I believe that's fine as it happens in MINIT.
I don't know if it's reproducible in other contexts. That's not a big issue anyway as just ˋphpinfo()ˋ looks affected.
Calling
phpinfo();
in a script with ZTS builds causes segmentation faults.Here is the GDB backtrace:
To reproduce, run this FrankenPHP test: https://github.com/dunglas/frankenphp/blob/main/frankenphp_test.go#L335-L336
All other tests pass.