0.11.1 debian failures

Matthias Andree matthias.andree at gmx.de
Thu Mar 6 11:56:11 CET 2003


On Thu, 06 Mar 2003, David Relson wrote:

> ***alpha***
> 
> ./t.nullstatsprefix: line 9: 26598 Done                    ( echo; echo 
> 'blah' )
>      26599 Floating point exception| $VAL ${relpath}/bogofilter -p -v -e 
> -C >$TMPDIR/out
> FAIL: t.nullstatsprefix

David, ix86 reports "nan" or "NaN" in the 0.40 stats line:

Linux glibc 2.2.x:

         0.30    0  0.000000  0.000000  
         0.40    0  0.000000  nan  
         0.50    0  0.000000  0.000000  

FreeBSD libc 4, Solaris 8 64-bit:

         0.30    0  0.000000  0.000000  
         0.40    0  0.000000  NaN  
         0.50    0  0.000000  0.000000  

Looks like Alphas generate an exception for that case where Sparcs and
AMDs don't. We need to fix some floating-point code.

Now watch this proof^Wtest program:

main() {
    volatile double a, b;
    a = 0.0;
    b = a/a;
    printf("%g %g\n", a, b);
    exit(0);
}

Compiled on SourceForge's EV67 (Alpha):

m-a at usf-cf-alpha-linux-1:~$ gcc -o try -O try.c
m-a at usf-cf-alpha-linux-1:~$ ./try
Floating point exception

Compiled on SuSE Linux 8.1 AMD Duron (i386):

emma at merlin:/tmp > gcc -o try -O try.c
emma at merlin:/tmp > ./try
0 nan

Compiled on Ultrasparc:

bash-2.05$ uname -a
SunOS flanders 5.8 Generic_108528-15 sun4u sparc SUNW,Ultra-5_10
bash-2.05$ ./try
0 NaN

> *** s390 ***
> 
> ./t.lock2: line 35:  3723 Segmentation fault      ${relpath}/bogofilter -n 
> -d $TMPDIR -c $CONFIG <$TMPDIR/inp 2>>$TMPDIR/log
> ./t.lock2: line 35:  3718 Segmentation fault      ${relpath}/bogofilter -n 
> -d $TMPDIR -c $CONFIG <$TMPDIR/inp 2>>$TMPDIR/log
> ./t.lock2: line 35:  3717 Segmentation fault      ${relpath}/bogofilter -n 
> -d $TMPDIR -c $CONFIG <$TMPDIR/inp 2>>$TMPDIR/log
> FAIL: t.lock2

I have no idea yet what happens there.

-- 
Matthias Andree




More information about the bogofilter-dev mailing list