Closed Renrhaf closed 5 months ago
Possibly related to #46?
Hi @withinboredom, I don't think I'm using any Fibers in this project, what is strange is that I can not reproduce it after playing with the Drupal product type (adding/ajdusting fields) so it might be related to a PHP error popping and causing Go to crash, but it's just a guess
hi @Renrhaf , this issue occur when you use the setup in this repo right?
Hi @HuyNguyen206 yes it happened on a setup based on this image, but customized for my project. Strange thing is that I did not have any problems on an other Drupal website I just deployed with FrankenPHP. I'll add more information if I can reproduce it.
I'm using it without any problem now and was not able to replicate, so I'm closing this.
I have some news, while xdebugging some crash in my Drupal FrankenPHP app, I found out that the BigPipe module is using Fibers (see https://git.drupalcode.org/project/drupal/-/blob/11.x/core/modules/big_pipe/src/Render/BigPipe.php?ref_type=heads#L480)
The whole container crashes only when there were some issues in our code causing some warnings/errors. After fixing the warning/error everything is fine again.
What happened?
When using the FrankenPHP Docker image with a Drupal project installed, a crash happens when I'm trying to load a specific page (other pages seemed to work good till this crash).
I'm attaching logs of the docker container which contains the error : "fatal error: runtime: stack split at bad time" Full logs were too big to be added in the issue comment.
Build Type
Docker (Debian Bookworm)
Worker Mode
Yes
Operating System
GNU/Linux
CPU Architecture
x86_64
PHP configuration
Relevant log output