<div dir="ltr"><div class="gmail_extra"><span style="font-size:12.8000001907349px">Dear GATE users,</span><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I just installed Gate 7.1 on a CentOS6.6 cluster. The installation went smoothly and Gate works well with gamma photon simulations. But when I turn to optical simulations, the simulation crashes whenever I refer to any surfaces in Surfaces.xml and a few materials in Materials.xml, e.g. Water.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I set OPTICAL flag ON when compiling Gate. One possibility I can think of is that I did not set OpenGL or X11 flag ON when I install GEANT4, since I am not interested in visualizing the process in the cluster. But when compiling ROOT, I kept the default X11 and OpenGL flags ON. Could it be the reason? Thank you!</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Best,</div><div style="font-size:12.8000001907349px">Beien</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">The error message is attached:</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><div>===== XML PATH ====: ./Materials.xml</div><div><br></div><div> *** Break *** segmentation violation</div><div><br></div><div><br></div><div><br></div><div>===========================================================</div><div>There was a crash.</div><div>This is the entire stack trace of all threads:</div><div>===========================================================</div><div>#0 0x00007f7965a7d61e in waitpid () from /lib64/libc.so.6</div><div>#1 0x00007f7965a0f609 in do_system () from /lib64/libc.so.6</div><div>#2 0x00007f796ace8848 in TUnixSystem::StackTrace (this=0x1ee0090) at /home/beienwang/root/core/unix/src/TUnixSystem.cxx:2419</div><div>#3 0x00007f796ace76c3 in TUnixSystem::DispatchSignals (this=0x1ee0090, sig=kSigSegmentationViolation) at /home/beienwang/root/core/unix/src/TUnixSystem.cxx:1294</div><div>#4 <signal handler called></div><div>#5 0x00007f7965afa2f0 in __strncmp_sse42 () from /lib64/libc.so.6</div><div>#6 0x00007f79669a8885 in __xmlParserInputBufferCreateFilename () from /usr/lib64/libxml2.so.2</div><div>#7 0x00007f796697d80d in xmlNewInputFromFile () from /usr/lib64/libxml2.so.2</div><div>#8 0x00007f79669819f6 in xmlCreateURLParserCtxt () from /usr/lib64/libxml2.so.2</div><div>#9 0x00007f79669966ae in xmlSAXParseFileWithData () from /usr/lib64/libxml2.so.2</div><div>#10 0x00000000008679a0 in GateXMLDocument::GateXMLDocument(G4String const&) ()</div><div>#11 0x0000000000579c19 in GateMaterialDatabase::ReadMaterialFromDBFile(G4String const&) ()</div><div>#12 0x000000000057bc3b in GateMaterialDatabase::GetMaterial(G4String const&) ()</div><div>#13 0x000000000057f7f8 in GateVVolume::DefineOwnMaterials() ()</div><div>#14 0x00000000005bd630 in GateVolumeMessenger::SetNewValue(G4UIcommand*, G4String) ()</div><div>#15 0x00007f796bafc2cb in G4UIcommand::DoIt(G4String) () from /home/beienwang/programme/geant4/geant4.10.01-install/lib64/libG4intercoms.so</div><div>#16 0x00007f796bb096b7 in G4UImanager::ApplyCommand(char const*) () from /home/beienwang/programme/geant4/geant4.10.01-install/lib64/libG4intercoms.so</div><div>#17 0x00007f796fd5687c in G4UIterminal::ExecuteCommand(G4String const&) () from /home/beienwang/programme/geant4/geant4.10.01-install/lib64/libG4interfaces.so</div><div>#18 0x00007f796fd57ec4 in G4UIterminal::SessionStart() () from /home/beienwang/programme/geant4/geant4.10.01-install/lib64/libG4interfaces.so</div><div>#19 0x00000000004f1b8e in main ()</div><div>===========================================================</div><div><br></div><div><br></div><div>The lines below might hint at the cause of the crash.</div><div>If they do not help you then please submit a bug report at</div><div><a href="http://root.cern.ch/bugs" target="_blank">http://root.cern.ch/bugs</a>. Please post the ENTIRE stack trace</div><div>from above as an attachment in addition to anything else</div><div>that might help us fixing this issue.</div><div>===========================================================</div><div>#5 0x00007f7965afa2f0 in __strncmp_sse42 () from /lib64/libc.so.6</div><div>#6 0x00007f79669a8885 in __xmlParserInputBufferCreateFilename () from /usr/lib64/libxml2.so.2</div><div>#7 0x00007f796697d80d in xmlNewInputFromFile () from /usr/lib64/libxml2.so.2</div><div>#8 0x00007f79669819f6 in xmlCreateURLParserCtxt () from /usr/lib64/libxml2.so.2</div><div>#9 0x00007f79669966ae in xmlSAXParseFileWithData () from /usr/lib64/libxml2.so.2</div><div>#10 0x00000000008679a0 in GateXMLDocument::GateXMLDocument(G4String const&) ()</div><div>#11 0x0000000000579c19 in GateMaterialDatabase::ReadMaterialFromDBFile(G4String const&) ()</div><div>#12 0x000000000057bc3b in GateMaterialDatabase::GetMaterial(G4String const&) ()</div><div>#13 0x000000000057f7f8 in GateVVolume::DefineOwnMaterials() ()</div><div>#14 0x00000000005bd630 in GateVolumeMessenger::SetNewValue(G4UIcommand*, G4String) ()</div><div>#15 0x00007f796bafc2cb in G4UIcommand::DoIt(G4String) () from /home/beienwang/programme/geant4/geant4.10.01-install/lib64/libG4intercoms.so</div><div>#16 0x00007f796bb096b7 in G4UImanager::ApplyCommand(char const*) () from /home/beienwang/programme/geant4/geant4.10.01-install/lib64/libG4intercoms.so</div><div>#17 0x00007f796fd5687c in G4UIterminal::ExecuteCommand(G4String const&) () from /home/beienwang/programme/geant4/geant4.10.01-install/lib64/libG4interfaces.so</div><div>#18 0x00007f796fd57ec4 in G4UIterminal::SessionStart() () from /home/beienwang/programme/geant4/geant4.10.01-install/lib64/libG4interfaces.so</div><div>#19 0x00000000004f1b8e in main ()</div><div>===========================================================</div><div><br></div><div><br></div><div>Segmentation fault (core dumped)</div></div>
</div></div>