Segmentation fault with latest Ubuntu images

Running VM with simple Dockerfile:

FROM ubuntu:jammy
ENTRYPOINT ["/bin/sleep", "infinity"]

and connecting to it with

flyctl ssh console

leads to segfault with most of the commands (dmesg, bash, etc):

[   72.225386] bash[594]: segfault at 560306834360 ip 00007f1a7dbdbe90 sp 00007ffdf542f808 error 4 in libc.so.6[7f1a7da63000+195000]
[   72.225395] Code: 00 00 0f 18 8e c0 20 00 00 0f 18 8e 80 30 00 00 0f 18 8e c0 30 00 00 c5 fe 6f 06 c5 fe 6f 4e 20 c5 fe 6f 56 40 c5 fe 6f 5e 60 <c5> fe 6f a6 00 10 00 00 c5 fe 6f ae 20 10 00 00 c5 fe 6f b6 40 10

Using ubuntu:focal image or older doesn’t lead to the issue for some reason.

I can observe the issue only when on VM with AMD EPYC core. Intel Xeon CPU runs all images of Ubuntu fine (according to my experience at least).

Probably related: Segmentation fault no matter what i have in my Dockerfile - #14 by kurt

2 Likes

This should now work! We’ve upgraded our hosts today, which was the main issue preventing more modern ubuntu versions.

1 Like