# AOT compiled hello.jl core dump

**URL:** <https://discourse.julialang.org/t/aot-compiled-hello-jl-core-dump/19318>\
**Category:** General Usage\
**Created:** [January 6, 2019, 6:51am UTC](https://discourse.julialang.org/t/aot-compiled-hello-jl-core-dump/19318 "2019-01-06T06:51:14Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![ImreSamu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/imresamu/32/20677_2.png) [@ImreSamu](https://discourse.julialang.org/u/ImreSamu)\
**Post date:** [January 8, 2019, 12:06pm UTC](https://discourse.julialang.org/t/aot-compiled-hello-jl-core-dump/19318/19 "2019-01-08T12:06:04Z")

</div>

> [@LeoK987](#):
>
> but I don’t understand why it works for @ImreSamu’s setup.

What we know: On clean (Manjaro) Docker environment - it is working.  
Question: What is the differences?

- only you can find this - because I can’t replicate the error

Some hint:

- Can you replicate your error in (Manjaro) Docker environment? ( add julia files, settings, .bashrc )
- Testing PackageCompiler is OK ? ( `pkg> test PackageCompiler` )
- What is the result of :
  - `# export | grep -i julia`
  - `# set | grep -i julia`

- What is your full $PATH?
  - `# echo $PATH`

If you don’t see any problems - try cleaning your environment:

- backup !!!
- remove ~/.julia ; ~/.juliarc.jl
- remove **_all_** julia versions
- check no libjulia in your system:
  - `find / -name “libjulia\*”

- clean/verify environment variables, $PATH
- reinstall only Julia-v1.0.3
- add packages
- your testcase is working?

it can be a complex issue:

- JULIA\_BINDIR? ( [v1.0.0 segfaults on macOS X if JULIA\_BINDIR set wrongly · Issue #28636 · JuliaLang/julia · GitHub](https://github.com/JuliaLang/julia/issues/28636) )
- Multiple julia versions? ( [How to set path after running juliac.jl?](https://discourse.julialang.org/t/how-to-set-path-after-running-juliac-jl/14025) )
- bad cache somewhere ?
- LD\_LIBRARY\_PATH problems?
- some strange problems? ([https://github.com/JuliaLang/PackageCompiler.jl/search?q=hello&type=Issues](https://github.com/JuliaLang/PackageCompiler.jl/search?q=hello&type=Issues) )
- [Heisenbug - Wikipedia](https://en.wikipedia.org/wiki/Heisenbug) ??
- …

---

_[View the full topic](https://discourse.julialang.org/t/aot-compiled-hello-jl-core-dump/19318)._
