Subject: Re: Spam that makes SpamAssassin crash Perl
To: Anders Hogrelius <>
From: Paul Mather <>
List: port-alpha
Date: 11/28/2003 15:33:41
On Fri, Nov 28, 2003 at 08:29:03PM +0100, Anders Hogrelius wrote:

=> I tried updating to perl-5.6.1nb9, and although perl doesn't crash, it
=> still behaves weird... I haven't compiled 5.8.2 yet though...
=> ahs@hogrelius:~> perl -e 'print exp(0 - 736.285624221884), "\n";'
=> 0

FWIW, this is what I get using Perl 5.8.1 built from pkgsrc under

$ perl -e 'print exp(0 - 736.285624221884), "\n";'
$ perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
    osname=netbsd, osvers=1.6zc, archname=alpha-netbsd
    uname='netbsd 1.6zc netbsd 1.6zc (chumby) #0: fri sep 26 23:31:36 edt 2003 alpha '
    config_args='-sde -Dprefix=/usr/pkg -Dscriptdir=/usr/pkg/bin -Darchname=alpha-netbsd -Doptimize=-O2 -mieee -I/usr/pkg/include -Dinstallstyle=lib/perl5 -Ui_malloc -Uusemymalloc -Uinstallusrbinperl -Dman3ext=3 -Dman3dir=/usr/pkg/lib/perl5/5.8.1/man/man3 -Dsiteman3dir=/usr/pkg/lib/perl5/site_perl/man/man3 -Dsiteprefix=/usr/pkg -Dinstallsiteman1dir=/usr/pkg/man/man1 -Dcc=cc -Dlibswanted=m crypt -Duseshrplib'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=define uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
    cc='cc', ccflags ='-fno-strict-aliasing -I/usr/pkg/include',
    optimize='-O2 -mieee -I/usr/pkg/include',
    cppflags='-fno-strict-aliasing -I/usr/pkg/include'
    ccversion='', gccversion='3.3.1', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags ='-Wl,-R/usr/pkg/lib  -L/usr/pkg/lib'
    libpth=/usr/pkg/lib /usr/lib
    libs=-lm -lcrypt
    perllibs=-lm -lcrypt
    libc=/lib/, so=so, useshrplib=true,
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E  -Wl,-R/usr/pkg/lib/perl5/5.8.1/alpha-netbsd/CORE'
    cccdlflags='-DPIC -fPIC ', lddlflags='--whole-archive -shared  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib'

Characteristics of this binary (from libperl):
  Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES
  Built under netbsd
  Compiled at Oct  9 2003 11:26:54




"Without music to decorate it, time is just a bunch of boring production
 deadlines or dates by which bills must be paid."
        --- Frank Vincent Zappa