pelicanmapping / rocky

3D Geospatial SDK (C++17 / Vulkan / VSG)
MIT License
98 stars 16 forks source link

Loading Terrain Crash #16

Closed GeorgeRuhlmann closed 1 year ago

GeorgeRuhlmann commented 1 year ago

I started rdemo and while still loading the terrain I got a crash. In the console I see:

Warning: Allocator::MemoryBlock::deallocate(000002238D90D628) problem - couldn't release Warning: Allocator::MemoryBlock::deallocate(000002238D063F20) problem - couldn't release Warning: Allocator::MemoryBlock::deallocate(000002238D0078A0) problem - couldn't release Warning: Allocator::MemoryBlock::deallocate(000002238D064418) problem - couldn't release Warning: Allocator::MemoryBlock::deallocate(000002238D064038) problem - couldn't release

The stack track show a moves on to itself, which does not look correct (second screen shot).

image

image image

gwaldron commented 1 year ago

Thanks. I am going to remove the move-constructors from Profile and SRS since they are lightweight objects AND are backed by common globals (and we do not want to move globals). Hopefully that resolves this crash.