Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bad_alloc in QSBR.h with Visual Studio #35

Open
asdf-qwert opened this issue Mar 8, 2018 · 0 comments
Open

bad_alloc in QSBR.h with Visual Studio #35

asdf-qwert opened this issue Mar 8, 2018 · 0 comments

Comments

@asdf-qwert
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant