Segmentation fault with Astro

What is the name of the domain?

What is the error number?

139

What is the error message?

Segmentation fault, Exited with error code: 139

What is the issue you’re encountering

On trying to build a static site I randomly get a segmentation fault when processing Images. I’ve had this on a number of Astro projects on Cloudflare the only solution I was able to find is to build on github actions.

What steps have you taken to resolve the issue?

Re-build. Segmentation fault happens in different place. Building via a Github action and deploying to Cloudflare works as intended but is not really a solution.

What are the steps to reproduce the issue?

Npm run build.

Screenshot of the error