Skip to content

Loading a NTuple{N, VecElement{T}} can seqfault #21918

@vchuravy

Description

@vchuravy

Currently SIMD.jl reliably seqfaults on release-0.6 and master. The particular backtrace that I captured in rrstarts at [1] and ends at [2].
After talking to @yuyichao it looks like a load from the heap that is misaligned. Reverting #20975 makes the issue go away.

[1] https://github.com/eschnett/SIMD.jl/blob/a4a12d9ea34e43ba66e14d8cecc71b1019aac65d/test/runtests.jl#L36
[2]

for x in xs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behaviorcompiler:simdinstruction-level vectorizationregressionRegression in behavior compared to a previous version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions