Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Dec 2005 00:52:22 GMT
From:      vasilis <vasilis@karkampounas.gr>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/90832: problem with perl 5.8.7 both packaged and ported
Message-ID:  <200512230052.jBN0qMIh070764@www.freebsd.org>
Resent-Message-ID: <200512230100.jBN10J5w027031@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         90832
>Category:       ports
>Synopsis:       problem with perl 5.8.7 both packaged and ported
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 23 01:00:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     vasilis
>Release:        6.0, 5.4
>Organization:
home
>Environment:
6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005     root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC  i386 

       
>Description:
shell>perl -e '$h.=" string\n" for (1..1243); $h=~/^(\s+\S.*\n)*/'

shell> perl -e '$h.=" string\n" for (1..1244); $h=~/^(\s+\S.*\n)*/'
Bus error (core dumped)
shell>ls -al /tmp/*.core
/tmp/f-protd.core (caused from f-prot scan-mail)

shell>  perl -v

This is perl, v5.8.7 built for i386-freebsd-64int
(with 2 registered patches, see perl -V for more detail)

shell> perl -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
  Platform:
    osname=freebsd, osvers=6.0-release, archname=i386-freebsd-64int
    uname='freebsd hp.karkampounas.gr 6.0-release freebsd 6.0-release #0: thu nov 3 09:36:13 utc 2005 root@x64.samsco.home:usrobjusrsrcsysgeneric i386 '
    config_args='-sde -Dprefix=/usr/local -Darchlib=/usr/local/lib/perl5/5.8.7/mach -Dprivlib=/usr/local/lib/perl5/5.8.7 -Dman3dir=/usr/local/lib/perl5/5.8.7/perl/man/man3 -Dman1dir=/usr/local/man/man1 -Dsitearch=/usr/local/lib/perl5/site_perl/5.8.7/mach -Dsitelib=/usr/local/lib/perl5/site_perl/5.8.7 -Dscriptdir=/usr/local/bin -Dsiteman3dir=/usr/local/lib/perl5/5.8.7/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dcc=cc -Duseshrplib -Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.7/BSDPAN" -Doptimize=-O2 -fno-strict-aliasing -pipe  -Ud_dosuid -Ui_gdbm -Dusethreads=n -Dusemymalloc=y -Duse64bitint'
    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=undef uselongdouble=undef
    usemymalloc=y, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.7/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include',
    optimize='-O2 -fno-strict-aliasing -pipe ',
    cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.7/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include'
    ccversion='', gccversion='3.4.4 [FreeBSD] 20050518', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags ='-pthread -Wl,-E -L/usr/local/lib'
    libpth=/usr/lib /usr/local/lib
    libs=-lm -lcrypt -lutil
    perllibs=-lm -lcrypt -lutil
    libc=, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -Wl,-R/usr/local/lib/perl5/5.8.7/mach/CORE'
    cccdlflags='-DPIC -fPIC', lddlflags='-shared  -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
  Locally applied patches:
        defined-or
        SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962
  Built under freebsd
  Compiled at Dec 23 2005 01:19:53
  @INC:
    /usr/local/lib/perl5/5.8.7/BSDPAN
    /usr/local/lib/perl5/site_perl/5.8.7/mach
    /usr/local/lib/perl5/site_perl/5.8.7
    /usr/local/lib/perl5/site_perl
    /usr/local/lib/perl5/5.8.7/mach
    /usr/local/lib/perl5/5.8.7
    .

-------------------------------------------------
The perl installation (port or pkg) until today has the same behavior causing
spamassassin,f-prot mail-scanner and probably others to make DoS, with large headered emails, or virus storm........
>How-To-Repeat:
              
>Fix:
Fix? Hmmmmmmmm, not exactly, but....
In order to keep tha pkgdb updated keep your ported perl5.8.7 installed.
Download the source, and reinstall it, by using general commands like..
        rm -f config.sh Policy.sh
        sh Configure -de
        make
        make test
        make install
---------------
After that, perl runs smoothly....
freebsd 5.2.1 with perl ported v5.8.6 runs perfectly..
freebsd 5.3 with v5.8.5 no problems... 
             
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512230052.jBN0qMIh070764>