Re: [ROOT] SIGFPE in TBuffer

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Apr 02 2002 - 08:36:18 MEST


Hi Andre,

This floating point exception may occur when your array of floating points
include an illegal floating point number NaN.

Rene Brun

André David wrote:
> 
> Hi ROOTers,
> 
> While generating event trees we would get (apparently at a random event
> number) the infamous message:
> 
> *** Break *** floating point exception
> 
> After debuggig our part of the code we traced this fault (with gdb) to
> come from:
> 
> Program received signal SIGFPE, Arithmetic exception.
> 0x4164e96e in TBuffer::WriteFastArray () from
> /usr/local/root/lib/libCore.so
> Current language:  auto; currently c
> (gdb)
> 
> After looking at the source files we found no reason to get an FPE in
> WriteFastArray() and we can't explore further on which exact line is
> responsible for this. Furthermore, our code is too big to be posted here
> to reproduce the fault.
> 
> System: Linux RedHat 6.2 (freshly rebooted machine ;) )
> 
> Can anyone shed some light on this one?
> 
> Cheers,
> 
> Andre
> 
>   --------------------------------------------------------------------------------
> 
>                             Name: Andre.David.vcf
>    Andre.David.vcf          Type: VCard (text/x-vcard)
>                         Encoding: 7bit
>                      Description: Card for André David



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:47 MET