Skip to content

Segfault during benchmark client termination #688

@eric846

Description

@eric846

pool()->addDrainedCallback([this]() -> void {

I couldn't tell whether the crash happened when the callback was being added or when it actually ran.

I was using 50-100 concurrency and around 1000 RPS per worker, and an inline RequestSource. These conditions may or may not be necessary. My impression is that it crashed about half the time.

A workaround is to simply comment out the drained callback and fall back on the 5 second timer, at the cost of 5 seconds per benchmark.

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