Replies: 1 comment 6 replies
-
Thanks for the report! Can you run the Another option is to get a core dump: https://stackoverflow.com/a/47694315/1352334 |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I recently tried out FrankenPHP with a pretty basic Laravel application. While the local development environment is working fine, the production deployment to a Proxmox VM running Docker crashes with Code 139 (SIGSEGV Segmentation Fault) seemingly random, but after only a couple of requests. Unfortunately, there are no errors logged, neither in the container nor on the host.
Dockerfile
Caddyfile
From my point of view, there's nothing really special with the setup. Caddy listens on port 8080 without a host because HTTPS is terminated on a load balancer in front of the container.
How could I debug this further and find out the root cause for this crash? As mentioned before, there are no logs from the container.
Update:
Found #262 where using gdb was suggested. I tinkered a bit and got it working with
gdb -ex run --args frankenphp "run" "--config" "/etc/caddy/Caddyfile" "--adapter" "caddyfile"
. FrankenPHP is starting up and the first request came in, but there's no stack trace, it only crashes withBeta Was this translation helpful? Give feedback.
All reactions