Message: Re: Geant4.10.01 segmentation violation when exiting Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Geant4.10.01 segmentation violation when exiting 

Forum: Installation and Configuration
Re: None Geant4.10.01 segmentation violation when exiting (Florian Zenoni)
Re: Feedback Re: Geant4.10.01 segmentation violation when exiting (Michael H. Kelsey)
Re: None Re: Geant4.10.01 segmentation violation when exiting (Florian Zenoni)
Date: 21 Feb, 2015
From: C Mos <C Mos>

Hi

I am getting a segmentation violation when exiting as well when compiling with geant4.10.01. I tested a couple of physics list and these are my results:

  FTFP_BERT_HP...Fails when exiting
  Shielding......Fails when exiting
  FTFP_BERT......Normal termination

Error print out at the end of this message. Any ideas how to solve this problem? Next is some info of my system and G4 build setup and data files used. Please notice I need HP for my simulations.

  kurama@kurama myApp]$ gcc --vers
  gcc (GCC) 4.9.2 20150212 (Red Hat 4.9.2-6)

  [kurama@kurama myApp]$ uname -a
  Linux kurama.localdomain 3.18.6-200.fc21.x86_64 #1 SMP Fri Feb 6 22:59:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

  kurama@kurama myApp]$more g4install.txt
  cmake -DCMAKE_INSTALL_PREFIX=/home/kurama/myApp/geant4.10.01-build/ /home/kurama/myAppSrc/geant4/geant4.10.01 -DCMAKE_BUILD_TYPE=Debug -DGEANT4_BUILD_MULTITHREADED=ON -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_
USE_RAYTRACER_X11=ON -DGEANT4_BUILD_EXAMPLES=OFF -DGEANT4_USE_QT=ON -DGEANT4_INSTALL_DATADIR=/home/kurama/myAppSrc/geant4/data_G4.10.01/data/

  [kurama@kurama geant4]$ ls /home/kurama/myAppSrc/geant4/data_G4.10.01/data/ -1
  ENDF.B-VII.0   [NOTE:from_G4LEND]
  G4ABLA3.0
  G4EMLOW6.41
  G4ENSDFSTATE1.0
  G4NDL4.5
  G4NEUTRONXS1.4
  G4PII1.3
  G4SAIDDATA1.1
  PhotonEvaporation3.1
  RadioactiveDecay4.2
  RealSurface1.0

Thxs,

C Mos

+-+-+-+-+-+-+-+--+-+-+-+-+-+THIS next is PART of the output when I exit my program....

Graphics systems deleted. Visualization Manager deleting... Total navigation history collections cleaned: 2 Normal termination of ./APIdrdcAppTNAV6-0 at Sat Feb 21 20:48:16 2015

 *** Break *** segmentation violation

=========================================================== There was a crash. This is the entire stack trace of all threads: ===========================================================

#0  0x00007f32ca96851a in waitpid () at /usr/lib64/libc.so.6
#1  0x00007f32ca8e6a2b in do_system () at /usr/lib64/libc.so.6
#2  0x00007f32d89a0a04 in TUnixSystem::StackTrace() () at /home/kurama/myApp/rootDir/root/lib/root/libCore.so
#3  0x00007f32d89a299c in TUnixSystem::DispatchSignals(ESignals) () at /home/kurama/myApp/rootDir/root/lib/root/libCore.so
#4  0x00007f32cac710d0 in <signal handler called> () at /usr/lib64/libpthread.so.0
#5  0x00007f32d11cf10c in __gnu_cxx::__normal_iterator<G4NeutronHPChannelList**, std::vector<G4NeutronHPChannelList*, std::allocator<G4NeutronHPChannelList*> > >::__normal_iterator(G4NeutronHPChannelList** const&) (this=0x7fff1ec713a0, __i=
0x0: <error reading variable>) at /usr/include/c++/4.9.2/bits/stl_iterator.h:729
#6  0x00007f32d11cef41 in std::vector<G4NeutronHPChannelList*, std::allocator<G4NeutronHPChannelList*> >::begin() (this=0x0) at /usr/include/c++/4.9.2/bits/stl_vector.h:548
#7  0x00007f32d11cbdec in G4NeutronHPInelastic::~G4NeutronHPInelastic() (this=0x1881f30, __in_chrg=<optimized out>) at /home/kurama/myAppSrc/geant4/geant4.10.01/source/processes/hadronic/models/neutron_hp/src/G4NeutronHPInelastic.cc:205
#8  0x00007f32d11cc4b8 in G4NeutronHPInelastic::~G4NeutronHPInelastic() (this=0x1881f30, __in_chrg=<optimized out>) at /home/kurama/myAppSrc/geant4/geant4.10.01/source/processes/hadronic/models/neutron_hp/src/G4NeutronHPInelastic.cc:210
#9  0x00007f32d11897b1 in G4HadronicInteractionRegistry::Clean() (this=0x17576b0) at /home/kurama/myAppSrc/geant4/geant4.10.01/source/processes/hadronic/models/management/src/G4HadronicInteractionRegistry.cc:64
#10 0x00007f32d0da25e8 in G4HadronicProcessStore::~G4HadronicProcessStore() (this=0x17562c0, __in_chrg=<optimized out>) at /home/kurama/myAppSrc/geant4/geant4.10.01/source/processes/hadronic/management/src/G4HadronicProcessStore.cc:76
#11 0x00007f32d0da708b in G4ThreadLocalSingleton<G4HadronicProcessStore>::Clear() (this=0x7f32d216aaa0 <G4HadronicProcessStore::Instance()::instance>) at /home/kurama/myAppSrc/geant4/geant4.10.01/source/global/management/include/G4ThreadLocalSingleton.hh:173
#12 0x00007f32d0da61e5 in G4ThreadLocalSingleton<G4HadronicProcessStore>::~G4ThreadLocalSingleton() (this=0x7f32d216aaa0 <G4HadronicProcessStore::Instance()::instance>, __in_chrg=<optimized out>) at /home/kurama/myAppSrc/geant4/geant4.10.01/source/global/management/include/G4ThreadLocalSingleton.hh:143
#13 0x00007f32ca8dd382 in __run_exit_handlers () at /usr/lib64/libc.so.6
#14 0x00007f32ca8dd3d5 in  () at /usr/lib64/libc.so.6
#15 0x00007f32ca8c3fe7 in __libc_start_main () at /usr/lib64/libc.so.6
#16 0x000000000042ea29 in _start ()
===========================================================

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 0x00007f32d11cf10c in __gnu_cxx::__normal_iterator<G4NeutronHPChannelList**, std::vector<G4NeutronHPChannelList*, std::allocator<G4NeutronHPChannelList*> > >::__normal_iterator(G4NeutronHPChannelList** const&) (this=0x7fff1ec713a0, __i= 0x0: <error reading variable>) at /usr/include/c++/4.9.2/bits/stl_iterator.h:729

#6  0x00007f32d11cef41 in std::vector<G4NeutronHPChannelList*, std::allocator<G4NeutronHPChannelList*> >::begin() (this=0x0) at /usr/include/c++/4.9.2/bits/stl_vector.h:548
#7  0x00007f32d11cbdec in G4NeutronHPInelastic::~G4NeutronHPInelastic() (this=0x1881f30, __in_chrg=<optimized out>) at /home/kurama/myAppSrc/geant4/geant4.10.01/source/processes/hadronic/models/neutron_hp/src/G4NeutronHPInelastic.cc:205
#8  0x00007f32d11cc4b8 in G4NeutronHPInelastic::~G4NeutronHPInelastic() (this=0x1881f30, __in_chrg=<optimized out>) at /home/kurama/myAppSrc/geant4/geant4.10.01/source/processes/hadronic/models/neutron_hp/src/G4NeutronHPInelastic.cc:210
#9  0x00007f32d11897b1 in G4HadronicInteractionRegistry::Clean() (this=0x17576b0) at /home/kurama/myAppSrc/geant4/geant4.10.01/source/processes/hadronic/models/management/src/G4HadronicInteractionRegistry.cc:64
#10 0x00007f32d0da25e8 in G4HadronicProcessStore::~G4HadronicProcessStore() (this=0x17562c0, __in_chrg=<optimized out>) at /home/kurama/myAppSrc/geant4/geant4.10.01/source/processes/hadronic/management/src/G4HadronicProcessStore.cc:76
#11 0x00007f32d0da708b in G4ThreadLocalSingleton<G4HadronicProcessStore>::Clear() (this=0x7f32d216aaa0 <G4HadronicProcessStore::Instance()::instance>) at /home/kurama/myAppSrc/geant4/geant4.10.01/source/global/management/include/G4ThreadLocalSingleton.hh:173
#12 0x00007f32d0da61e5 in G4ThreadLocalSingleton<G4HadronicProcessStore>::~G4ThreadLocalSingleton() (this=0x7f32d216aaa0 <G4HadronicProcessStore::Instance()::instance>, __in_chrg=<optimized out>) at /home/kurama/myAppSrc/geant4/geant4.10.01/source/global/management/include/G4ThreadLocalSingleton.hh:143
#13 0x00007f32ca8dd382 in __run_exit_handlers () at /usr/lib64/libc.so.6
#14 0x00007f32ca8dd3d5 in  () at /usr/lib64/libc.so.6
#15 0x00007f32ca8c3fe7 in __libc_start_main () at /usr/lib64/libc.so.6
#16 0x000000000042ea29 in _start ()
===========================================================

  [kurama@kurama APIdrdc2013_inKumara]$ env | grep G4
  G4LEVELGAMMADATA=/home/kurama/myAppSrc/geant4/data_G4.10.01/data/PhotonEvaporation3.1
  G4INSTALL=/home/kurama/myApp/geant4.10.01-build/share/Geant4-10.1.0/geant4make
  CMG4SCRIPT=/home/kurama/myApp/geant4.10.01-build/share/Geant4-10.1.0/geant4make/geant4make.sh
  G4INCLUDE=/home/kurama/myApp/geant4.10.01-build/include/Geant4
  G4NEUTRONHP_DO_NOT_ADJUST_FINAL_STATE=1
  G4NEUTRONXSDATA=/home/kurama/myAppSrc/geant4/data_G4.10.01/data/G4NEUTRONXS1.4
  G4LEDATA=/home/kurama/myAppSrc/geant4/data_G4.10.01/data/G4EMLOW6.41
  G4VIS_USE_OPENGLQT=1
  G4VIS_USE=1
  G4NEUTRONHPDATA=/home/kurama/myAppSrc/geant4/data_G4.10.01/data/G4NDL4.5
  G4RADIOACTIVEDATA=/home/kurama/myAppSrc/geant4/data_G4.10.01/data/RadioactiveDecay4.2
  G4ABLADATA=/home/kurama/myAppSrc/geant4/data_G4.10.01/data/G4ABLA3.0
  G4LIB=/home/kurama/myApp/geant4.10.01-build/lib64/Geant4-10.1.0
  G4PIIDATA=/home/kurama/myAppSrc/geant4/data_G4.10.01/data/G4PII1.3
  G4LIB_BUILD_SHARED=1
  G4SAIDXSDATA=/home/kurama/myAppSrc/geant4/data_G4.10.01/data/G4SAIDDATA1.1
  G4VIS_USE_OPENGLX=1
  G4UI_USE_TCSH=1
  G4VIS_USE_RAYTRACERX=1
  G4REALSURFACEDATA=/home/kurama/myAppSrc/geant4/data_G4.10.01/data/RealSurface1.0
  G4SYSTEM=Linux-g++
  G4UI_USE_QT=1
  G4WORKDIR=/home/kurama/workbench/g4SourceCode/build/
  G4LIB_USE_ZLIB=1

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Geant4.10.01 segmentation violation when exiting   (Koi, Tatsumi - 23 Feb, 2015)
(_ Note: Re: Geant4.10.01 segmentation violation when exiting   (C Mos - 24 Feb, 2015)
(_ None: Re: Geant4.10.01 segmentation violation when exiting   (Koi, Tatsumi - 24 Feb, 2015)
(_ None: Re: Geant4.10.01 segmentation violation when exiting   (C Mos - 24 Feb, 2015)
(_ None: Re: Geant4.10.01 segmentation violation when exiting   (Koi, Tatsumi - 24 Feb, 2015)
(_ None: Re: Geant4.10.01 segmentation violation when exiting   (C Mos - 24 Feb, 2015)
(_ None: Re: Geant4.10.01 segmentation violation when exiting   (C Mos - 26 Feb, 2015)
 Add Message Add Message
to: "Re: Geant4.10.01 segmentation violation when exiting"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]