Closed leelegend94 closed 9 months ago
Hi @leelegend94, I don't seem to be able to reproduce this. My setup is:
I've tested with a minimal point set as I don't have access to the point data you're reading in from your pc_path
so it could be something in your dataset. Could you confirm what system you're testing on, compiler and how VDB was configured (if you're building it yourself then the cmake options/output you're using)
Closing due to no reply - please reopen if this is still an issue!
Environment
Operating System: Ubuntu 18.04.6 Version / Commit SHA: 10.0.2 **Other: c++17 gcc/g++ 9.4.0
Describe the bug
bad_alloc occurs when reading PointIndexGrid from a file with delay-loading turned OFF. gdb backtraces the error to openvdb/io/Compression.h:260
To Reproduce
There is a simple example to reproduce the error:
Expected behavior
Throw a bad_alloc error when executing
newFile.open(false);