OctoMap / octomap

An Efficient Probabilistic 3D Mapping Framework Based on Octrees. Contains the main OctoMap library, the viewer octovis, and dynamicEDT3D.
http://octomap.github.io
1.93k stars 657 forks source link

octovis bad_alloc error under Windows #266

Open antlas1 opened 4 years ago

antlas1 commented 4 years ago

Hello! I was resently tried your library and I very like it. But I have some problems with viewing middle-size files (approx 9 Mb) with resolution 0.05. When I open it with 16 depth, programs crushing: 0x76CAC54F in octovis.exe 0x0034BD58 and it falling in ViewerGui.cpp:295. OS: Windows 7 Build tools: msvc2015 Qt: 4.8.7 Octomap version 1.9.1

antlas1 commented 4 years ago

octomap.zip bad allocation Attached model and screen. Thanks.

ahornung commented 4 years ago

Sorry, I can't reproduce that. It works just fine under Linux with your provided file. Does it work for any file provided at http://ais.informatik.uni-freiburg.de/projects/datasets/octomap/ ?

Maybe it's a problem in your setup or specific to octovis under Windows.

antlas1 commented 4 years ago

Yes, I have error also with campus file http://ais.informatik.uni-freiburg.de/projects/datasets/octomap/fr_campus.bt.gz. Something wrong with windows build. I think we can close this ticket, I'll try to recompile or use viewer on Linux. Thank you.