# Fatal error with freshly installed Julia 1.2 on MacOS

**URL:** <https://discourse.julialang.org/t/fatal-error-with-freshly-installed-julia-1-2-on-macos/29178>\
**Category:** General Usage\
**Tags:** question, error\
**Created:** [September 25, 2019, 11:04pm UTC](https://discourse.julialang.org/t/fatal-error-with-freshly-installed-julia-1-2-on-macos/29178 "2019-09-25T23:04:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![CameronBieganek](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cameronbieganek/32/6915_2.png) [@CameronBieganek](https://discourse.julialang.org/u/CameronBieganek)\
**Post date:** [September 25, 2019, 11:04pm UTC](https://discourse.julialang.org/t/fatal-error-with-freshly-installed-julia-1-2-on-macos/29178/1 "2019-09-25T23:04:01Z")

</div>

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

```julia
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`:

```julia
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.

---

<div class="post-metadata">

**Author:** ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)\
**Post date:** [September 26, 2019, 6:08am UTC](https://discourse.julialang.org/t/fatal-error-with-freshly-installed-julia-1-2-on-macos/29178/2 "2019-09-26T06:08:37Z")

</div>

I think you need to first:

```julia
sudo rm /usr/local/bin/julia

```

[https://unix.stackexchange.com/questions/207294/create-symlink-overwrite-if-one-exists](https://unix.stackexchange.com/questions/207294/create-symlink-overwrite-if-one-exists)

---

<div class="post-metadata">

**Author:** ![CameronBieganek](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cameronbieganek/32/6915_2.png) [@CameronBieganek](https://discourse.julialang.org/u/CameronBieganek)\
**Post date:** [September 26, 2019, 2:34pm UTC](https://discourse.julialang.org/t/fatal-error-with-freshly-installed-julia-1-2-on-macos/29178/3 "2019-09-26T14:34:29Z")

</div>

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:

```julia
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.

---

<div class="post-metadata">

**Author:** ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Post date:** [September 26, 2019, 2:45pm UTC](https://discourse.julialang.org/t/fatal-error-with-freshly-installed-julia-1-2-on-macos/29178/4 "2019-09-26T14:45:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ianfiske](https://avatars.discourse-cdn.com/v4/letter/i/58f4c7/32.png) [@ianfiske](https://discourse.julialang.org/u/ianfiske)\
**Post date:** [September 26, 2019, 2:48pm UTC](https://discourse.julialang.org/t/fatal-error-with-freshly-installed-julia-1-2-on-macos/29178/5 "2019-09-26T14:48:11Z")

</div>

Or Cylance? [https://github.com/JuliaLang/julia/issues/30935](https://github.com/JuliaLang/julia/issues/30935)

---

<div class="post-metadata">

**Author:** ![CameronBieganek](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cameronbieganek/32/6915_2.png) [@CameronBieganek](https://discourse.julialang.org/u/CameronBieganek)\
**Post date:** [September 26, 2019, 3:17pm UTC](https://discourse.julialang.org/t/fatal-error-with-freshly-installed-julia-1-2-on-macos/29178/6 "2019-09-26T15:17:43Z")

</div>

> [@ianfiske](#):
>
> Or Cylance?

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