ports/76120: [perl] coredump in perl 5.8.5 in malloc()-call from Perl_pp_split()

Jonas Nagel fireball at zerouptime.ch
Fri Jan 14 15:30:41 UTC 2005


On Thu, 13 Jan 2005 17:19:44 +0100
Jonas Nagel <fireball at zerouptime.ch> wrote:

 On Thu, 13 Jan 2005 13:40:35 +0100
 Anton Berezin <tobez at FreeBSD.org> wrote:
  
 > Ahhhh!
 > 
 > Could you send me the output of  perl -V  ?
 > 
 > I suspect the problem is related to perl malloc versus system malloc;
 > if perl -V reports that perl is built with its own malloc, a quick fix
 > will probably be to rebuild perl with system malloc:
 > 
 >    cd /usr/ports/lang/perl5.8
 >    make WITHOUT_PERL_MALLOC=yes
 > 
 > Why it is a problem is another story;  one possibility is the pcap perl
 > module bug.
 > 
 > Just guessing here, at this stage.
 > 
 > \Anton.
 > -- 
 > The moronity of the universe is a monotonically increasing function. --
 > Jarkko Hietaniemi
 
 Heh, I also see that I first compiled PERL yet with 5.2-CURRENT, but a recompile without PERL malloc did not help... :/
 
 Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
   Platform:
     osname=freebsd, osvers=5.2-current, archname=i386-freebsd-64int
     uname='freebsd freebsd.org 5.2-current freebsd 5.2-current #0: mon aug 9 23:46:42 pdt 2004 kris at freebsd.org:usrsrcsysmagickernelpath 386 '
     config_args='-sde -Dprefix=/usr/local -Darchlib=/usr/local/lib/perl5/5.8.5/mach -Dprivlib=/usr/local/lib/perl5/5.8.5 -Dman3dir=/usr/local/lib/erl5/5.8.5/perl/man/man3 -Dman1dir=/usr/local/man/man1 -Dsitearch=/usr/local/lib/perl5/site_perl/5.8.5/mach -Dsitelib=/usr/local/lib/perl5/lite_perl/5.8.5 -Dscriptdir=/usr/local/bin -Dsiteman3dir=/usr/local/lib/perl5/5.8.5/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dcc=cc -Doptimize=-O -pipe  -Duseshrplib -Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.5/BSDPAN" -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.5/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-liasing -pipe -I/usr/local/include',
     optimize='-O -pipe ',
     cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.5/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -ipe -I/usr/local/include'
     ccversion='', gccversion='3.4.2 [FreeBSD] 20040728', 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 ='-Wl,-E  -L/usr/local/lib'
     libpth=/usr/lib /usr/local/lib
     libs=-lm -lcrypt -lutil -lc
     perllibs=-lm -lcrypt -lutil -lc
     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.5/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
   Built under freebsd
   Compiled at Aug 10 2004 06:52:11
   @INC:
     /usr/local/lib/perl5/site_perl/5.8.5/mach
     /usr/local/lib/perl5/site_perl/5.8.5
     /usr/local/lib/perl5/site_perl
     /usr/local/lib/perl5/5.8.5/BSDPAN
     /usr/local/lib/perl5/5.8.5/mach
     /usr/local/lib/perl5/5.8.5
     .
 
 
 -- 
  Jonas Nagel <fireball at zerouptime.ch>



More information about the freebsd-ports-bugs mailing list