Skip to content

gjs executable crash - Gate9 #630

@ACTIVgroup

Description

@ACTIVgroup

Execution of gjs crashes with Gate9 but not with Gate8

  • OS: Ubuntu 20.04,
  • Gate versions: v8.2, v9.0, v9.1, v9.3
  • Geant4 versions: 10.05.p01, 10.6.3, 10.7.4, 11.1.2
  • Root version: v6-26-06
  • compiler version: gcc 9.4.0

Minimal example
main.mac:

############# WORLD ###############
/gate/geometry/setMaterialDatabase ../GateMaterials.db

########### ACQUISITION ###############
/control/execute acquisition.mac

############## OUTPUT ################
/gate/output/imageCT/enable
/gate/output/imageCT/setFileName test

exit

terminal:

➜  localadmin✗ source gate_env_8.2.sh                                                 
➜  localadmin ✗ ./gjs_Gate8.2 -numberofsplits 2 -cs condor.script -v 3 main.mac
Information : using  condor as default cluster platform!
Information : using  condor as cluster platform!
Summary of all outputs:
  ROOT       output is disabled
  ASCII      output is disabled
  ARF        output is disabled
  PROJECTION output is disabled
  ECAT7      output is disabled
  SINOGRAM   output is disabled
  SINOACCEL  output is disabled
  LMF        output is disabled
  CT         output is disabled
  GPUSPECT   output is disabled
Summary of all actors:
  ~~~
Number of enabled output: 1
Number of enabled actors: 0
➜  localadmin ✗ source gate_env_9.3.sh                                         
➜  localadmin ✗ ./gjs_Gate9.3 -numberofsplits 2 -cs condor.script -v 3 main.mac
Information : using  condor as default cluster platform!
Information : using  condor as cluster platform!
Summary of all outputs:
  ROOT       output is disabled
  ASCII      output is disabled
  ARF        output is disabled
  PROJECTION output is disabled
  ECAT7      output is disabled
  SINOGRAM   output is disabled
  SINOACCEL  output is disabled
  LMF        output is disabled
  CT         output is disabled
  GPUSPECT   output is disabled
Summary of all actors:
  ~~~
Number of enabled output: 1
Number of enabled actors: 0
[1]    1417745 floating point exception (core dumped)  ./gjs_Gate9.3 -numberofsplits 2 -cs condor.script -v 3 main.mac

gate_env_8.2.sh:

#!/bin/zsh

### ROOT ###
source /home/localadmin/workspace/root/root_cxx17_install/bin/thisroot.sh

### GEANT4 ###
temp="$(pwd)"
cd /home/localadmin/workspace/geant4/geant4_10/geant4.10.05.p01_OPENGL_install/bin
source geant4.sh
cd $temp

### GATE ###
export PATH=$PATH:/home/localadmin/workspace/gate/Gate8.2-install/bin
export GC_DOT_GATE_DIR=/home/localadmin/PycharmProjects/ct-scripts/open_gate/phase_contrast
export GC_GATE_EXE_DIR=/home/localadmin/workspace/gate/Gate8.2-install/bin
export GC_EXEC=/home/localadmin/workspace/gate/Gate9.3-G4DATA-install/bin

gate_env_9.3.sh:

#!/bin/zsh

### ROOT ###
source /home/localadmin/workspace/root/root_cxx17_install/bin/thisroot.sh

### GEANT4 ###
temp="$(pwd)"
cd /home/localadmin/workspace/geant4/geant4_11.1.2/geant4-v11.1.2-DATA-install/bin
source geant4.sh
cd $temp

### GATE ###
export PATH=$PATH:/home/localadmin/workspace/gate/Gate9.3-G4DATA-install/bin
export GC_DOT_GATE_DIR=/home/localadmin/PycharmProjects/ct-scripts/open_gate/phase_contrast
export GC_GATE_EXE_DIR=/home/localadmin/workspace/gate/Gate9.3-G4DATA-install/bin
export GC_EXEC=/home/localadmin/workspace/gate/Gate9.3-G4DATA-install/bin

Additional context

  • Problem occurs with bash and zsh
  • Problem also occurs with Gate9.0 and Gate9.1
  • Problem occurs with all my other (complete) .mac files
  • Geant4 was installed with flags -DGEANT4_INSTALL_DATA=ON -DGEANT4_BUILD_MULTITHREADED=OFF

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions