Skip to content

bad_alloc in QSBR.h with Visual Studio #35

@asdf-qwert

Description

@asdf-qwert

Hi, I am facing a problem when using Leapfrog concurrent map.
I have created Visual Studio project with cmake, linked libs to my project and added include folders.
After that I did a small setup to test if everything works and it stared failing on bad_alloc, even when I used different versions of Visual Studio or switched to 32/64bit.
With initial size of the map equal to 8, after adding 10th element to map it fails on bad_alloc at QSBR.h:80 (notice the m_deferredActions capacity at first screenshot) when push_back is executed.
I have also attached whole project (2.5MB) with all the libraries prepared.
Please help me in resolving this issue.
Thanks!

  1. screenshot (QSBR.h)
    image

  2. screenshot (bad_alloc)
    image

  3. screenshot (main.cpp)
    image

DummyProject.zip

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