<div dir="ltr"><div dir="ltr"><div>Dear all, <br></div><div><br></div><div>I tried to run the CT example provided in this link: <a href="http://www.opengatecollaboration.org/Materials2015/PracticalExercises2015/CT">http://www.opengatecollaboration.org/Materials2015/PracticalExercises2015/CT</a><br><br>The name of file of example is: tp_CT.tar.gz<br><br>I followed the instruction in the "questions.txt" file but I didn't get the expected output; instead it said that there was a crash.<br><br>This is the full output I got after running the "simu_ct.mac" file:<br><br>[G4] <br>[G4] **************************************************************<br>[G4]  Geant4 version Name: geant4-10-04-patch-02    (25-May-2018)<br>[G4]                        Copyright : Geant4 Collaboration<br>[G4]                       References : NIM A 506 (2003), 250-303<br>[G4]                                  : IEEE-TNS 53 (2006), 270-278<br>[G4]                                  : NIM A 835 (2016), 186-225<br>[G4]                              WWW : <a href="http://geant4.org/">http://geant4.org/</a><br>[G4] **************************************************************<br>[G4] <br>[Core-0] Initialization of geometry<br>[Core-0] Initialization of physics<br>[Core-0] Initialization of actors<br>[Core-0] <br>[Core-0] *************************************************<br>[Core-0]  GATE version 8.1.p01 (April 2018)<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]  Reference : Med. Phys. 41(6)    (2014)<br>[Core-0]  <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 10.4.2<br>[Core-0] Starting macro simu_ct.mac<br>[G4-cerr] G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font<br>  -adobe-courier-bold-r-normal--10-100-75-75-m-60-iso8859-1<br>[G4-cerr] G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font<br>  -adobe-courier-bold-r-normal--11-80-100-100-m-60-iso8859-1<br>[G4-cerr] G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font<br>  -adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1<br>[G4-cerr] G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font<br>  -adobe-courier-bold-r-normal--14-100-100-100-m-90-iso8859-1<br>[G4-cerr] G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font<br>  -adobe-courier-bold-r-normal--17-120-100-100-m-100-iso8859-1<br>[G4-cerr] G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font<br>  -adobe-courier-bold-r-normal--18-180-75-75-m-110-iso8859-1<br>[G4-cerr] G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font<br>  -adobe-courier-bold-r-normal--20-140-100-100-m-110-iso8859-1<br>[G4-cerr] G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font<br>  -adobe-courier-bold-r-normal--24-240-75-75-m-150-iso8859-1<br>[G4-cerr] G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font<br>  -adobe-courier-bold-r-normal--25-180-100-100-m-150-iso8859-1<br>[G4-cerr] G4OpenGLXViewer::CreateFontLists XLoadQueryFont failed for font<br>  -adobe-courier-bold-r-normal--34-240-100-100-m-200-iso8859-1<br>/tracking/storeTrajectory 1<br>Attributes available for modeling and filtering with<br>  "/vis/modeling/trajectories/create/drawByAttribute" and<br>  "/vis/filtering/trajectories/create/attributeFilter" commands:<br>G4TrajectoriesModel:<br>  Event ID (EventID): G4int<br>  Run ID (RunID): G4int<br>G4Trajectory:<br>  Charge (Ch): unit: e+ (G4double)<br>  Track ID (ID): G4int<br>  Initial kinetic energy (IKE): G4BestUnit (G4double)<br>  Initial momentum magnitude (IMag): G4BestUnit (G4double)<br>  Initial momentum (IMom): G4BestUnit (G4ThreeVector)<br>  No. of points (NTP): G4int<br>  PDG Encoding (PDG): G4int<br>  Parent ID (PID): G4int<br>  Particle Name (PN): G4String<br>G4TrajectoryPoint:<br>  Position (Pos): G4BestUnit (G4ThreeVector)<br>WARNING: Trajectory storing has been requested.  This action may be<br>  reversed with "/tracking/storeTrajectory 0".<br>0: RINDEX<br>1.84e-06   1.00028<br>4.08e-06   1.00028<br>9: GROUPVEL<br>1.84e-06   299.709<br>4.08e-06   299.709<br>14: ABSLENGTH<br>1.84e-06   50000<br>4.08e-06   50000<br>0: RINDEX<br>1e-06   1.33<br>5e-06   1.33<br>6e-06   1.33<br>7e-06   1.33<br>9: GROUPVEL<br>1e-06   225.408<br>3e-06   225.408<br>5.5e-06   225.408<br>7e-06   225.408<br>10: MIEHG<br>1e-06   2.3<br>5e-06   1.3<br>6e-06   3.2<br>7e-06   6.7<br>5: MIEHG_FORWARD<br>0.6<br>6: MIEHG_BACKWARD<br>0.6<br>7: MIEHG_FORWARD_RATIO<br>1<br> Rmin/gate/aluminiumBall/geometry/setRmin<br> Rmin/gate/spineBoneBall/geometry/setRmin<br><br><br>List of Enabled processes:<br><br><br>   ===  Process: Bremsstrahlung  ===<br>Particle: e+<br>    * Model(s):<br>       - StandardModel<br>Particle: e-<br>    * Model(s):<br>       - StandardModel<br><br>   ===  Process: Compton  ===<br>Particle: gamma<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: PhotoElectric  ===<br>Particle: gamma<br>    * Model(s):<br>       - StandardModel<br><br>   ===  Process: RayleighScattering  ===<br>Particle: gamma<br>    * Model(s):<br>       - PenelopeModel<br><br>   ===  Process: eMultipleScattering  ===<br>Particle: e+<br>    * Model(s):<br>       - UrbanModel<br>Particle: e-<br>    * Model(s):<br>       - UrbanModel<br><br><br><br>List of initialized processes:<br><br><br>[Core-0] Initialization of geometry<br>G4PhysicalVolumeModel::Validate(): A volume of the same name and<br>  copy number ("world_phys", copy 0) still exists and is being used.<br>  But it is not the same volume you originally specified<br>  in /vis/scene/add/.<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>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>[Core-0] End of macro simu_ct.mac<br>GateOutputMgr deleting...<br>Graphics systems deleted.<br>Visualization Manager deleting...<br><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><br>Thread 3 (Thread 0x7fc415ea6700 (LWP 20470)):<br>#0  0x00007fc435fdf9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5602f3c3198c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88<br>#1  0x00007fc435fdf9f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x5602f3c31938, cond=0x5602f3c31960) at pthread_cond_wait.c:502<br>#2  0x00007fc435fdf9f3 in __pthread_cond_wait (cond=0x5602f3c31960, mutex=0x5602f3c31938) at pthread_cond_wait.c:655<br>#3  0x00007fc41b78bd5b in  () at /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so<br>#4  0x00007fc41b78bbd7 in  () at /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so<br>#5  0x00007fc435fd96db in start_thread (arg=0x7fc415ea6700) at pthread_create.c:463<br>#6  0x00007fc430cc288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95<br><br>Thread 2 (Thread 0x7fc4166a7700 (LWP 20469)):<br>#0  0x00007fc435fdf9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5602f3c31824) at ../sysdeps/unix/sysv/linux/futex-internal.h:88<br>#1  0x00007fc435fdf9f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x5602f3c317d0, cond=0x5602f3c317f8) at pthread_cond_wait.c:502<br>#2  0x00007fc435fdf9f3 in __pthread_cond_wait (cond=0x5602f3c317f8, mutex=0x5602f3c317d0) at pthread_cond_wait.c:655<br>#3  0x00007fc41b78bd5b in  () at /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so<br>#4  0x00007fc41b78bbd7 in  () at /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so<br>#5  0x00007fc435fd96db in start_thread (arg=0x7fc4166a7700) at pthread_create.c:463<br>#6  0x00007fc430cc288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95<br><br>Thread 1 (Thread 0x7fc4399c7bc0 (LWP 20451)):<br>#0  0x00007fc430c856c2 in __GI___waitpid (pid=20474, stat_loc=stat_loc<br>entry=0x7ffcf84ab3e8, options=options<br>entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30<br>#1  0x00007fc430bf0067 in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:149<br>#2  0x00007fc437e719fb in TUnixSystem::Exec(char const*) (shellcmd=<optimized out>, this=0x5602f2796fb0) at /home/gate/Softwares/root/core/unix/src/TUnixSystem.cxx:2119<br>#3  0x00007fc437e719fb in TUnixSystem::StackTrace() (this=0x5602f2796fb0) at /home/gate/Softwares/root/core/unix/src/TUnixSystem.cxx:2413<br>#4  0x00007fc437e743e4 in TUnixSystem::DispatchSignals(ESignals) (this=0x5602f2796fb0, sig=kSigSegmentationViolation) at /home/gate/Softwares/root/core/unix/src/TUnixSystem.cxx:3644<br>#5  0x00007fc435fe4890 in <signal handler called> () at /lib/x86_64-linux-gnu/libpthread.so.0<br>#6  0x00005602ef1aade5 in GateMaterialDatabase::~GateMaterialDatabase() ()<br>#7  0x00005602ef12d3e6 in GateDetectorConstruction::~GateDetectorConstruction() ()<br>#8  0x00007fc43532c056 in G4RunManager::DeleteUserInitializations() () at /usr/share/geant4/geant4.10.04.p02-install/lib/libG4run.so<br>#9  0x00007fc43532d250 in G4RunManager::~G4RunManager() () at /usr/share/geant4/geant4.10.04.p02-install/lib/libG4run.so<br>#10 0x00005602ef6ac6d9 in GateRunManager::~GateRunManager() ()<br>#11 0x00005602ef0a43b5 in main ()<br>===========================================================<br><br><br>The lines below might hint at the cause of the crash.<br>You may get help by asking at the ROOT forum <a href="http://root.cern.ch/forum">http://root.cern.ch/forum</a><br>Only if you are really convinced it is a bug in ROOT then please submit a<br>report at <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>#6  0x00005602ef1aade5 in GateMaterialDatabase::~GateMaterialDatabase() ()<br>#7  0x00005602ef12d3e6 in GateDetectorConstruction::~GateDetectorConstruction() ()<br>#8  0x00007fc43532c056 in G4RunManager::DeleteUserInitializations() () at /usr/share/geant4/geant4.10.04.p02-install/lib/libG4run.so<br>#9  0x00007fc43532d250 in G4RunManager::~G4RunManager() () at /usr/share/geant4/geant4.10.04.p02-install/lib/libG4run.so<br>#10 0x00005602ef6ac6d9 in GateRunManager::~GateRunManager() ()<br>#11 0x00005602ef0a43b5 in main ()<br>===========================================================<br><br></div></div></div>