Skip to content

Bun panic due to CPU lacking AVX #11

@nishyp

Description

@nishyp

Hopefully this is the right place to post, apologies if it's not.

Describe the bug
I attempted to deploy Voy
voy-valkey & voy-searxng spun up fine but voy itself did not.

I got the following in my docker logs:

CPU lacks AVX support. Please consider upgrading to a newer CPU.
panic(main thread): Segmentation fault at address 0x60018000000
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

To Reproduce
Steps to reproduce the behavior:

  1. Attempt to run Voy on a CPU that lacks AVX Support

Expected behavior
For Voy to work normally on a CPU that lacks AVX Support

Environment (please complete the following information):

  • Voy Version: 2026.03.03-1
  • Deployment: Docker

Additional context

voy          | $ bun --bun run ./scripts/migrate.ts
voy          | ============================================================
voy          | Bun v1.3.10 (30e609e0) Linux x64 (baseline)
voy          | Linux Kernel v6.17.0 | musl
voy          | Args: "bun" "--bun" "run" "./scripts/migrate.ts"
voy          | Features: jsc no_avx2 no_avx
voy          | Builtins: "bun:main"
voy          | Elapsed: 37785ms | User: 24479ms | Sys: 13250ms
voy          | RSS: 13.78GB | Peak: 7.67GB | Commit: 13.78GB | Faults: 0 | Machine: 33.65GB
voy          |
voy          | CPU lacks AVX support. Please consider upgrading to a newer CPU.
voy          | panic(main thread): Segmentation fault at address 0x60018000000
voy          | oh no: Bun has crashed. This indicates a bug in Bun, not your code.
voy          |
voy          | To send a redacted crash report to Bun's team,
voy          | please file a GitHub issue using the link below:
voy          |
voy          |  https://bun.report/1.3.10/{long-af-string-goes-here}
voy          |
voy          | error: script "db:migrate" was terminated by signal SIGILL (Illegal instruction)
voy          | Illegal instruction (core dumped)
voy exited with code 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions