Hello,
I am using httpd 2.2.15(worker MPM), perl 5.20.1 with modperl 2.0.8 to use 
ProxyPerlHtml-3.6 as an OutputFilter for substitution.When I try to test my 
system using apache benchmark and when the concurrency(-c) option is high, I 
receive a Segmentation fault which seems to be a memory problem. I used these 
options to compile mod_perl and ModProxyPerlHtml:
build mod_perl:
/usr/perl-5.20.1/bin/perl Makefile.PL MP_APXS=/usr/local/apache2.2.15/bin/apxs 
MP_APR_CONFIG=/usr/local/apr_apu-2.2.15/bin/apr-1-config 
MP_APU_CONFIG=/usr/local/apr_apu-2.2.15/bin/apu-1-config 
PREFIX=/usr/mod_perl-2.0.8

compile ModProxyPerlHtml-3.6
export PERL5LIB=/usr/mod_perl-2.0.8/lib/site_perl/
perl Makefile.PL

I have attached my apache config file and my apache error_log file with 
backtrace.

"uname -a" output:
Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u1 x86_64 GNU/Linux

"perl -V" output:
Summary of my perl5 (revision 5 version 20 subversion 1) configuration:

  Platform:
    osname=linux, osvers=3.2.0-4-amd64, archname=x86_64-linux-thread-multi
    uname='linux parswaf 3.2.0-4-amd64 #1 smp debian 3.2.60-1+deb7u1 x86_64 
gnulinux '
    config_args='-des -Dusethreads -Dprefix=/usr/perl-5.20.1 -Duseshrplib'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing 
-pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe 
-fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.7.2', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed 
/usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib 
/usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib
    libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=libc-2.13.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.13'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E 
-Wl,-rpath,/usr/perl-5.20.1/lib/5.20.1/x86_64-linux-thread-multi/CORE'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib 
-fstack-protector'


Characteristics of this binary (from libperl):
  Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
                        PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
                        PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
                        USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS
                        USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
                        USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO
                        USE_PERL_ATOF USE_REENTRANT_API
  Built under linux
  Compiled at Apr 12 2015 09:26:10
  @INC:
    /usr/perl-5.20.1/lib/site_perl/5.20.1/x86_64-linux-thread-multi
    /usr/perl-5.20.1/lib/site_perl/5.20.1
    /usr/perl-5.20.1/lib/5.20.1/x86_64-linux-thread-multi
    /usr/perl-5.20.1/lib/5.20.1
Thanks for any consideration.


Attachment: error_log
Description: Binary data

Attachment: apache.conf
Description: Binary data

Reply via email to