livebook: Livebook Desktop does not launch - illegal hardware instruction

Environment

  • Elixir & Erlang/OTP versions (elixir --version):
Erlang/OTP 25 [erts-13.2] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit:ns] [dtrace]
Elixir 1.14.3 (compiled with Erlang/OTP 25)
  • Operating system: MacOS Monterey (12.6.3) on 2019 Intel hardware
  • How have you started Livebook (mix phx.server, livebook CLI, Docker, etc): Run desktop app
  • Livebook version (use git rev-parse HEAD if running with mix): 0.9.0 (just released, I think)
  • Browsers that reproduce this bug (the more the merrier):
  • Include what is logged in the browser console:
  • Include what is logged to the server console: When running the desktop app startup script found at Livebook.app/Contents/MacOS/Livebook, the following error message prints:
ElixirKit/ElixirKit.swift:83: Fatal error: waited for connection for more than 5s
[1]    18694 illegal hardware instruction  ./Livebook --version

Current behavior

Does not launch

Expected behavior

Launches the app

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 1
  • Comments: 24 (14 by maintainers)

Most upvoted comments

@adamu that’s a macOS issue because as far as we know macOS likes to change your machine host names by itself and sometimes it sets them in an invalid way.

I will close this one for now. If anyone else is running into invalid hardware instructions, please ping this thread and we will reopen. If you are running into other issues, please feel free to open a new thread. 😃

if Livebook fails to boot, do we report it to the user as before?

@josevalim that’s exactly the culprit. Due to a bug we do not.

I was able to reproduce this locally. Thanks everyone for helping to narrow this down.