# Julia SEGFAULT debian

**URL:** <https://discourse.julialang.org/t/julia-segfault-debian/123682>\
**Category:** New to Julia\
**Created:** [December 10, 2024, 11:21pm UTC](https://discourse.julialang.org/t/julia-segfault-debian/123682 "2024-12-10T23:21:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexcu2718](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alexcu2718/32/214069_2.png) [@alexcu2718](https://discourse.julialang.org/u/alexcu2718)\
**Post date:** [December 10, 2024, 11:21pm UTC](https://discourse.julialang.org/t/julia-segfault-debian/123682/1 "2024-12-10T23:21:08Z")

</div>

Hi all,

This is a reissue of my issue from reddit:

I’ve been trying to learn Julia lately, originally I was getting along pretty well.

However, since I reinstalled my distro (switched from Ubuntu to Debian 12), I’ve not been able to even run Julia.

I’ve used the official juliaup install script as well as the cargo install for Juliaup. Each time I run Julia and invoke package mode, I am hit with a segfault each time.

Not to mention, often on Ubuntu I had numerous pc crashes(full crashes) when running Julia, often necessitating a hard power off.

When I get the segfaults, I usually try a previous Julia version, eg I’ve tried 1.11.2,1.11.1,1.11.0 and 1.10.7

I have made sure to remove all files in the respective Juliaup and Julia directories when reinstalling however I’ve come to no avail.

Trying to diagnose the segfault is hard because there’s no dump file I’m aware of.

If anyone can provide any assistance I’d be glad to know.

Thanks!

REDDIT POST:  
I have posted this on r/julia under ‘Julia constant segfault Debian’  
INCLUDES CONSOLE HISTORY/SCREENSHOTS

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [December 11, 2024, 12:33am UTC](https://discourse.julialang.org/t/julia-segfault-debian/123682/2 "2024-12-11T00:33:52Z")

</div>

Can you please share the code (no screenshots please) you’re trying to run when you get the segmentation fault, including the full error message? Also, [Please read: make it easier to help you](https://discourse.julialang.org/t/please-read-make-it-easier-to-help-you/14757), it’s really hard to say anything useful when very little information is provided.

---

<div class="post-metadata">

**Author:** ![g-gundam](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/g-gundam/32/47593_2.png) [@g-gundam](https://discourse.julialang.org/u/g-gundam)\
**Post date:** [December 11, 2024, 1:23am UTC](https://discourse.julialang.org/t/julia-segfault-debian/123682/3 "2024-12-11T01:23:35Z")

</div>

> [@alexcu2718](#):
>
> I have posted this on r/julia under ‘Julia constant segfault Debian’

You should have linked to the thread.

- [Julia constant segfault Debian : Julia](https://old.reddit.com/r/Julia/comments/1hazk9s/julia_constant_segfault_debian/)

---

<div class="post-metadata">

**Author:** ![g-gundam](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/g-gundam/32/47593_2.png) [@g-gundam](https://discourse.julialang.org/u/g-gundam)\
**Post date:** [December 11, 2024, 1:46am UTC](https://discourse.julialang.org/t/julia-segfault-debian/123682/4 "2024-12-11T01:46:16Z")

</div>

Whenever anything segfaults on me, one of the first things I reach for is **[strace](https://strace.io/)**.

- Run julia with strace.
- Do whatever it is you do to make it segfault.
- Then, look at the end of the error\_log to see where it died.

```bash
strace -o error_log julia

```

After it segfaults:

```bash
tail error_log

```

Maybe it gives you a clue, maybe it doesn’t, but it doesn’t hurt to try. If you can get your system to give you a core dump, looking at the dump with `gdb` might help too.
