Skip to content

Segmentation Fault when number of processors > 16 #177

@keks51

Description

@keks51

In some cases like virtualization one processor has exactly one core. But there is s strict number of MAX_PROCESSOR_GROUP which is 16. https://github.com/OpenVisualCloud/SVT-VP9/blob/master/Source/Lib/Codec/EbEncHandle.c#L137

The suggestion is to increase this value to 1024.

Also it is better to replace this line https://github.com/OpenVisualCloud/SVT-VP9/blob/master/Source/Lib/Codec/EbEncHandle.c#L406 with

if (socket_id < 0 || socket_id > MAX_PROCESSOR_GROUP - 1) {

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