Problem 195 - Segmentation fault
Summary: Segmentation fault
Status: CLOSED LATER
Alias: None
Product: Examples/Basic and Novice
Classification: Unclassified
Component: N02 (show other problems)
Version: other
Hardware: PC Linux
: P2 normal
Assignee: John Apostolakis
URL:
Depends on:
Blocks:
 
Reported: 2001-01-16 07:07 CET by bheber
Modified: 2007-04-08 18:47 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description bheber 2001-01-16 07:07:04 CET
I am running SuSe Linux 7.0 with CLHEP 1.6 and GEANT 4.3.0 and GEANT 4.2.0
installed. Since we recently change from GEANT 3.2 to the new GEANT version, I
don't have much experience. However, example novize/N02 stops after
initialisation:

**********************************************
 Geant4 version $Name: geant4-03-00 $
                                (15-Dec-2000)
             Copyright : Geant4 Collaboration
**********************************************
Segmentation fault

While it runs with version 4.2.0 until the  Idle>

Example Nr. 1 is running with both geant versions.

Thanks for your help

Bernd
Comment 1 John Apostolakis 2001-01-16 09:39:59 CET
Could you give some more information about your setup ?
In particular what is the version of the compiler you are using ?
Comment 2 John Apostolakis 2001-01-16 11:42:59 CET
----------  From: Bernd Heber  <bheber@uni-osnabrueck.de>  -------------------

Here are some additional informations. Currently I am back to version
4.2.0. If I am using 4.3.0 I only switch the first line in the export
G4INSTALL line of the profile.local.

export G4INSTALL=/opt/cern/geant4.2.0/
export G4SYSTEM=Linux-g++
export CLHEP_BASE_DIR=/opt/cern/CLHEP/
export CLHEP_LIB_DIR=/opt/cern/CLHEP/lib/
export CLHEP_INCLUDE_DIR=/opt/cern/CLHEP/include
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/cern/CLHEP/lib"

The version of the compiler I am using should be:

heber@ace:~ > g++ -v
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.2/specs
gcc version 2.95.2 19991024 (release)

I hope these additional informations help. However, I remember that I
was not able to install CLHEP from the source files. I am using the
precompiled libraries for CLHEP as well as for GEANT 4.2.0 as GEANT
4.3.0

-------------------------- Responce --------------------------------------
    Unfortunately version 2.95.2 g++ is not currently supported by
Geant4.   We are studying the problems experienced with g++ 2.95.2
but we do not know when/if we will support it.

   On Linux we currently support egcs release 1.1.2 ( which reports
itself as g++ 2.91.66).
Comment 3 Gabriele Cosmo 2002-05-24 03:56:59 CEST
Closed. I guess this problem is resolved since release 3.1,
when support for gcc-2.95.2 was added.