-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inline=no causes bizarre BoundsError, which leads to crashes #12059
Comments
In the meantime, I managed to work around the bug by making sure Base.convert returns the same instance when the type is not changed. |
Actually, I believe the issue is --inline=no |
Is this relevant any more? @dlfivefifty on your current development branch, the second-to-last line of your example gives |
I can't replicate it anymore (I should have made a branch at the time), so let's close the issue. |
The code below causes the following incorrect
BoundsError
ERROR: BoundsError: attempt to access 2-element Array{ApproxFun.BandedOperator{Float64},1}: #undef #undef at index [4624888864] in setindex! at array.jl:324 in eval at REPL.jl:3
only when julia 0.4 is called with
code-coverage=user
, i.e.I apologize that I haven't been able to narrow down the bug, though I think it is related to
Base.convert
overrides determining type incorrectly, see the now resolved issue #11874. I am posting the issue now, while I try to come up with a simpler example, in case the fact that code-coverage is triggering it makes it clear what the fix needed is.The text was updated successfully, but these errors were encountered: