GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Program received signal SIGFPE, Arithmetic exception
Program received signal SIGFPE, Arithmetic exception [message #6125] Thu, 20 March 2008 10:39 Go to next message
Arkadiusz Bubak is currently offline  Arkadiusz Bubak
Messages: 5
Registered: September 2004
Location: Groningen
occasional visitor

From: *KVI.nl
Hi

I have a problem with macros:
macro/run/run_sim.C and and identical with run_sim1.C

I am using:
1. /misc/cbmsoft/Debian3.1/fairsoft
2. pandaroot rev. 2351
3. lxi003.gsi.de

In both macros if I change geant version from geant3 to geant4 I will get identical errors.

After run in gdb debugger I got:

-----------------------------------------------
-I CbmPrimaryGenerator: 10 primary tracks from vertex (0, 0, 0)
>>> Event 0
tof volume 14 2212
Hit in fullname /cave_0/tofB01_0/tof02_0/tof07_0/

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 16384 (LWP 8631)]
0x473d461c in G4VProcess::AtRestGPIL (this=0xcf5c588, track=@0xe1588e0, condition=0xb225c40)
at G4VProcess.hh:434
434 return thePILfactor*value;
Current language: auto; currently c++
-------------------------------------------

Any idea what can be wrong?

Cheers
Arek

[Updated on: Thu, 20 March 2008 10:40]

Report message to a moderator

Re: Program received signal SIGFPE, Arithmetic exception [message #6126 is a reply to message #6125] Thu, 20 March 2008 10:49 Go to previous messageGo to next message
Anonymous Poster From: *gsi.de
Hi Arek,
I tried macro/run/run_sim.C macro and it is working for me with the same pandaroot rev. 2351 version which you have tried. I think you should set the SIMPATH as:
export SIMPATH=/misc/cbmsoft/Debian3.1/mar08/fairsoft/

then recompile and run.

Best regards,
Dipak
Re: Program received signal SIGFPE, Arithmetic exception [message #6128 is a reply to message #6126] Thu, 20 March 2008 11:22 Go to previous messageGo to next message
Arkadiusz Bubak is currently offline  Arkadiusz Bubak
Messages: 5
Registered: September 2004
Location: Groningen
occasional visitor

From: *KVI.nl
Hi Dipak,

With SIMPATH=/misc/cbmsoft/Debian3.1/mar08/fairsoft
clean pandaroot revision 2351, I still have the same problem.

I download fairsoft.tar.gz from web page and compiled on openSuse10.2. And I'm facing also the same problem.
Re: Program received signal SIGFPE, Arithmetic exception [message #6137 is a reply to message #6125] Fri, 21 March 2008 00:03 Go to previous messageGo to next message
Johan Messchendorp is currently offline  Johan Messchendorp
Messages: 693
Registered: April 2007
Location: University of Groningen
first-grade participant

From: *xs4all.nl
Dear all,

I can confirm Arek's message. For the new fairsoft package with Pandaroot rev.2360, I get the following on a Debian etch machine, 32 bit (vmware, gcc 4.1.2, run_sim1.C with TGeant4):

------------------------------------------------------
Index : 23 used in the geometry : Yes recalculation needed : No
Material : DCHmixture
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm
Energy thresholds : gamma 990 eV e- 990 eV e+ 990 eV
Region(s) which use this couple :
DefaultRegionForTheWorld

====================================================================

### Run 0 start.


>>>>>>>>>>>>>>>>>>>>new event
-I CbmPrimaryGenerator: 10 primary tracks from vertex (0, 0, 0)
>>> Event 0
tof volume 14 2212
Hit in fullname /cave_0/tofB01_0/tof02_0/tof07_0/

*** Break *** floating point exception
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
Attaching to program: /proc/9002/exe, process 9002
[Thread debugging using libthread_db enabled]
[New Thread -1223895360 (LWP 9002)]
Failed to read a valid object file image from memory.
0xb7f1d410 in ?? ()
#1 0x00000001 in ?? ()
#2 0x00000000 in ?? ()
Root >
---------------------------------------------------

It works however on a 64 bit configuration (same machine, same gcc compiler). Furthermore, 64-bit MAC OS X 10.5 also works fine....

So, it looks to me like a problem related to 32-bit machines?!?

Johan.



Johan Messchendorp
University of Groningen/KVI
Zernikelaan 25
NL-9747 AA Groningen
The Netherlands
tel. +31-503633558
fax +31-503634003

[Updated on: Fri, 21 March 2008 00:13]

Report message to a moderator

Re: Program received signal SIGFPE, Arithmetic exception [message #6207 is a reply to message #6137] Thu, 03 April 2008 12:31 Go to previous message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: *gsi.de
Dear Arek ,
have you tried to remove the optical physics option from gconfig/G4Config.C

you should have only "QGSP_BERT_EMV option
TG4RunConfiguration* runConfiguration
= new TG4RunConfiguration("geomRoot", "QGSP_BERT_EMV");

instead of = new TG4RunConfiguration("geomRoot", "QGSP_BERT_EMV+optical");


let me know if it works.
cheers
ALicia.
Previous Topic: Problem with G4 Libraries
Next Topic: Problems running Geant under Debian Etch
Goto Forum:
  


Current Time: Thu Dec 01 20:32:42 CET 2022

Total time taken to generate the page: 0.00868 seconds