Skip to content

Segfault for unkown CPUs #58

@termi-official

Description

@termi-official

When likwid fails to identify the CPU it returns an only partially initialized cpu info stuct. However during topology resolution (here

unsafe_string(ci.name),
unsafe_string(ci.short_name),
) it is assumed that the strings for name and short_name are initialized.

Reproducible on master for likwid and LIKWID.jl, as well as for both latest releases.

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