Closed baothientran closed 3 years ago
I am able to reproduce on the OSG static branch. I will build with debug option and go from there
Is there a way to validate CDB_san_diego_Lite? I want to rule out that we are feeding the converter bad data @baothientran
@ErixenCruz currently there is no validator for CDB, but I can replicate the error with other sample as well
For the static library seg fault, compiling with release with debug info allows me to see the seg fault in the OpenFlight loader destructor. It's still not better, but at least we know where to look next
the command to compile with debug info is cmake ../cdb-to-3dtiles -DCMAKE_BUILD_TYPE=RelWithDebInfo
just going to put this here for reference https://groups.google.com/g/osg-users/c/_RN5Eld1G7I
The converter works correctly with
GSModel
and produces the correcttileset.json
. However, it will seg fault when exiting the program. This only happens in the release build. The command line to produce the error:./CDBConverter -i CDB_san_diego_Lite -o San-Diego
CDB_san_diego_Lite
example only contains theGSFeature
andGSModelGeometry
in theTiles
directory. I've removed all other datasets for easier to debug