Skip to content

Unreachable reached in collect #47374

Closed
Closed
@fredrikekre

Description

@fredrikekre

Reduced failure in a package to

function value(x)
    [value(i, x) for i in 1:1]
end
function value(i::Int, x)
    return 1.0
end
value(rand(1))

which gives

Unreachable reached at 0x7fbd8c4c4bcd

[10347] signal (4): Illegal instruction
in expression starting at REPL[3]:2
iterate at ./generator.jl:44 [inlined]
collect_to! at ./array.jl:840 [inlined]
collect_to_with_first! at ./array.jl:818 [inlined]
collect at ./array.jl:792 [inlined]
value at ./REPL[1]:2
unknown function (ip: 0x7fbd8c4c4be2)
jl_apply at /home/fredrik/julia-master/src/julia.h:1869 [inlined]
do_call at /home/fredrik/julia-master/src/interpreter.c:126

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