Skip to content

bad_alloc in QSBR.h with Visual Studio #35

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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