Rob Landers
Rob Landers
This has been fixed. Now compilation mostly works, but I may switch over to windows containers to make this more reproducible. Otherwise it is possible that only my machine can...
@macintoshplus, there will be action builders, once we get it building and test that it works correctly. There's no point in writing the action until we know what we're doing....
There has been some updates in various places outside of this issue. Check out the discussion here: https://github.com/dunglas/frankenphp/discussions/420
> only super globals are reset, and globals aren't super global. Globals are in the `$GLOBALS` super global. So, if you want them reset, they can be reset by: ```...
Which session driver are you using?
The following appears to work fine: ```php session_id(session_create_id()); var_dump(session_start()); ``` Which seems to be about what symfony [is doing](https://github.com/symfony/symfony/blob/f3a180b40683fb7e37c8f103159d2f981deb2db3/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php#L166-L174). I imagine it is related to the save handler. Does your...
I added it to the CFLAGS when compiling PHP: ```patch Index: Dockerfile UTF-8 =================================================================== diff --git a/Dockerfile b/Dockerfile --- a/Dockerfile (revision 0a2e2de8428ab440b536d652d834e82e602abb7c) +++ b/Dockerfile (date 1668063664875) @@ -18,7 +18,7 @@...
Ah, I had to load test it to get it to crash. Edit: Stack size appears to be related to RPS. I set `ulimit -s 16384` (the maximum for my...
It appears PHP does some pretty [low-level modifications](https://github.com/php/php-src/tree/93605f286d11876da44d2ecd41c13d7e3f0aae66/Zend/asm) to the stack when using fibers. I suppose it is possible there is some sort of bug there.
This is all really fascinating. CGO apparently [makes a copy of the stack before calling cgo](https://groups.google.com/g/golang-nuts/c/RTtMsgZi88Q) as do Fibers using assembly upstreamed at [Boost context](https://github.com/boostorg/context). I suspect this looks something...