[Gate-users] Crash during simulation - segmentation violation

Marc Chamberland mchamber at connect.carleton.ca
Tue Feb 7 03:24:03 CET 2012


Hi Gate Users!

I ran a simulation on a cluster and two of the runs experienced crashes (segmentation violation).

I'm attaching the output (*.out) and the stack trace (*.err) of both of these runs as well as my macros to this message.

In case the mailing list rejects my attachments, here is one of the two stack traces:

-------------

	[G4-cerr] 
	[G4-cerr] *** G4Exception : Notification
	[G4-cerr]       issued by : G4Box::DistanceToOut(p,v,..)
	[G4-cerr] Undefined side for valid surface normal to solid.
	[G4-cerr] *** This is just a warning message.

 *** Break *** segmentation violation



===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0  0x0000003405e99d75 in waitpid () from /lib64/libc.so.6
#1  0x0000003405e3c331 in do_system () from /lib64/libc.so.6
#2  0x00002ae00c227132 in TUnixSystem::StackTrace (this=0x2415b70)
    at /data/data007/txu/root/core/unix/src/TUnixSystem.cxx:2274
#3  0x00002ae00c224d5a in TUnixSystem::DispatchSignals (this=0x2415b70, 
    sig=<value optimized out>)
    at /data/data007/txu/root/core/unix/src/TUnixSystem.cxx:1171
#4  <signal handler called>
#5  0x000000341849c9cb in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /usr/lib64/libstdc++.so.6
#6  0x00002ae0089ba693 in GateAnalysis::RecordEndOfEvent(G4Event const*) ()
   from /data/data007/txu/gate_v6.1/tmp/Linux-g++/Gate/libGate.so
#7  0x00002ae008b8c07c in GateOutputMgr::RecordEndOfEvent(G4Event const*) ()
   from /data/data007/txu/gate_v6.1/tmp/Linux-g++/Gate/libGate.so
#8  0x00002ae0089b1031 in GateEventAction::EndOfEventAction(G4Event const*) ()
   from /data/data007/txu/gate_v6.1/tmp/Linux-g++/Gate/libGate.so
#9  0x00002ae00e637eb5 in G4EventManager::DoProcessing(G4Event*) ()
   from /data/data007/txu/geant4.9.4.p01/lib/Linux-g++/libG4event.so
#10 0x00002ae00e500a92 in G4RunManager::DoEventLoop(int, char const*, int) ()
   from /data/data007/txu/geant4.9.4.p01/lib/Linux-g++/libG4run.so
#11 0x00002ae00e4ffda7 in G4RunManager::BeamOn(int, char const*, int) ()
   from /data/data007/txu/geant4.9.4.p01/lib/Linux-g++/libG4run.so
#12 0x00002ae0089cadae in GateApplicationMgr::StartDAQCluster(CLHEP::Hep3Vector) () from /data/data007/txu/gate_v6.1/tmp/Linux-g++/Gate/libGate.so
#13 0x00002ae0089c4aee in GateApplicationMgrMessenger::SetNewValue(G4UIcommand*, G4String) () from /data/data007/txu/gate_v6.1/tmp/Linux-g++/Gate/libGate.so
#14 0x00002ae010cc1e6f in G4UIcommand::DoIt(G4String) ()
   from /data/data007/txu/geant4.9.4.p01/lib/Linux-g++/libG4intercoms.so
#15 0x00002ae010cb6c49 in G4UIcmdWith3VectorAndUnit::DoIt(G4String) ()
   from /data/data007/txu/geant4.9.4.p01/lib/Linux-g++/libG4intercoms.so
#16 0x00002ae010cd0c6d in G4UImanager::ApplyCommand(char const*) ()
   from /data/data007/txu/geant4.9.4.p01/lib/Linux-g++/libG4intercoms.so
#17 0x00002ae010cb3e6e in G4UIbatch::ExecCommand(G4String const&) ()
   from /data/data007/txu/geant4.9.4.p01/lib/Linux-g++/libG4intercoms.so
#18 0x00002ae010cb5364 in G4UIbatch::SessionStart() ()
   from /data/data007/txu/geant4.9.4.p01/lib/Linux-g++/libG4intercoms.so
#19 0x00002ae010ccc575 in G4UImanager::ExecuteMacroFile(char const*) ()
   from /data/data007/txu/geant4.9.4.p01/lib/Linux-g++/libG4intercoms.so
#20 0x00002ae010cc9096 in G4UIcontrolMessenger::SetNewValue(G4UIcommand*, G4String) () from /data/data007/txu/geant4.9.4.p01/lib/Linux-g++/libG4intercoms.so
#21 0x00002ae010cc1e6f in G4UIcommand::DoIt(G4String) ()
   from /data/data007/txu/geant4.9.4.p01/lib/Linux-g++/libG4intercoms.so
#22 0x00002ae010cd0c6d in G4UImanager::ApplyCommand(char const*) ()
   from /data/data007/txu/geant4.9.4.p01/lib/Linux-g++/libG4intercoms.so
#23 0x000000000040a844 in main ()
===========================================================


The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug 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.
===========================================================
#5  0x000000341849c9cb in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /usr/lib64/libstdc++.so.6
#6  0x00002ae0089ba693 in GateAnalysis::RecordEndOfEvent(G4Event const*) ()
   from /data/data007/txu/gate_v6.1/tmp/Linux-g++/Gate/libGate.so
#7  0x00002ae008b8c07c in GateOutputMgr::RecordEndOfEvent(G4Event const*) ()
   from /data/data007/txu/gate_v6.1/tmp/Linux-g++/Gate/libGate.so
#8  0x00002ae0089b1031 in GateEventAction::EndOfEventAction(G4Event const*) ()
   from /data/data007/txu/gate_v6.1/tmp/Linux-g++/Gate/libGate.so
#9  0x00002ae00e637eb5 in G4EventManager::DoProcessing(G4Event*) ()
   from /data/data007/txu/geant4.9.4.p01/lib/Linux-g++/libG4event.so
#10 0x00002ae00e500a92 in G4RunManager::DoEventLoop(int, char const*, int) ()
   from /data/data007/txu/geant4.9.4.p01/lib/Linux-g++/libG4run.so
#11 0x00002ae00e4ffda7 in G4RunManager::BeamOn(int, char const*, int) ()
   from /data/data007/txu/geant4.9.4.p01/lib/Linux-g++/libG4run.so
#12 0x00002ae0089cadae in GateApplicationMgr::StartDAQCluster(CLHEP::Hep3Vector) () from /data/data007/txu/gate_v6.1/tmp/Linux-g++/Gate/libGate.so
#13 0x00002ae0089c4aee in GateApplicationMgrMessenger::SetNewValue(G4UIcommand*, G4String) () from /data/data007/txu/gate_v6.1/tmp/Linux-g++/Gate/libGate.so
#14 0x00002ae010cc1e6f in G4UIcommand::DoIt(G4String) ()
   from /data/data007/txu/geant4.9.4.p01/lib/Linux-g++/libG4intercoms.so
#15 0x00002ae010cb6c49 in G4UIcmdWith3VectorAndUnit::DoIt(G4String) ()
   from /data/data007/txu/geant4.9.4.p01/lib/Linux-g++/libG4intercoms.so
#16 0x00002ae010cd0c6d in G4UImanager::ApplyCommand(char const*) ()
   from /data/data007/txu/geant4.9.4.p01/lib/Linux-g++/libG4intercoms.so
#17 0x00002ae010cb3e6e in G4UIbatch::ExecCommand(G4String const&) ()
   from /data/data007/txu/geant4.9.4.p01/lib/Linux-g++/libG4intercoms.so
#18 0x00002ae010cb5364 in G4UIbatch::SessionStart() ()
   from /data/data007/txu/geant4.9.4.p01/lib/Linux-g++/libG4intercoms.so
#19 0x00002ae010ccc575 in G4UImanager::ExecuteMacroFile(char const*) ()
   from /data/data007/txu/geant4.9.4.p01/lib/Linux-g++/libG4intercoms.so
#20 0x00002ae010cc9096 in G4UIcontrolMessenger::SetNewValue(G4UIcommand*, G4String) () from /data/data007/txu/geant4.9.4.p01/lib/Linux-g++/libG4intercoms.so
#21 0x00002ae010cc1e6f in G4UIcommand::DoIt(G4String) ()
   from /data/data007/txu/geant4.9.4.p01/lib/Linux-g++/libG4intercoms.so
#22 0x00002ae010cd0c6d in G4UImanager::ApplyCommand(char const*) ()
   from /data/data007/txu/geant4.9.4.p01/lib/Linux-g++/libG4intercoms.so
#23 0x000000000040a844 in main ()
===========================================================

-----------


Marc



__________________________


Marc Chamberland, MSc
PhD candidate
Department of Physics
Carleton University
Ottawa (ON)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Archive.zip
Type: application/zip
Size: 24691 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20120206/54c18382/attachment-0001.zip>


More information about the Gate-users mailing list