Problem with libG4intercoms.so

Hi,
I’m running my Gate script on a Cluster that uses linux.
They run some update for both cmake and gcc. For which I had to re-build Gate, geant4 and root.

They all compiled ok, but when i run my gate script i have this error:

Nb of children: 0

 >> geometrical design type: 1

 *** Break *** segmentation violation

===========================================================

There was a crash.

This is the entire stack trace of all threads:

===========================================================

#0 0x00007fc329350a3c in waitpid () from /lib64/libc.so.6

#1 0x00007fc3292cede2 in do_system () from /lib64/libc.so.6

#2 0x00007fc335b0f5a0 in TUnixSystem::Exec (shellcmd=<optimized out>, this=0x2742ef0) at /SAN/inm/tools/src/root_v6/core/unix/src/TUnixSystem.cxx:2106

#3 TUnixSystem::StackTrace (this=0x2742ef0) at /SAN/inm/tools/src/root_v6/core/unix/src/TUnixSystem.cxx:2396

#4 0x00007fc335b11af4 in TUnixSystem::DispatchSignals (this=0x2742ef0, sig=kSigSegmentationViolation) at /SAN/inm/tools/src/root_v6/core/unix/src/TUnixSystem.cxx:3627

#5 <signal handler called>

#6 0x00000000006ec1c0 in GateSystemComponent::ComputeOffset(unsigned long, GateSystemComponent::Alignment1D, GateSystemComponent::Alignment1D) const ()

#7 0x0000000000657078 in GateEcatSystem::ComputeInternalRadius() ()

#8 0x00000000006571f2 in GateEcatSystem::PrintToStream(std::ostream&, bool) ()

#9 0x0000000000b155fc in GateNamedObjectMessenger::SetNewValue(G4UIcommand*, G4String) ()

#10 0x0000000000ab7e6e in GateClockDependentMessenger::SetNewValue(G4UIcommand*, G4String) ()

#11 0x00007fc32a3b485a in G4UIcommand::DoIt(G4String) () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#12 0x00007fc32a3ce58b in G4UImanager::ApplyCommand(char const*) () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#13 0x00007fc32a3a25d7 in G4UIbatch::ExecCommand(G4String const&) () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#14 0x00007fc32a3a3afb in G4UIbatch::SessionStart() () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#15 0x00007fc32a3cf7ac in G4UImanager::ExecuteMacroFile(char const*) () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#16 0x00007fc32a3bd9d5 in G4UIcontrolMessenger::SetNewValue(G4UIcommand*, G4String) () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#17 0x00007fc32a3b485a in G4UIcommand::DoIt(G4String) () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#18 0x00007fc32a3ce58b in G4UImanager::ApplyCommand(char const*) () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#19 0x00007fc32a3a25d7 in G4UIbatch::ExecCommand(G4String const&) () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#20 0x00007fc32a3a3afb in G4UIbatch::SessionStart() () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#21 0x00007fc32a3cf7ac in G4UImanager::ExecuteMacroFile(char const*) () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#22 0x00007fc32a3bd9d5 in G4UIcontrolMessenger::SetNewValue(G4UIcommand*, G4String) () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#23 0x00007fc32a3b485a in G4UIcommand::DoIt(G4String) () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#24 0x00007fc32a3ce58b in G4UImanager::ApplyCommand(char const*) () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#25 0x00000000005bbee7 in main ()

===========================================================

The lines below might hint at the cause of the crash.

You may get help by asking at the ROOT forum http://root.cern.ch/forum

Only if you are really convinced it is a bug in ROOT then please submit a

report at http://root.cern.ch/bugs Please post the ENTIRE stack trace

from above as an attachment in addition to anything else

that might help us fixing this issue.

===========================================================

#6 0x00000000006ec1c0 in GateSystemComponent::ComputeOffset(unsigned long, GateSystemComponent::Alignment1D, GateSystemComponent::Alignment1D) const ()

#7 0x0000000000657078 in GateEcatSystem::ComputeInternalRadius() ()

#8 0x00000000006571f2 in GateEcatSystem::PrintToStream(std::ostream&, bool) ()

#9 0x0000000000b155fc in GateNamedObjectMessenger::SetNewValue(G4UIcommand*, G4String) ()

#10 0x0000000000ab7e6e in GateClockDependentMessenger::SetNewValue(G4UIcommand*, G4String) ()

#11 0x00007fc32a3b485a in G4UIcommand::DoIt(G4String) () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#12 0x00007fc32a3ce58b in G4UImanager::ApplyCommand(char const*) () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#13 0x00007fc32a3a25d7 in G4UIbatch::ExecCommand(G4String const&) () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#14 0x00007fc32a3a3afb in G4UIbatch::SessionStart() () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#15 0x00007fc32a3cf7ac in G4UImanager::ExecuteMacroFile(char const*) () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#16 0x00007fc32a3bd9d5 in G4UIcontrolMessenger::SetNewValue(G4UIcommand*, G4String) () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#17 0x00007fc32a3b485a in G4UIcommand::DoIt(G4String) () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#18 0x00007fc32a3ce58b in G4UImanager::ApplyCommand(char const*) () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#19 0x00007fc32a3a25d7 in G4UIbatch::ExecCommand(G4String const&) () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#20 0x00007fc32a3a3afb in G4UIbatch::SessionStart() () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#21 0x00007fc32a3cf7ac in G4UImanager::ExecuteMacroFile(char const*) () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#22 0x00007fc32a3bd9d5 in G4UIcontrolMessenger::SetNewValue(G4UIcommand*, G4String) () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#23 0x00007fc32a3b485a in G4UIcommand::DoIt(G4String) () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#24 0x00007fc32a3ce58b in G4UImanager::ApplyCommand(char const*) () from /SAN/inm/tools/cluster/Geant4/lib64/libG4intercoms.so

#25 0x00000000005bbee7 in main ()

===========================================================

Any idea?

It seems to be more Geant4 question

It was eventually a compiler problem. when i was compiling gate with gcc7 i had this problem, and by using gcc4 the problem disappeared

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.