Skip to content

Assert failure in smr::~smr() #179

@wongsee

Description

@wongsee

Hi

I am new to libcds. I am using cds::container::FeldmanHashSet container. I am using version v2.3.3.

I am getting an assert failure when my program exits:

/libcds/src/hp.cpp:199: cds::gc::hp::smr::~smr(): Assertion `hprec->thread_id_.load( atomics::memory_order_relaxed ) == nullThreadId || hprec->thread_id_.load( atomics::memory_order_relaxed ) == mainThreadId' failed.

This doesn't happen all the time, only some of the time. Is there anything that I might be doing wrong?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions