You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building with the default (docker) builder is fine, building with a docker-container builder causes a segfault within Ruby during asset precompilation.
The same issue does not occur buliding for amd64 on native amd64 hardware with either buildx driver.
I appreciate there's a good chance you're going to throw this back at Ruby/the upstream Gem project but nonetheless I'm out of ideas of how to further troubleshoot this and it only seems to be happening with the docker-container driver and I've not been able to find any similar issues reported anywhere that aren't qemu-related.
Have also tried using the same buildkit version (moby/buildkit:v0.16.0) as the docker driver for the container driver but the same issue is present.
Have tried to rebuild google-protobuf with force_ruby_platform to recompile it at build time without native extensions but 3.25.5 has a bug that causes it to fail and I can't really start breaking dependency chains in the application to try and use a newer version.
The text was updated successfully, but these errors were encountered:
Contributing guidelines
I've found a bug and checked that ...
Description
This is a difficult issue to break down because I haven't been able to isolate the specific combination of elements that are triggering the crash.
We have an image that we are building for arrach64 on native aarch64 hardware - https://github.com/linuxserver/docker-mastodon/blob/main/Dockerfile.aarch64
Building with the default (docker) builder is fine, building with a docker-container builder causes a segfault within Ruby during asset precompilation.
The same issue does not occur buliding for amd64 on native amd64 hardware with either buildx driver.
I appreciate there's a good chance you're going to throw this back at Ruby/the upstream Gem project but nonetheless I'm out of ideas of how to further troubleshoot this and it only seems to be happening with the docker-container driver and I've not been able to find any similar issues reported anywhere that aren't qemu-related.
Expected behaviour
No segfault
Actual behaviour
Segfault
Buildx version
github.com/docker/buildx v0.17.1 257815a
Docker info
Builders list
Configuration
buildx instance created with:
docker buildx create --driver docker-container --name container --bootstrap
Build invoked with
docker buildx build -t mastodon -f Dockerfile.aarch64 --builder container .
Dockerfile: https://github.com/linuxserver/docker-mastodon/blob/main/Dockerfile.aarch64
Specific command causing the segfault: https://github.com/linuxserver/docker-mastodon/blob/main/Dockerfile.aarch64#L67
Build logs:
log-preamble.txt
segfault.txt
Build logs
Additional info
Have also tried using the same buildkit version (
moby/buildkit:v0.16.0
) as the docker driver for the container driver but the same issue is present.Have tried to rebuild google-protobuf with force_ruby_platform to recompile it at build time without native extensions but 3.25.5 has a bug that causes it to fail and I can't really start breaking dependency chains in the application to try and use a newer version.
The text was updated successfully, but these errors were encountered: