[Gate-users] Crash when running an example macros simu_ct.mac
Elnur Sadihov
forward1292 at gmail.com
Thu Aug 25 09:11:22 CEST 2016
Hello, Gate users!
I'd like to simulate CT system. For this reason I've downloaded an example
tp_CT_solution.tar.gz which can be downloaded on the next link:
http://www.opengatecollaboration.org/Materials2015/PracticalExercises2015/CT
.
I've untared this file and I'm trying to run the main macros simu_ct.mac.
But something goes wrong. I use Ubuntu 14.04 LTS, root v5.34/34,
geant4-09-06-patch-03, gate_v7.0. When I type:
Gate simu_ct.mac
the next lines appear in the terminal:
g4user at g4user:~/My_programs/gate_v7.0/examples/tp_CT_solution/solution$
Gate simu_ct.mac
[G4]
[G4] *************************************************************
[G4] Geant4 version Name: geant4-09-06-patch-03 (14-March-2014)
[G4] Copyright : Geant4 Collaboration
[G4] Reference : NIM A 506 (2003), 250-303
[G4] WWW : http://cern.ch/geant4
[G4] *************************************************************
[G4]
[Core-0] Initialization of geometry
[Core-0] Initialization of physics
[Physic-0] WARNING: manual physic lists are being deprecated.
Please, use physic list builder mechanism instead. Related documentation
can be found at:
http://wiki.opengatecollaboration.org/index.php/Users_Guide_V7.0:Setting_up_the_physics
[Core-0] Initialization of actors
[Core-0]
[Core-0]
**********************************************************************
[Core-0] GATE version name:
gate_v7.0
[Core-0] Copyright : OpenGATE
Collaboration
[Core-0] Reference : Phys. Med. Biol. 49 (2004)
4543-4561
[Core-0] Reference : Phys. Med. Biol. 56 (2011)
881-901
[Core-0] WWW : http://www.opengatecollaboration.org
[Core-0]
**********************************************************************
[Core-0]
[Core-0] You are using Geant4 version 9.6.3
[Core-0] Starting macro simu_ct.mac
Rmin/gate/aluminiumBall/geometry/setRmin
Rmin/gate/spineBoneBall/geometry/setRmin
List of Enabled processes:
=== Process: eMultipleScattering ===
Particle: e+
* Model(s):
- Urban95Model
Particle: e-
* Model(s):
- Urban95Model
=== Process: PhotoElectric ===
Particle: gamma
* Model(s):
- StandardModel
=== Process: Compton ===
Particle: gamma
* Model(s):
- StandardModel
=== Process: Bremsstrahlung ===
Particle: e+
* Model(s):
- StandardModel
Particle: e-
* Model(s):
- StandardModel
=== Process: ElectronIonisation ===
Particle: e+
* Model(s):
- StandardModel
Particle: e-
* Model(s):
- StandardModel
=== Process: RayleighScattering ===
Particle: gamma
* Model(s):
- PenelopeModel
List of initialized processes:
[Core-0] Initialization of geometry
[Core-0] Initialization of physics
[Physic-0] WARNING: manual physic lists are being deprecated.
Please, use physic list builder mechanism instead. Related documentation
can be found at:
http://wiki.opengatecollaboration.org/index.php/Users_Guide_V7.0:Setting_up_the_physics
[Core-0] Initialization of actors
Verbosity Set to: 0
GateSourceMgr::ListSources: List of the sources in the source manager
Source --------------> xraygun
ID : 0
type : gps
activity (Bq) : 0
startTime (s) : 0
time (s) : 0
forcedUnstable : 0
forcedHalfLife (s) : -0.693147
verboseLevel : 0
relative to vol : World
----------------------
[Acquisition-0]
[Acquisition-0] ============= Source initialization =============
[Acquisition-0]
[Acquisition-0] ============= Acquisition starts! =============
[Acquisition-0] Simulation start time = 0 sec
[Acquisition-0] Simulation end time = 1 sec
[Acquisition-0] Simulation will have = 1 run(s)
--------- MTwist engine status ---------
Initial seed = 1234
Current index = 131
Array status mt[] =
1234 3159640283 4062961311 3954462607 3112783424
2849714703 731821095 2232873578 1251953424 3917199038
231030171 268845362 2344188614 1849447265 2383103214
2227731755 1714639421 1491439037 462325566 5081481
737186849 236395034 2597008984 1186503577 323074832
......................................................................................
( here is a lot of lines with numbers like above)
*** Break *** segmentation violation
===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0 0x00007fce8a8b15cc in __libc_waitpid (pid=12263, stat_loc=stat_loc
entry=0x7fff2e36ab40, options=options
entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31
#1 0x00007fce8a8361d2 in do_system (line=<optimized out>) at
../sysdeps/posix/system.c:148
#2 0x00007fce8d267f23 in TUnixSystem::StackTrace() () from
/home/g4user/My_programs/root_v5.34/lib/libCore.so
#3 0x00007fce8d269b4c in TUnixSystem::DispatchSignals(ESignals) () from
/home/g4user/My_programs/root_v5.34/lib/libCore.so
#4 <signal handler called>
#5 0x00007fce8d736de0 in CLHEP::MTwistEngine::showStatus() const () from
/home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4clhep.so
#6 0x0000000000825f21 in GateApplicationMgr::StartDAQ() ()
#7 0x0000000000805fe0 in
GateApplicationMgrMessenger::SetNewValue(G4UIcommand*, G4String) ()
#8 0x00007fce8dbf7f7f in G4UIcommand::DoIt(G4String) () from
/home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so
#9 0x00007fce8dc0e568 in G4UImanager::ApplyCommand(char const*) () from
/home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so
#10 0x00007fce8dbe78d7 in G4UIbatch::ExecCommand(G4String const&) () from
/home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so
#11 0x00007fce8dbe8f6b in G4UIbatch::SessionStart() () from
/home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so
#12 0x00007fce8dc0aaf3 in G4UImanager::ExecuteMacroFile(char const*) ()
from /home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so
#13 0x00007fce8dc02142 in G4UIcontrolMessenger::SetNewValue(G4UIcommand*,
G4String) () from
/home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so
#14 0x00007fce8dbf7f7f in G4UIcommand::DoIt(G4String) () from
/home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so
#15 0x00007fce8dc0e568 in G4UImanager::ApplyCommand(char const*) () from
/home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so
#16 0x00000000004e7223 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 0x00007fce8d736de0 in CLHEP::MTwistEngine::showStatus() const () from
/home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4clhep.so
#6 0x0000000000825f21 in GateApplicationMgr::StartDAQ() ()
#7 0x0000000000805fe0 in
GateApplicationMgrMessenger::SetNewValue(G4UIcommand*, G4String) ()
#8 0x00007fce8dbf7f7f in G4UIcommand::DoIt(G4String) () from
/home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so
#9 0x00007fce8dc0e568 in G4UImanager::ApplyCommand(char const*) () from
/home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so
#10 0x00007fce8dbe78d7 in G4UIbatch::ExecCommand(G4String const&) () from
/home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so
#11 0x00007fce8dbe8f6b in G4UIbatch::SessionStart() () from
/home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so
#12 0x00007fce8dc0aaf3 in G4UImanager::ExecuteMacroFile(char const*) ()
from /home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so
#13 0x00007fce8dc02142 in G4UIcontrolMessenger::SetNewValue(G4UIcommand*,
G4String) () from
/home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so
#14 0x00007fce8dbf7f7f in G4UIcommand::DoIt(G4String) () from
/home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so
#15 0x00007fce8dc0e568 in G4UImanager::ApplyCommand(char const*) () from
/home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so
#16 0x00000000004e7223 in main ()
===========================================================
Please help me to solve this problem. Thanks in advance!
Best regards,
Elnur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20160825/4f75014a/attachment-0001.html>
More information about the Gate-users
mailing list