# Julia exits when I import Plots package in Atom

**URL:** <https://discourse.julialang.org/t/julia-exits-when-i-import-plots-package-in-atom/36459>\
**Category:** New to Julia\
**Tags:** question, plotting\
**Created:** [March 24, 2020, 6:30pm UTC](https://discourse.julialang.org/t/julia-exits-when-i-import-plots-package-in-atom/36459 "2020-03-24T18:30:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![toluboltz](https://avatars.discourse-cdn.com/v4/letter/t/d26b3c/32.png) [@toluboltz](https://discourse.julialang.org/u/toluboltz)\
**Post date:** [March 24, 2020, 6:30pm UTC](https://discourse.julialang.org/t/julia-exits-when-i-import-plots-package-in-atom/36459/1 "2020-03-24T18:30:58Z")

</div>

Hello,

Julia exits in atom’s REPL when I type in “using Plots” and prints out the following error:

signal (11): Segmentation fault: 11  
in expression starting at no file:0  
\_platform\_strcmp at /usr/lib/system/libsystem\_platform.dylib (unknown line)  
Allocations: 71808137 (Pool: 71791494; Big: 16643); GC: 154  
Julia has exited.

The same happens if I run any scripts that include “using Plots” in atom. When I run the script in my terminal, it takes an unusually long time and still shows no plots. Although, if I start Julia from the terminal and run a simple plot in the interactive shell, it plots fine.

I also tried it in nteract’s notebook and the plots work just fine.

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [March 25, 2020, 8:49am UTC](https://discourse.julialang.org/t/julia-exits-when-i-import-plots-package-in-atom/36459/2 "2020-03-25T08:49:36Z")

</div>

What versions of Julia and Plots are you using? What system are you on?

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [March 25, 2020, 9:17am UTC](https://discourse.julialang.org/t/julia-exits-when-i-import-plots-package-in-atom/36459/3 "2020-03-25T09:17:08Z")

</div>

In case you are on Julia 1.0.x: This is a known and very unfortunate bug that I have no idea how to debug. I’d recommend upgrading to a newer Julia version if you can.

---

<div class="post-metadata">

**Author:** ![toluboltz](https://avatars.discourse-cdn.com/v4/letter/t/d26b3c/32.png) [@toluboltz](https://discourse.julialang.org/u/toluboltz)\
**Post date:** [March 25, 2020, 9:27pm UTC](https://discourse.julialang.org/t/julia-exits-when-i-import-plots-package-in-atom/36459/4 "2020-03-25T21:27:20Z")

</div>

Upgraded to Julia 1.4 and everything is working fine now. Thank you.
