Skip to content

Bug: DynamioRIO client crashes/behaves unpredictably on multithreaded programs. #14

@Chadderz121

Description

@Chadderz121

The current DynamoRIO client is not thread-safe because it uses global variables (e.g. stack_index) and because the counters are not thread private and not atomically updated. For these reasons, multithreaded workloads almost always cause either crashes or nonesense output from optiwise count. At the very least we should avoid crashing by e.g. only sampling the main thread to address the bug, but ideally as an enhancement we should fully support multithreaded workloads.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions