Skip to content

Segmentation fault in case of using new_thread + current_thread #595

Open
@victimsnino

Description

@victimsnino

Example:

    rxcpp::observable<>::range(1, rxcpp::observe_on_new_thread())
        .delay(std::chrono::seconds(1), rxcpp::identity_current_thread())
        .as_blocking()
        .subscribe([](const auto &v)
                   { std::cout << v << std::endl; },
                   []()
                   { std::cout << "COMPLETED"; });

Crashed near scheduling first emission inside "delay"

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