# \#crash

**URL:** https://discourse.julialang.org/tag/crash/748.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Julia Language Server crashes in VSCode after update to VSCode 1.115.0](https://discourse.julialang.org/t/julia-language-server-crashes-in-vscode-after-update-to-vscode-1-115-0/136703)

<div class="topic-metadata">

**Author:** [@tdm](https://discourse.julialang.org/u/tdm)\
**Replies:** 2\
**Last updated:** [April 14, 2026, 1:01am UTC](https://discourse.julialang.org/t/julia-language-server-crashes-in-vscode-after-update-to-vscode-1-115-0/136703 "2026-04-14T01:01:38Z")

</div>

I didn’t make any changes myself, this just happened after an auto update. JLS is trying to parse my code and crashes continuously. This is on Windows 10 Pro. I am running Julia 1.12.5+0.x64.w64.mingw32 Any suggestio…

---

## [How to debug a silent crash?](https://discourse.julialang.org/t/how-to-debug-a-silent-crash/136383)

<div class="topic-metadata">

**Author:** [@AwesomeQuest](https://discourse.julialang.org/u/AwesomeQuest)\
**Replies:** 8\
**Last updated:** [March 31, 2026, 3:35pm UTC](https://discourse.julialang.org/t/how-to-debug-a-silent-crash/136383 "2026-03-31T15:35:07Z")

</div>

I’m writing a script which calls a C library and the program is just stopping prematurely with no output. How do I debug this? A little context: I’m passing a Julia function as a callback to the SimpleBLE C library th…

---

## [REPL crashes upon completion](https://discourse.julialang.org/t/repl-crashes-upon-completion/134278)

<div class="topic-metadata">

**Author:** [@zweiglimmergneis](https://discourse.julialang.org/u/zweiglimmergneis)\
**Replies:** 1\
**Last updated:** [December 2, 2025, 9:31am UTC](https://discourse.julialang.org/t/repl-crashes-upon-completion/134278 "2025-12-02T09:31:50Z")

</div>

Create a struct, then define eltype for it, (see docs for the Iteration interface). Type Col in the REPL and press the TAB key, and the REPL will crash. This problem arises if eltype is defined. (full stacktrace). It oc…

---

## [Stackoverflow when loading PythonPlot](https://discourse.julialang.org/t/stackoverflow-when-loading-pythonplot/133928)

<div class="topic-metadata">

**Author:** [@maltee1](https://discourse.julialang.org/u/maltee1)\
**Replies:** 3\
**Last updated:** [November 17, 2025, 5:02pm UTC](https://discourse.julialang.org/t/stackoverflow-when-loading-pythonplot/133928 "2025-11-17T17:02:53Z")

</div>

This seems to be a python problem, but I’ve often had problems with python that could be solved simply be deleting and re-installing the corresponding packages. So I’m thinking this might be related to how Julia uses pyt…

---

## [Julia crashed when using Gurobi](https://discourse.julialang.org/t/julia-crashed-when-using-gurobi/131402)

<div class="topic-metadata">

**Author:** [@Z\_M](https://discourse.julialang.org/u/Z_M)\
**Replies:** 3\
**Last updated:** [August 6, 2025, 11:45pm UTC](https://discourse.julialang.org/t/julia-crashed-when-using-gurobi/131402 "2025-08-06T23:45:12Z")

</div>

I used JuMP and use Gurobi. But julia crashed, and the log is as follows: Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks. Exception: EXCEPT…

---

## [Julia in VSCode occasionally crashes upon pressing ctrl+C](https://discourse.julialang.org/t/julia-in-vscode-occasionally-crashes-upon-pressing-ctrl-c/128580)

<div class="topic-metadata">

**Author:** [@JWMeer](https://discourse.julialang.org/u/JWMeer)\
**Replies:** 3\
**Last updated:** [April 30, 2025, 11:31pm UTC](https://discourse.julialang.org/t/julia-in-vscode-occasionally-crashes-upon-pressing-ctrl-c/128580 "2025-04-30T23:31:02Z")

</div>

Recently, I have repeatedly encountered a problem seemingly specific to Julia in VSCode. Occasionally, I will press ctrl+C just to get a clean REPL line (so not to cancel a running command), and Julia will simply crash.…

---

## [Don't understand why code runs out of memory and crashes](https://discourse.julialang.org/t/dont-understand-why-code-runs-out-of-memory-and-crashes/123559)

<div class="topic-metadata">

**Author:** [@Davide98888](https://discourse.julialang.org/u/Davide98888)\
**Replies:** 29\
**Last updated:** [December 27, 2024, 9:42pm UTC](https://discourse.julialang.org/t/dont-understand-why-code-runs-out-of-memory-and-crashes/123559 "2024-12-27T21:42:15Z")

</div>

Hello all We are having a fantastic experience with Julia, but then had a confusing experience. I am doing a simulation study, multithreaded, and eventually Julia runs out of memory and crashes. This happens especially …

---

## [Crash when tuning SVC with multithreading in MLJ.jl](https://discourse.julialang.org/t/crash-when-tuning-svc-with-multithreading-in-mlj-jl/122908)

<div class="topic-metadata">

**Author:** [@Yuan-Ru-Lin](https://discourse.julialang.org/u/Yuan-Ru-Lin)\
**Replies:** 4\
**Last updated:** [November 21, 2024, 10:11pm UTC](https://discourse.julialang.org/t/crash-when-tuning-svc-with-multithreading-in-mlj-jl/122908 "2024-11-21T22:11:41Z")

</div>

I have been trying to tune a set of hyper-parameters of a SVC. The SVC is from LIBSVM.jl. It works when I use only one thread, but crashes indeterministically with multiple threads. Not only did it may or may not crash,…

---

## [Julia regularly crashing when trying to use packages](https://discourse.julialang.org/t/julia-regularly-crashing-when-trying-to-use-packages/115829)

<div class="topic-metadata">

**Author:** [@DanielVandH](https://discourse.julialang.org/u/DanielVandH)\
**Replies:** 32\
**Last updated:** [September 11, 2024, 2:12pm UTC](https://discourse.julialang.org/t/julia-regularly-crashing-when-trying-to-use-packages/115829 "2024-09-11T14:12:44Z")

</div>

I originally thought this was a VSCode issue but it seems to just happen most times I try and use a package since I can reproduce this inside of a terminal. If I startup Julia and try and use a package, 90% of the time I…

---

## [How can I find out why julia crashed?](https://discourse.julialang.org/t/how-can-i-find-out-why-julia-crashed/118467)

<div class="topic-metadata">

**Author:** [@maxfreu](https://discourse.julialang.org/u/maxfreu)\
**Replies:** 14\
**Last updated:** [August 29, 2024, 7:47pm UTC](https://discourse.julialang.org/t/how-can-i-find-out-why-julia-crashed/118467 "2024-08-29T19:47:37Z")

</div>

Hi! I’m working with julia in vscode. A couple of times a day it crashes. By crashing I mean the julia repl closes and I’m dropped into the terminal. Sometimes I get a short glimpse of some error printout from the linux …

---

## [Weird problem: Symbolics crashes on first import then works on second](https://discourse.julialang.org/t/weird-problem-symbolics-crashes-on-first-import-then-works-on-second/118633)

<div class="topic-metadata">

**Author:** [@AronT](https://discourse.julialang.org/u/AronT)\
**Replies:** 4\
**Last updated:** [August 27, 2024, 2:39pm UTC](https://discourse.julialang.org/t/weird-problem-symbolics-crashes-on-first-import-then-works-on-second/118633 "2024-08-27T14:39:04Z")

</div>

I just start playing around with Symbolics. Great package! So I added it using pkg and now every time I enter the REPL and issue the command using Symbolics the first time round I get the stack trace below. And even thou…

---

## [Is this type-piracy, and is the resulting crash expected?](https://discourse.julialang.org/t/is-this-type-piracy-and-is-the-resulting-crash-expected/117914)

<div class="topic-metadata">

**Author:** [@cmarcotte](https://discourse.julialang.org/u/cmarcotte)\
**Replies:** 2\
**Last updated:** [August 7, 2024, 3:03pm UTC](https://discourse.julialang.org/t/is-this-type-piracy-and-is-the-resulting-crash-expected/117914 "2024-08-07T15:03:05Z")

</div>

Hello, In a temp session, if I import Base.∈ and extend it with ∈(A,Interval) = (minimum(Interval) \<= A \<= maximum(Interval)) attempting to tab-complete the line -1.0 \\in causes the session to crash (versioninfo() and…

---

## [Crash: illegal instruction 4, StackOverflowError, or freeze](https://discourse.julialang.org/t/crash-illegal-instruction-4-stackoverflowerror-or-freeze/116754)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 5\
**Last updated:** [July 9, 2024, 4:39am UTC](https://discourse.julialang.org/t/crash-illegal-instruction-4-stackoverflowerror-or-freeze/116754 "2024-07-09T04:39:37Z")

</div>

\[Edit 2: I’ve just posted a small program that reproduces this error in a separate message below.\] Can someone give me advice as to how to proceed when Julia crashes? At first, I got the following error \[8865\] signal…

---

## [VSCode debug crash with 1.10.2](https://discourse.julialang.org/t/vscode-debug-crash-with-1-10-2/111501)

<div class="topic-metadata">

**Author:** [@chaojin](https://discourse.julialang.org/u/chaojin)\
**Replies:** 5\
**Last updated:** [May 1, 2024, 6:35am UTC](https://discourse.julialang.org/t/vscode-debug-crash-with-1-10-2/111501 "2024-05-01T06:35:35Z")

</div>

HI, I just upgrade to 1.10.2 and hit crash which is more like VSCode tools crash when I run nd debug my old code. To rule out my code error, I just create a simple test.jl like below println("This is test1") println("T…

---

## [Julia random segmentation failure](https://discourse.julialang.org/t/julia-random-segmentation-failure/112934)

<div class="topic-metadata">

**Author:** [@ttx002000](https://discourse.julialang.org/u/ttx002000)\
**Replies:** 11\
**Last updated:** [April 15, 2024, 6:49pm UTC](https://discourse.julialang.org/t/julia-random-segmentation-failure/112934 "2024-04-15T18:49:03Z")

</div>

I am running my codes on my university server. Typically I run a few random initial conditions on the same set of parameters. However, some of these scripts run through, while some of them run for a while and failed su…

---

## [Julia crashing with jfptr\_task\_done\_hook\_75249.1](https://discourse.julialang.org/t/julia-crashing-with-jfptr-task-done-hook-75249-1/108676)

<div class="topic-metadata">

**Author:** [@eveningsilverfox](https://discourse.julialang.org/u/eveningsilverfox)\
**Replies:** 1\
**Last updated:** [January 11, 2024, 11:35am UTC](https://discourse.julialang.org/t/julia-crashing-with-jfptr-task-done-hook-75249-1/108676 "2024-01-11T11:35:54Z")

</div>

My julia code is crashing with the following error. RAM usage stays at a low value throughout, around 6/64GB. jfptr\_task\_done\_hook\_75249.1 at /home/aritra/julia-1.10.0/lib/julia/sys.so (unknown line) \_jl\_invoke at /cac…

---

## [Recursive loop of callbacks in signal connect method of Gtk4 widgets](https://discourse.julialang.org/t/recursive-loop-of-callbacks-in-signal-connect-method-of-gtk4-widgets/107274)

<div class="topic-metadata">

**Author:** [@apurvdarji](https://discourse.julialang.org/u/apurvdarji)\
**Replies:** 1\
**Last updated:** [December 7, 2023, 2:53pm UTC](https://discourse.julialang.org/t/recursive-loop-of-callbacks-in-signal-connect-method-of-gtk4-widgets/107274 "2023-12-07T14:53:25Z")

</div>

I am trying to do bi-directional binding of two textboxes which are GtkEntry widgets from Gtk4.jl. The two textboxes should have the same text. I am using signal connect handlers on change events to achieve that. But it …

---

## [Difference between \`for ... end\` and \`\[... for ...\]\`?](https://discourse.julialang.org/t/difference-between-for-end-and-for/106965)

<div class="topic-metadata">

**Author:** [@nabla](https://discourse.julialang.org/u/nabla)\
**Replies:** 6\
**Last updated:** [December 1, 2023, 9:12pm UTC](https://discourse.julialang.org/t/difference-between-for-end-and-for/106965 "2023-12-01T21:12:28Z")

</div>

I encounter a very strange bug when calling an external library (say a function foo) with the two syntaxes in the title: julia\> data = Any\[\]; for \_=1:10000 push!(data,foo()) end # OK julia\> data = \[foo() for \_=1:10000\] …

---

## [Julia just... vanished in the middle of the night during a large task. Help troubleshooting/optimising would be appreciated](https://discourse.julialang.org/t/julia-just-vanished-in-the-middle-of-the-night-during-a-large-task-help-troubleshooting-optimising-would-be-appreciated/103834)

<div class="topic-metadata">

**Author:** [@MaxM](https://discourse.julialang.org/u/MaxM)\
**Replies:** 15\
**Last updated:** [September 14, 2023, 1:07pm UTC](https://discourse.julialang.org/t/julia-just-vanished-in-the-middle-of-the-night-during-a-large-task-help-troubleshooting-optimising-would-be-appreciated/103834 "2023-09-14T13:07:21Z")

</div>

I have quite a large task to run and in doing so I’ve encountered unfortunate issues. Below there are two blocks of code, one with a bunch of for loops (attempt 1), the other using functions (attempt 2). I’m running thes…

---

## [Julia.exe just disappeared, when packages were installing](https://discourse.julialang.org/t/julia-exe-just-disappeared-when-packages-were-installing/75387)

<div class="topic-metadata">

**Author:** [@BMval](https://discourse.julialang.org/u/BMval)\
**Replies:** 8\
**Last updated:** [May 18, 2023, 3:33am UTC](https://discourse.julialang.org/t/julia-exe-just-disappeared-when-packages-were-installing/75387 "2023-05-18T03:33:34Z")

</div>

I’ve got a new laptop from the university. (win10) I’ve installed Julia. (ver 1.7.1) Open in a terminal, it works. Using Pkg; Pkg.update(); - it works. (there is no packages) Pkg.add(“DataFrames”) - started to instal p…

---

## [Best practice for dealing with "Killed" of Julia exits](https://discourse.julialang.org/t/best-practice-for-dealing-with-killed-of-julia-exits/95745)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 16\
**Last updated:** [March 9, 2023, 3:12pm UTC](https://discourse.julialang.org/t/best-practice-for-dealing-with-killed-of-julia-exits/95745 "2023-03-09T15:12:14Z")

</div>

Sometimes when I run a Julia script in the terminal, e.g. julia my\_script.jl the program will exit with a simple Killed message, e.g: Presumably, this is because I ran something very heavy and this just crashed stuff.…

---

## [Julia 1.8.\* & VSCode & Ryzen CPU & Windows 10 64bit --\> crash](https://discourse.julialang.org/t/julia-1-8-vscode-ryzen-cpu-windows-10-64bit-crash/87283)

<div class="topic-metadata">

**Author:** [@rryi](https://discourse.julialang.org/u/rryi)\
**Replies:** 5\
**Last updated:** [October 2, 2022, 6:59pm UTC](https://discourse.julialang.org/t/julia-1-8-vscode-ryzen-cpu-windows-10-64bit-crash/87283 "2022-10-02T18:59:12Z")

</div>

I used julia and VSCode with many julia versions without problems, but since julia 1.8.0, I get severe crashes when installing and starting the VSCode julia extension on windows PCs with an AMD Ryzen CPU… I verified it w…

---

## ["The connection to the terminal's pty host process is unresponsive, the terminals may stop working."](https://discourse.julialang.org/t/the-connection-to-the-terminals-pty-host-process-is-unresponsive-the-terminals-may-stop-working/85741)

<div class="topic-metadata">

**Author:** [@bremez](https://discourse.julialang.org/u/bremez)\
**Replies:** 1\
**Last updated:** [August 14, 2022, 7:56pm UTC](https://discourse.julialang.org/t/the-connection-to-the-terminals-pty-host-process-is-unresponsive-the-terminals-may-stop-working/85741 "2022-08-14T19:56:00Z")

</div>

I’ve been using VSCode for a few months. Today I started receiving the following error: The connection to the terminal's pty host process is unresponsive, the terminals may stop working. At which point, the REPL become…

---

## [How to diagnose a terminal crash?](https://discourse.julialang.org/t/how-to-diagnose-a-terminal-crash/78128)

<div class="topic-metadata">

**Author:** [@SortofDamocles](https://discourse.julialang.org/u/SortofDamocles)\
**Replies:** 21\
**Last updated:** [July 13, 2022, 2:50am UTC](https://discourse.julialang.org/t/how-to-diagnose-a-terminal-crash/78128 "2022-07-13T02:50:08Z")

</div>

I am getting unpredictable and non-reproducible terminal crashes in Julia 1.7, both within VSCode and also from the command line using PowerShell on Windows 11, and I don’t know how to diagnose the root issue. I’m sorry …

---

## [Deserialization error (StackOverflow) crashes Julia and can not be caught](https://discourse.julialang.org/t/deserialization-error-stackoverflow-crashes-julia-and-can-not-be-caught/65748)

<div class="topic-metadata">

**Author:** [@essenciary](https://discourse.julialang.org/u/essenciary)\
**Replies:** 0\
**Last updated:** [August 3, 2021, 1:26pm UTC](https://discourse.julialang.org/t/deserialization-error-stackoverflow-crashes-julia-and-can-not-be-caught/65748 "2021-08-03T13:26:28Z")

</div>

I have the following function which retrieves the content of a cache stored as a serialized Julia object: """ fromcache(key::Any, expiration::Int; dir::String = "") :: Union{Nothing,Any} Retrieves from cache the ob…
