Skip to content

Test error #36

Description

@Cody-G

I'm getting this test error in Julia 0.5. I also tried starting from a fresh empty package directory and still get the same error.

ERROR: LoadError: LoadError: BoundsError: attempt to access 6-element UnitRange{Int64} at index [-2:13]
 in throw_boundserror(::UnitRange{Int64}, ::Tuple{UnitRange{Int64}}) at ./abstractarray.jl:355
 in checkbounds at ./abstractarray.jl:284 [inlined]
 in getindex at ./range.jl:504 [inlined]
 in unsafe_reindex at /home/cody/.julia/v0.5/BlockRegistration/src/RegisterMismatchCommon.jl:437 [inlined]
 in extraunsafe_view at /home/cody/.julia/v0.5/BlockRegistration/src/RegisterMismatchCommon.jl:433 [inlined]
 in safe_get!(::Array{Float64,2}, ::SubArray{Float64,2,Array{Float64,2},Tuple{UnitRange{Int64},UnitRange{Int64}},false}, ::Tuple{UnitRange{Int64},UnitRange{Int64}}, ::Float64) at /home/cody/.julia/v0.5/BlockRegistration/src/RegisterMismatchCommon.jl:387
 in #mismatch!#33(::Symbol, ::Function, ::CenterIndexedArrays.CenterIndexedArray{RegisterCore.NumDenom{Float64},2,Array{RegisterCore.NumDenom{Float64},2}}, ::RegisterMismatch.CMStorage{Float64,2}, ::SubArray{Float64,2,Array{Float64,2},Tuple{UnitRange{Int64},UnitRange{Int64}},false}) at /home/cody/.julia/v0.5/BlockRegistration/src/RegisterMismatch.jl:136
 in (::RegisterMismatch.#kw##mismatch!)(::Array{Any,1}, ::RegisterMismatch.#mismatch!, ::CenterIndexedArrays.CenterIndexedArray{RegisterCore.NumDenom{Float64},2,Array{RegisterCore.NumDenom{Float64},2}}, ::RegisterMismatch.CMStorage{Float64,2}, ::SubArray{Float64,2,Array{Float64,2},Tuple{UnitRange{Int64},UnitRange{Int64}},false}) at ./<missing>:0
 in #mismatch_apertures!#35(::Symbol, ::Function, ::Array{CenterIndexedArrays.CenterIndexedArray{RegisterCore.NumDenom{Float64},2,Array{RegisterCore.NumDenom{Float64},2}},2}, ::Array{Float64,2}, ::Array{Float64,2}, ::Array{Tuple{Float64,Float64},2}, ::RegisterMismatch.CMStorage{Float64,2}) at /home/cody/.julia/v0.5/BlockRegistration/src/RegisterMismatch.jl:230
 in (::RegisterMismatch.#kw##mismatch_apertures!)(::Array{Any,1}, ::RegisterMismatch.#mismatch_apertures!, ::Array{CenterIndexedArrays.CenterIndexedArray{RegisterCore.NumDenom{Float64},2,Array{RegisterCore.NumDenom{Float64},2}},2}, ::Array{Float64,2}, ::Array{Float64,2}, ::Array{Tuple{Float64,Float64},2}, ::RegisterMismatch.CMStorage{Float64,2}) at ./<missing>:0
 in #mismatch_apertures#34(::Symbol, ::UInt32, ::Array{Any,1}, ::Function, ::Type{Float64}, ::Array{Float64,2}, ::Array{Float64,2}, ::Array{Tuple{Float64,Float64},2}, ::Tuple{Float64,Float64}, ::Tuple{Int64,Int64}) at /home/cody/.julia/v0.5/BlockRegistration/src/RegisterMismatch.jl:207
 in (::RegisterMismatch.#kw##mismatch_apertures)(::Array{Any,1}, ::RegisterMismatch.#mismatch_apertures, ::Type{Float64}, ::Array{Float64,2}, ::Array{Float64,2}, ::Array{Tuple{Float64,Float64},2}, ::Tuple{Float64,Float64}, ::Tuple{Int64,Int64}) at ./<missing>:0
 in #mismatch_apertures#5(::Array{Any,1}, ::Function, ::Type{Float64}, ::Array{Float64,2}, ::Array{Float64,2}, ::Tuple{Int64,Int64}, ::Tuple{Int64,Int64}) at /home/cody/.julia/v0.5/BlockRegistration/src/RegisterMismatchCommon.jl:20
 in (::RegisterMismatch.#kw##mismatch_apertures)(::Array{Any,1}, ::RegisterMismatch.#mismatch_apertures, ::Type{Float64}, ::Array{Float64,2}, ::Array{Float64,2}, ::Tuple{Int64,Int64}, ::Tuple{Int64,Int64}) at ./<missing>:0
 in #mismatch_apertures#3(::Array{Any,1}, ::Function, ::Array{Float64,2}, ::Array{Float64,2}, ::Tuple{Int64,Int64}, ::Vararg{Tuple{Int64,Int64},N}) at /home/cody/.julia/v0.5/BlockRegistration/src/RegisterMismatchCommon.jl:13
 in (::RegisterMismatch.#kw##mismatch_apertures)(::Array{Any,1}, ::RegisterMismatch.#mismatch_apertures, ::Array{Float64,2}, ::Array{Float64,2}, ::Tuple{Int64,Int64}, ::Tuple{Int64,Int64}) at ./<missing>:0
 in include_from_node1(::String) at ./loading.jl:488
 in runtest(::String) at /home/cody/.julia/v0.5/BlockRegistration/test/runtests.jl:6
 in include_from_node1(::String) at ./loading.jl:488
 in process_options(::Base.JLOptions) at ./client.jl:262
 in _start() at ./client.jl:318
while loading /home/cody/.julia/v0.5/BlockRegistration/test/register_mismatch.jl, in expression starting on line 104
while loading /home/cody/.julia/v0.5/BlockRegistration/test/runtests.jl, in expression starting on line 17
WARNING: Forcibly interrupting busy workers
WARNING: rmprocs: process 1 not removed
=========================================================[ ERROR: BlockRegistration ]==========================================================

failed process: Process(`/home/cody/git/julia/usr/bin/julia -Cnative -J/home/cody/git/julia/usr/lib/julia/sys.so --compile=yes --depwarn=yes --check-bounds=yes --code-coverage=none --color=yes --compilecache=yes /home/cody/.julia/v0.5/BlockRegistration/test/runtests.jl`, ProcessExited(1)) [1]

===============================================================================================================================================
ERROR: BlockRegistration had test errors
 in #test#61(::Bool, ::Function, ::Array{AbstractString,1}) at ./pkg/entry.jl:740
 in (::Base.Pkg.Entry.#kw##test)(::Array{Any,1}, ::Base.Pkg.Entry.#test, ::Array{AbstractString,1}) at ./<missing>:0
 in (::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}})() at ./pkg/dir.jl:31
 in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}}, ::String) at ./file.jl:59
 in #cd#1(::Array{Any,1}, ::Function, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at ./pkg/dir.jl:31
 in (::Base.Pkg.Dir.#kw##cd)(::Array{Any,1}, ::Base.Pkg.Dir.#cd, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at ./<missing>:0
 in #test#3(::Bool, ::Function, ::String, ::Vararg{String,N}) at ./pkg/pkg.jl:258
 in test(::String, ::Vararg{String,N}) at ./pkg/pkg.jl:258

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions