Fatal error with freshly installed Julia 1.2 on MacOS

I just installed Julia 1.2 on my MacBook Pro, but it keeps crashing:

cbieganek@spmacpro90:~$ julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.2.0 (2019-08-20)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> VERSION
fatal: error thrown and no exception handler available.
ReadOnlyMemoryError()
_platform_memmove$VARIANT$Haswell at /usr/lib/system/libsystem_platform.dylib (unknown line)

I installed by using the .dmg file (i.e. dragging the Julia-1.2.app into Applications), and then I created a symlink in /usr/local/bin:

sudo ln -s /Applications/Julia-1.2.app/Contents/Resources/julia/bin/julia /usr/local/bin/julia

This is the exact same procedure that I used to install Julia 1.1 with no issues. Does anyone have any idea what might be causing this?

EDIT: I actually ran rm /usr/local/bin/julia before I created the new symlink to the Julia 1.2 binary, so that’s not the problem.

I think you need to first:

sudo rm /usr/local/bin/julia
1 Like

I don’t think that’s it. I did rm /usr/local/bin/julia before I created the new symlink for Julia 1.2. The only difference is that I didn’t use sudo when I used rm.

In fact, if I directly run the julia binary from within the Julia-1.2.app, I get the same problem:

cbieganek@spmacpro90:/Applications/Julia-1.2.app/Contents/Resources/julia/bin$ ./julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.2.0 (2019-08-20)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> VERSION
fatal: error thrown and no exception handler available.
ReadOnlyMemoryError()
_platform_memmove$VARIANT$Haswell at /usr/lib/system/libsystem_platform.dylib (unknown line)

I’ll try downloading Julia 1.2 again… Maybe the download was corrupted??

EDIT: Re-downloading the app did not fix it. I’m still getting the same fatal error.

Are you on the mac pro with this crazy xeon cpu?
There is this problem: https://github.com/JuliaLang/julia/issues/29652
Maybe it’s something similar…

Or Cylance? https://github.com/JuliaLang/julia/issues/30935

Yep, looks like Cylance is the problem. Thanks, @ianfiske !