cli icon indicating copy to clipboard operation
cli copied to clipboard

cli: SIGSEV on fresh install

Open karitham opened this issue 2 years ago • 1 comments

Preflight checklist

Describe the bug

❯ curl https://raw.githubusercontent.com/ory/meta/master/install.sh | sh -s ory % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 9970 100 9970 0 0 56713 0 --:--:-- --:--:-- --:--:-- 56971 ory/ info checking GitHub for latest tag ory/ info found version: 0.2.2 for v0.2.2/linux/64bit ory/ info installed ./bin/ory

❯ ./bin/ory fish: Job 1, './bin/ory' terminated by signal SIGSEGV (Address boundary error)

Reproducing the bug

Using the pre-made install command results in an runtime error

Relevant log output

No response

Relevant configuration

❯ uname -sa
Linux nixos 6.1.31 #1-NixOS SMP PREEMPT_DYNAMIC Tue May 30 13:03:33 UTC 2023 x86_64 GNU/Linux

Version

latest

On which operating system are you observing this issue?

Linux

In which environment are you deploying?

Ory Network

Additional Context

Also tried to go install the cli, but it fails since it has replace directive, doesn't matter for the bug at hand though

karitham avatar Jun 14 '23 18:06 karitham

I have unfortunately no idea what the problem could be here. But it might be related to go cross compiling or some Nix specific CGO issue. Try running the Ory CLI commands in a Docker container, that should work!

aeneasr avatar Jun 19 '23 07:06 aeneasr