_ROOT Version:_6.08.10 and 6.16.2
Platform: macOS 10.14.4
Compiler: clang version 6.0.1
I am trying to load and visualise some GDML with ROOT. Here is the snippet I use to do so:
std::string testfile = "beamline_with_tunnel.gdml";
gSystem->Load("libGeom");
gSystem->Load("libGdml");
TGeoManager::Import(testfile.c_str());
gGeoManager->GetTopVolume()->Draw("ogl");
Here is what happens:
root [0] **std** :: **string** testfile = "beamline_with_tunnel.gdml";
root [1] **gSystem** ->Load("libGeom");
root [2] **gSystem** ->Load("libGdml");
root [3] **TGeoManager** ::Import(testfile.c_str());
Info in <TGeoManager::Import>: Reading geometry from file: beamline_with_tunnel.gdml
Info in <TGeoManager::TGeoManager>: Geometry GDMLImport, Geometry imported from GDML created
Error: Unsupported GDML Tag Used :matrix. Please Check Geometry/Schema.
Error: Unsupported GDML Tag Used :matrix. Please Check Geometry/Schema.
Error: Unsupported GDML Tag Used :matrix. Please Check Geometry/Schema.
Error: Unsupported GDML Tag Used :matrix. Please Check Geometry/Schema.
Info in <TGeoManager::SetTopVolume>: Top volume is World_lv. Master volume is World_lv
Info in <TGeoNavigator::BuildCache>: --- Maximum geometry depth set to 100
Info in <TGeoManager::CheckGeometry>: Fixing runtime shapes...
Info in <TGeoManager::CheckGeometry>: ...Nothing to fix
Info in <TGeoManager::CloseGeometry>: Counting nodes...
Info in <TGeoManager::Voxelize>: Voxelizing...
Info in <TGeoManager::CloseGeometry>: Building cache...
Info in <TGeoManager::CountLevels>: max level = 4, max placements = 472
Info in <TGeoManager::CloseGeometry>: 4588 nodes/ 1724 volume UID's in Geometry imported from GDML
Info in <TGeoManager::CloseGeometry>: ----------------modeler ready----------------
root [4] **gGeoManager** ->GetTopVolume()->Draw("ogl");
Info in <TCanvas::MakeDefCanvas>: created default TCanvas with name c1
root.exe(50876,0x1037195c0) malloc: Incorrect checksum for freed object 0x7fe31b7ca018: probably modified after being freed.
Corrupt value: 0xca511b0ec57e649a
root.exe(50876,0x1037195c0) malloc: *** set a breakpoint in malloc_error_break to debug
What is going on? I have tried 3 different versions of ROOT, and I have tried two different versions of xcode without any luck. Does anyone have any experience with this?