I have a problem that is difficult to diagnose. I generated a sparse matrix and a vector, all the elements are allocated, if I run the function step by step in VS Code everything seems to work fine, but when I just run Julia crashes leaving behind the message in the image (I had to screenshoot it because it disappears as soon as Julia crashes)
The operation is a simple
A\b between a Sparse ComplexF64 non singular tridiagonal matrix A and a nonzero complex vector b
It seems to be a problem with the SuiteSparse, but I don’t understand it
in expression starting at none:1
__fu1133_SuiteSparse_config at C:\Users\menar\AppData\Local\Programs\Julia-1.8.1\bin\libumfpack.DLL (unknown line)
.text at C:\Users\menar\AppData\Local\Programs\Julia-1.8.1\bin\libumfpack.DLL (unknown line)
.text at C:\Users\menar\AppData\Local\Programs\Julia-1.8.1\bin\libumfpack.DLL (unknown line)
umfpack_zl_numeric at C:\Users\menar\AppData\Local\Programs\Julia-1.8.1\bin\libumfpack.DLL (unknown line)
umfpack_zl_numeric at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.8\SuiteSparse\lib\x86_64-w64-mingw32.jl:1760 #umfpack_numeric!#15 at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.8\SuiteSparse\src\umfpack.jl:398
umfpack_numeric! at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.8\SuiteSparse\src\umfpack.jl:394 [inlined] #lu#1 at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.8\SuiteSparse\src\umfpack.jl:202
lu at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.8\SuiteSparse\src\umfpack.jl:195 [inlined]
\ at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.8\SparseArrays\src\linalg.jl:1564
unknown function (ip: 000000014f313a04)
jl_apply at /cygdrive/c/buildbot/worker/package_win64/build/src\julia.h:1838 [inlined]
do_call at /cygdrive/c/buildbot/worker/package_win64/build/src\interpreter.c:126
eval_value at /cygdrive/c/buildbot/worker/package_win64/build/src\interpreter.c:215
eval_body at /cygdrive/c/buildbot/worker/package_win64/build/src\interpreter.c:467
jl_interpret_toplevel_thunk at /cygdrive/c/buildbot/worker/package_win64/build/src\interpreter.c:750
jl_toplevel_eval_flex at /cygdrive/c/buildbot/worker/package_win64/build/src\toplevel.c:906
ijl_toplevel_eval at /cygdrive/c/buildbot/worker/package_win64/build/src\toplevel.c:915 [inlined]
ijl_toplevel_eval_in at /cygdrive/c/buildbot/worker/package_win64/build/src\toplevel.c:965
eval at .\boot.jl:368 [inlined]
eval_code at c:\Users\menar.vscode\extensions\julialang.language-julia-1.45.1\scripts\packages\JuliaInterpreter\src\utils.jl:685
eval_code at c:\Users\menar.vscode\extensions\julialang.language-julia-1.45.1\scripts\packages\JuliaInterpreter\src\utils.jl:658
evaluate_request at c:\Users\menar.vscode\extensions\julialang.language-julia-1.45.1\scripts\packages\DebugAdapter\src\debugger_requests.jl:1006 #137 at c:\Users\menar.vscode\extensions\julialang.language-julia-1.45.1\scripts\packages\DebugAdapter\src\packagedef.jl:64
unknown function (ip: 000000014f2ed4ff)
dispatch_msg at c:\Users\menar.vscode\extensions\julialang.language-julia-1.45.1\scripts\packages\JSONRPC\src\typed.jl:67
macro expansion at c:\Users\menar.vscode\extensions\julialang.language-julia-1.45.1\scripts\packages\DebugAdapter\src\packagedef.jl:76 [inlined] #146 at .\task.jl:484
unknown function (ip: 000000005f51d7f3)
jl_apply at /cygdrive/c/buildbot/worker/package_win64/build/src\julia.h:1838 [inlined]
start_task at /cygdrive/c/buildbot/worker/package_win64/build/src\task.c:931
Allocations: 7417916270 (Pool: 7417843066; Big: 73204); GC: 173
I don’t think so… usually it gives me out of memory as an error, plus the matrices are relatively small (I made a domain decomposition implementation).
The other thing that is frustrating is that if the code crash there it’s done but otherwise it works like a charm and I do not understant how or why. Everything is deterministic up to that point in the code