docker-library / php

Docker Official Image packaging for PHP
https://php.net
MIT License
3.81k stars 2k forks source link

php:8.3-fpm-alpine Segmentation fault when running composer install #1468

Closed mihaileu closed 10 months ago

mihaileu commented 10 months ago

I just migrated the my dockerfile to use the latest 8.3 image and I receive 'Segmentation Fault' when running composer instal.

The same composer install works with this this docker image: https://github.com/laravel/sail/blob/1.x/runtimes/8.3/Dockerfile which is using 8.3 but on ubuntu.

fstat(6, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
lseek(6, 0, SEEK_CUR)                   = 0
lseek(6, 0, SEEK_SET)                   = 0
ioctl(6, TIOCGWINSZ, 0xffffeb74fe78)    = -1 ENOTTY (Not a tty)
uname({sysname="Linux", nodename="a484e5204dcc", ...}) = 0
uname({sysname="Linux", nodename="a484e5204dcc", ...}) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x9} ---
+++ killed by SIGSEGV +++

Lmk what can I run to give more details.

tianon commented 10 months ago

Unfortunately, without a minimal reproducer it's going to be hard for folks to help you debug this.

Additionally, we do not have the bandwidth to provide in-depth integration/deployment/environment debugging or support here; these sorts of questions/requests would be more appropriately posted to a dedicated support forum, such as the Docker Community Slack, Server Fault, Unix & Linux, or Stack Overflow.

mihaileu commented 10 months ago

seems that the issue was from swoole extension: https://github.com/swoole/swoole-src/issues/5206