Skip to content

Illegal instruction (core dumped) #4032

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
saturn99 opened this issue Apr 28, 2025 · 1 comment
Closed

Illegal instruction (core dumped) #4032

saturn99 opened this issue Apr 28, 2025 · 1 comment
Assignees

Comments

@saturn99
Copy link

i attempted to run this command in docker :

> npx wrangler dev

 ⛅️ wrangler 4.13.2
-------------------

No bindings found.
⎔ Starting local server...

✘ [ERROR] write EPIPE
.......

After many unsuccessful attempts, my attention was drawn to the workerd file;

This file gives an Illegal instruction error when executed and causes the entire Wrangler program to fail to continue working; I manually changed the program version to version v1.20250409.0, but the problem still persists.

> ./workerd
Illegal instruction (core dumped)
> 
> uname -a
Linux b854908dfe22 5.10.0-23-amd64 #1 SMP Debian 5.10.179-1 (2023-05-12) x86_64 GNU/Linux
> 
> ldd ./workerd
	linux-vdso.so.1 (0x00007ffd148eb000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fc589308000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc589127000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fc58e249000)
> 
> 

I tested with version 2024-12-30 and it ran without problems; however, due to incompatibility with Wrangler, I am unable to test further.

> ./workerd-linux-64-v1.20241230.0 --help
Usage: ./workerd-linux-64-v1.20241230.0 [<option>...] <command> [<arg>...]

Runs the Workers JavaScript/Wasm runtime.

Commands:
  compile       create a self-contained binary
  pyodide-lock  outputs the package lock file used by Pyodide
  serve         run the server
  test          run unit tests

See './workerd-linux-64-v1.20241230.0 help <command>' for more information on a specific command.

Options:
    --verbose
        Log informational messages to stderr; useful for debugging.
    --version
        Print version information and exit.
    --help
        Display this help text and exit.
>
>
>
> ./workerd-linux-64-v1.20241230.0 --version
workerd 2024-12-30
> 

@fhanau
Copy link
Contributor

fhanau commented May 2, 2025

What OS and CPU are you running workerd on? SIGILL is often caused by memory corruption, but if if the crash is due to actual illegal instruction it could be due to the OS and hardware requirements changing (these are documented in README.md and support relatively old x86_64 hardware still).

@fhanau fhanau self-assigned this May 2, 2025
@saturn99 saturn99 closed this as completed May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants