junction icon indicating copy to clipboard operation
junction copied to clipboard

bad_alloc in QSBR.h with Visual Studio

Open asdf-qwert opened this issue 7 years ago • 0 comments

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

asdf-qwert avatar Mar 08 '18 13:03 asdf-qwert