You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I accidentally came across these weird crashes that are kind of consistent. Surprisingly, This doesn't seem to be replicable on Linux.
MWE:
using LinearSolve, Random, LinearAlgebra
functionbuggy_solve(seed)
Random.seed!(seed)
n =4
m =4
a =randn(m,m)
c =randn(n,n)
b =randn(m*n)
A =kron(c, a)
linprob=LinearProblem(A, b)
println("checkpoint 1")
target =solve(linprob).u
println("checkpoint 2")
end
Threads.@threadsfor i in10:13buggy_solve(i)
end
when saved in weird-threads-bug.lj and ran with julia --threads auto weird-threads-bug.jl julia itself just crashes with a non-zero exit code.
or when run from a repl, I just find myself dropped back at the shell.
When run from julia as run(``) (or python) it reports 3221225477 exit code, which I guess is a translated version of the -1073741819 that CMD returns. Numerous search results point to that being 0xC0000005 in hex which stands for STATUS_ACCESS_VIOLATION
screenshot demonstration
![image](https://github.com/SciML/LinearSolve.jl/assets/17922991/314922e8-0866-4c73-9f93-d78edad999c2)
(first is a run with `--threads` demonstrating the crash and second is without and the script succeeds)
I've tested on linux on Julia v1.7.1 and I don't seem to be able to trigger it.
Unfortunately I can't test on Julia v1.9 on windows because of corporate policies (I don't have a windows machine but I can borrow one from a family member if needed)
I've no idea how to look into this further. This is not blocking or essential for me, just came across it by chance, so no need to feel urgency.
julia>versioninfo()
Julia Version 1.7.2
Commit bf53498635 (2022-02-0615:21 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU:12th Gen Intel(R) Core(TM) i7-1270P
WORD_SIZE:64
LIBM: libopenlibm
LLVM: libLLVM-12.0.1 (ORCJIT, goldmont)
(t2) pkg> status
Status `C:\Users\elom\test\t2\Project.toml`
[7ed4a6bd] LinearSolve v1.32.2
I accidentally came across these weird crashes that are kind of consistent. Surprisingly, This doesn't seem to be replicable on Linux.
MWE:
when saved in
weird-threads-bug.lj
and ran withjulia --threads auto weird-threads-bug.jl
julia itself just crashes with a non-zero exit code.or when run from a repl, I just find myself dropped back at the shell.
When run from julia as
run(``)
(or python) it reports3221225477
exit code, which I guess is a translated version of the-1073741819
that CMD returns. Numerous search results point to that being0xC0000005
in hex which stands forSTATUS_ACCESS_VIOLATION
screenshot demonstration
![image](https://github.com/SciML/LinearSolve.jl/assets/17922991/314922e8-0866-4c73-9f93-d78edad999c2) (first is a run with `--threads` demonstrating the crash and second is without and the script succeeds)I've tested on linux on Julia v1.7.1 and I don't seem to be able to trigger it.
Unfortunately I can't test on Julia v1.9 on windows because of corporate policies (I don't have a windows machine but I can borrow one from a family member if needed)
I've no idea how to look into this further. This is not blocking or essential for me, just came across it by chance, so no need to feel urgency.
results of `st --manifest`
The text was updated successfully, but these errors were encountered: