JuliaLang/julia

tril on sparse matrix causes stack overflow in 0.2.1

dpo opened this issue · 5 comments

dpo commented

The following just bit me:

julia> X = sprand(5, 5, .5);
julia> tril(X);
julia> tril(X, -1);
ERROR: stack overflow
 in tril at linalg/sparse.jl:205 (repeats 80000 times)

OSX 10.8.5, Julia 0.2.1 built from Homebrew. This seems to have been fixed between 0.2.1 and the current HEAD (Version 0.3.0-rc1+309 (2014-08-02 17:02 UTC).

Thanks for the report, but since we are already in the 0.3 release process, there seems little point in backporting the fix to 0.2.x now.

dpo commented

Of course. Just thought it would be useful to report.

dpo commented

I'm not sure you want to close this until another stable release is available. For now, users are grabbing 0.2.1.

Our policy is to close issues when they are fixed, not when a stable release is out containing the fix.

The issue report is still useful as someone else might run into this and can find out it is reported and fixed.