http://www.perlmonks.org?node_id=1002750


in reply to unusual perl segfaults

perl version is perl-5.8.8-32.el5_6.3
[~]# perl --version This is perl, v5.8.8 built for x86_64-linux
OS is CentOS release 5.8

Replies are listed 'Best First'.
Re^2: unusual perl segfaults
by Anonymous Monk on Nov 08, 2012 at 21:22 UTC
    additional info
    Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=linux, osvers=2.6.18-128.el5xen, archname=x86_64-linux uname='linux default.localhost.com 2.6.18-128.el5xen #1 smp wed ja +n 21 11:12:42 est 2009 x86_64 x86_64 x86_64 gnulinux ' config_args='-des -Dprefix=/usr/local -Doptimize=-Os -Duseshrplib +-Dusemymalloc=y -Accflags=-fPIC -DPIC -m64 -Dlibpth=/usr/local/lib64 +/lib64 /usr/lib64 -Aldflags=-L/usr/lib64 -L/lib64 -lresolv -lnsl -ldl + -lm -lcrypt -lutil -lc' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultipl +icity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=y, bincompat5005=undef Compiler: cc='cc', ccflags ='-fPIC -DPIC -m64 -fno-strict-aliasing -pipe -Wd +eclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE - +D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-Os', cppflags='-fPIC -DPIC -m64 -fno-strict-aliasing -pipe -Wdeclaratio +n-after-statement -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='4.1.2 20080704 (Red Hat 4.1.2-51)', gcco +sandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=1 +6 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', + lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/lib64 -L/lib64 -lresolv -lnsl -ldl -lm +-lcrypt -lutil -lc' libpth=/usr/local/lib64 /lib64 /usr/lib64 libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.5.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.5' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E - +Wl,-rpath,/usr/local/lib/perl5/5.8.8/x86_64-linux/CORE' cccdlflags='-fpic', lddlflags='-shared -L/usr/lib64 -L/lib64' Characteristics of this binary (from libperl): Compile-time options: MYMALLOC PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO Built under linux Compiled at Nov 25 2011 14:21:17 @INC: /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .
      it seems i was able to resolve my problem by setting the data segment size value.
      ulimit -n 1024 -u 35 -m 200000 -d unlimited -s 8192 -c 200000 -v 2000 +00
      after setting I didn't experience core dumps anymore.

        Thank you so much, it has helped in my case too!

        V.Melnik