Skip to content

ArrayInterface 3.1.7 causes sum to freeze on array with missings #142

@cstjean

Description

@cstjean

On Julia 1.5.4 (and 1.5.2)

(@v1.5) pkg> add Feather, ArrayInterface@3.1.7

julia> using ArrayInterface, Feather
[ Info: Precompiling Feather [becb17da-46f6-5d3c-ad1b-1c5fe96bc73c]

julia> U2 = Matrix{Union{Missing, Float32}}(undef, 10, 10);

julia> my_sum(values::AbstractMatrix) = dropdims(sum(values, dims=2), dims=2)
my_sum (generic function with 1 method)

julia> my_sum(U2)
^C^C^C^C^C^C^C^CWARNING: Force throwing a SIGINT
^C^C^C^C^C^C^C^CWARNING: Force throwing a SIGINT
^C^C^C^C^CSegmentation fault (core dumped)

freezes forever. @etpinard (who is coauthor of this MWE, 👍) says that #137 is to blame. Not sure why Feather is necessary. @ExpandingMan, does it ring a bell? Importing Feather's dependencies doesn't cause the issue, so it should be an interaction with Feather's code...

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