Skip to content

n_threads = 0 causes SIGFPE #6

@Naderschah

Description

@Naderschah

When setting threads on readers the user may choose 0

If this is not reset to a reasonable value the DAQ controller will fail on fOptions[++c%num_threads] ... with SIGFPE. I.e. division by zero.

This should throw an immediate runtime error or fix itself. Ie set the default number of threads = 8.

Alternatively, config validation in general would be advisable to implement if not as only a debug tool

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