<div dir="ltr"><div><div>Hello, Gate users!<br><br></div>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: <a href="http://www.opengatecollaboration.org/Materials2015/PracticalExercises2015/CT">http://www.opengatecollaboration.org/Materials2015/PracticalExercises2015/CT</a> .<br></div><div><br></div><div>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: <br>Gate simu_ct.mac<br></div><div>the next lines appear in the terminal:<br><br>g4user@g4user:~/My_programs/gate_v7.0/examples/tp_CT_solution/solution$ Gate simu_ct.mac <br>[G4] <br>[G4] *************************************************************<br>[G4]  Geant4 version Name: geant4-09-06-patch-03    (14-March-2014)<br>[G4]                       Copyright : Geant4 Collaboration<br>[G4]                       Reference : NIM A 506 (2003), 250-303<br>[G4]                             WWW : <a href="http://cern.ch/geant4">http://cern.ch/geant4</a><br>[G4] *************************************************************<br>[G4] <br>[Core-0] Initialization of geometry<br>[Core-0] Initialization of physics<br>[Physic-0] WARNING: manual physic lists are being deprecated.<br>Please, use physic list builder mechanism instead. Related documentation can be found at:<br><a href="http://wiki.opengatecollaboration.org/index.php/Users_Guide_V7.0:Setting_up_the_physics">http://wiki.opengatecollaboration.org/index.php/Users_Guide_V7.0:Setting_up_the_physics</a><br>[Core-0] Initialization of actors<br>[Core-0] <br>[Core-0] **********************************************************************<br>[Core-0]  GATE version name: gate_v7.0                                         <br>[Core-0]                     Copyright : OpenGATE Collaboration                <br>[Core-0]                     Reference : Phys. Med. Biol. 49 (2004) 4543-4561  <br>[Core-0]                     Reference : Phys. Med. Biol. 56 (2011) 881-901    <br>[Core-0]                     WWW : <a href="http://www.opengatecollaboration.org">http://www.opengatecollaboration.org</a>        <br>[Core-0] **********************************************************************<br>[Core-0] <br>[Core-0] You are using Geant4 version 9.6.3<br>[Core-0] Starting macro simu_ct.mac<br> Rmin/gate/aluminiumBall/geometry/setRmin<br> Rmin/gate/spineBoneBall/geometry/setRmin<br><br><br>List of Enabled processes:<br><br><br>   ===  Process: eMultipleScattering  ===<br>Particle: e+<br>    * Model(s):<br>       - Urban95Model<br>Particle: e-<br>    * Model(s):<br>       - Urban95Model<br><br>   ===  Process: PhotoElectric  ===<br>Particle: gamma<br>    * Model(s):<br>       - StandardModel<br><br>   ===  Process: Compton  ===<br>Particle: gamma<br>    * Model(s):<br>       - StandardModel<br><br>   ===  Process: Bremsstrahlung  ===<br>Particle: e+<br>    * Model(s):<br>       - StandardModel<br>Particle: e-<br>    * Model(s):<br>       - StandardModel<br><br>   ===  Process: ElectronIonisation  ===<br>Particle: e+<br>    * Model(s):<br>       - StandardModel<br>Particle: e-<br>    * Model(s):<br>       - StandardModel<br><br>   ===  Process: RayleighScattering  ===<br>Particle: gamma<br>    * Model(s):<br>       - PenelopeModel<br><br><br><br><br>List of initialized processes:<br><br><br><br>[Core-0] Initialization of geometry<br>[Core-0] Initialization of physics<br>[Physic-0] WARNING: manual physic lists are being deprecated.<br>Please, use physic list builder mechanism instead. Related documentation can be found at:<br><a href="http://wiki.opengatecollaboration.org/index.php/Users_Guide_V7.0:Setting_up_the_physics">http://wiki.opengatecollaboration.org/index.php/Users_Guide_V7.0:Setting_up_the_physics</a><br>[Core-0] Initialization of actors<br>Verbosity Set to: 0<br>GateSourceMgr::ListSources: List of the sources in the source manager<br>Source --------------> xraygun<br>  ID                 : 0<br>  type               : gps<br>  activity (Bq)      : 0<br>  startTime (s)      : 0<br>  time (s)           : 0<br>  forcedUnstable     : 0<br>  forcedHalfLife (s) : -0.693147<br>  verboseLevel       : 0<br>  relative to vol    : World<br>---------------------- <br><br>[Acquisition-0]                                      <br>[Acquisition-0] ============= Source initialization =============<br>[Acquisition-0]                                      <br>[Acquisition-0] ============= Acquisition starts! =============<br>[Acquisition-0] Simulation start time = 0 sec<br>[Acquisition-0] Simulation end time   = 1 sec<br>[Acquisition-0] Simulation will have  = 1 run(s)<br><br>--------- MTwist engine status ---------<br> Initial seed      = 1234<br> Current index     = 131<br> Array status mt[] = <br>1234 3159640283 4062961311 3954462607 3112783424<br>2849714703 731821095 2232873578 1251953424 3917199038<br>231030171 268845362 2344188614 1849447265 2383103214<br>2227731755 1714639421 1491439037 462325566 5081481<br>737186849 236395034 2597008984 1186503577 323074832<br></div><div>...................................................................................... ( here is a lot of lines with numbers like above)<br> *** Break *** segmentation violation<br><br><br><br>===========================================================<br>There was a crash.<br>This is the entire stack trace of all threads:<br>===========================================================<br>#0  0x00007fce8a8b15cc in __libc_waitpid (pid=12263, stat_loc=stat_loc<br>entry=0x7fff2e36ab40, options=options<br>entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31<br>#1  0x00007fce8a8361d2 in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:148<br>#2  0x00007fce8d267f23 in TUnixSystem::StackTrace() () from /home/g4user/My_programs/root_v5.34/lib/libCore.so<br>#3  0x00007fce8d269b4c in TUnixSystem::DispatchSignals(ESignals) () from /home/g4user/My_programs/root_v5.34/lib/libCore.so<br>#4  <signal handler called><br>#5  0x00007fce8d736de0 in CLHEP::MTwistEngine::showStatus() const () from /home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4clhep.so<br>#6  0x0000000000825f21 in GateApplicationMgr::StartDAQ() ()<br>#7  0x0000000000805fe0 in GateApplicationMgrMessenger::SetNewValue(G4UIcommand*, G4String) ()<br>#8  0x00007fce8dbf7f7f in G4UIcommand::DoIt(G4String) () from /home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so<br>#9  0x00007fce8dc0e568 in G4UImanager::ApplyCommand(char const*) () from /home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so<br>#10 0x00007fce8dbe78d7 in G4UIbatch::ExecCommand(G4String const&) () from /home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so<br>#11 0x00007fce8dbe8f6b in G4UIbatch::SessionStart() () from /home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so<br>#12 0x00007fce8dc0aaf3 in G4UImanager::ExecuteMacroFile(char const*) () from /home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so<br>#13 0x00007fce8dc02142 in G4UIcontrolMessenger::SetNewValue(G4UIcommand*, G4String) () from /home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so<br>#14 0x00007fce8dbf7f7f in G4UIcommand::DoIt(G4String) () from /home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so<br>#15 0x00007fce8dc0e568 in G4UImanager::ApplyCommand(char const*) () from /home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so<br>#16 0x00000000004e7223 in main ()<br>===========================================================<br><br><br>The lines below might hint at the cause of the crash.<br>If they do not help you then please submit a bug report at<br><a href="http://root.cern.ch/bugs">http://root.cern.ch/bugs</a>. Please post the ENTIRE stack trace<br>from above as an attachment in addition to anything else<br>that might help us fixing this issue.<br>===========================================================<br>#5  0x00007fce8d736de0 in CLHEP::MTwistEngine::showStatus() const () from /home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4clhep.so<br>#6  0x0000000000825f21 in GateApplicationMgr::StartDAQ() ()<br>#7  0x0000000000805fe0 in GateApplicationMgrMessenger::SetNewValue(G4UIcommand*, G4String) ()<br>#8  0x00007fce8dbf7f7f in G4UIcommand::DoIt(G4String) () from /home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so<br>#9  0x00007fce8dc0e568 in G4UImanager::ApplyCommand(char const*) () from /home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so<br>#10 0x00007fce8dbe78d7 in G4UIbatch::ExecCommand(G4String const&) () from /home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so<br>#11 0x00007fce8dbe8f6b in G4UIbatch::SessionStart() () from /home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so<br>#12 0x00007fce8dc0aaf3 in G4UImanager::ExecuteMacroFile(char const*) () from /home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so<br>#13 0x00007fce8dc02142 in G4UIcontrolMessenger::SetNewValue(G4UIcommand*, G4String) () from /home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so<br>#14 0x00007fce8dbf7f7f in G4UIcommand::DoIt(G4String) () from /home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so<br>#15 0x00007fce8dc0e568 in G4UImanager::ApplyCommand(char const*) () from /home/g4user/My_programs/geant4.9.6.p03-install/lib/libG4intercoms.so<br>#16 0x00000000004e7223 in main ()<br>===========================================================<br><br></div><div>Please help me to solve this problem. Thanks in advance!<br><br></div><div>Best regards,<br></div><div>Elnur<br></div></div>