[TEST FAILURE] Apache 2 SEGVs during test run

[prev] [thread] [next] [Date index for 2005/01/21]

From: Dominique Quatravaux
Subject: [TEST FAILURE] Apache 2 SEGVs during test run
Date: 21:37 on 21 Jan 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

1. Problem Description:

Apache 2 SEGVs during the test run (see core dump at the end), then
tests fail randomly (Failed 23/221 test scripts, [...] 77/2272
subtests). t/logs/error_log is absolutely helpless (the only
unexpected message is the usual "child pid 27077 exit signal
Segmentation fault").

This is Linux/i386 2.6.5, Debian stable, plus Perl 5.8.5 home-built
(./Configure -de -Dotherlibdirs=/usr/share/perl5 -Dversiononly
- -Duseithreads -Dusemultiplicity) and Apache 2.0.52 with worker MPM
from Debian backports (www.backports.org).

2. Used Components and their Configuration:

*** mod_perl version 1.999020

*** using /home/dom/ftp/mod_perl-2.0.0-RC3/lib/Apache/BuildConfig.pm

*** Makefile.PL options:
~  MP_APR_LIB      => aprext
~  MP_APXS         => /usr/bin/apxs2
~  MP_COMPAT_1X    => 1
~  MP_GENERATE_XS  => 1
~  MP_INST_APACHE2 => 1
~  MP_LIBNAME      => mod_perl
~  MP_USE_DSO      => 1


*** /usr/sbin/apache2 -V
Server version: Apache/2.0.52
Server built:   Nov 10 2004 19:29:47
Server's Module Magic Number: 20020903:9
Architecture:   32-bit
Server compiled with....
~ -D APACHE_MPM_DIR="server/mpm/worker"
~ -D APR_HAS_SENDFILE
~ -D APR_HAS_MMAP
~ -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
~ -D APR_USE_SYSVSEM_SERIALIZE
~ -D APR_USE_PTHREAD_SERIALIZE
~ -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
~ -D APR_HAS_OTHER_CHILD
~ -D AP_HAVE_RELIABLE_PIPED_LOGS
~ -D HTTPD_ROOT=""
~ -D SUEXEC_BIN="/usr/lib/apache2/suexec2"
~ -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
~ -D DEFAULT_ERRORLOG="logs/error_log"
~ -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
~ -D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf"


*** (apr|apu)-config linking info

~ -L/usr/lib -lapr-0 -lrt -lm -lnsl  -lpthread
~ -L/usr/lib -laprutil-0 -lldap -llber -ldb-4.2 -lexpat



*** /usr/local/bin/perl5.8.5 -V
Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
~  Platform:
~    osname=linux, osvers=2.6.5-mm1, archname=i686-linux-thread-multi
~    uname='linux saperlipopette 2.6.5-mm1 #3 fri aug 13 21:05:07 cest
2004 i686
gnulinux '
~    config_args='-de -Dotherlibdirs=/usr/share/perl5 -Dversiononly
- -Duseithreads
~ -Dusemultiplicity'
~    hint=recommended, useposix=true, d_sigaction=define
~    usethreads=define use5005threads=undef useithreads=define
usemultiplicity=de
fine
~    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
~    use64bitint=undef use64bitall=undef uselongdouble=undef
~    usemymalloc=n, bincompat5005=undef
~  Compiler:
~    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
- -fno-stric
t-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
- -D_FILE_OFFSET_BITS=64
',
~    optimize='-O2',
~    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
- -fno-strict-aliasin
g -pipe -I/usr/local/include'
~    ccversion='', gccversion='3.3.4 (Debian 1:3.3.4-6sarge1)',
gccosandvers=''
~    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
~    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
~    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize
=8
~    alignbytes=4, prototype=define
~  Linker and Libraries:
~    ld='cc', ldflags =' -L/usr/local/lib'
~    libpth=/usr/local/lib /lib /usr/lib
~    libs=-lnsl -lgdbm -ldbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
~    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
~    libc=/lib/libc-2.3.2.so, so=so, useshrplib=false, libperl=libperl.a
~    gnulibc_version='2.3.2'
~  Dynamic Linking:
~    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
~    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
~  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_
CONTEXT
~  Built under linux
~  Compiled at Jan 21 2005 17:12:21
~  %ENV:
~    PERL_LWP_USE_HTTP_10="1"
~  @INC:
~    /usr/local/lib/perl5/5.8.5/i686-linux-thread-multi
~    /usr/local/lib/perl5/5.8.5
~    /usr/local/lib/perl5/site_perl/5.8.5/i686-linux-thread-multi
~    /usr/local/lib/perl5/site_perl/5.8.5
~    /usr/local/lib/perl5/site_perl
~    /usr/share/perl5
~    .

*** Packages of interest status:

Apache::Request: -
CGI            : 3.05
LWP            : 5.800
mod_perl       : 1.999020


3. This is the core dump trace: (if you get a core dump):

(gdb) bt
#0  0x4030d4d1 in __read_nocancel () from /lib/tls/libpthread.so.0
#1  0x00000000 in ?? ()

This report was generated by ./t/REPORT on Fri Jan 21 21:12:51 2005 GMT.

- -------------8<---------- End Bug Report --------------8<----------

Regards,

- --
Dominique QUATRAVAUX                           Ingénieur senior
01 44 42 00 08                                 IDEALX

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB8XYlMJAKAU3mjcsRAvhkAJwKEdvebn1eU5X+4ycZl3THktd8OgCgvj26
1q3CMLnV6nMkosBgnRAyTlU=
=u4aS
-----END PGP SIGNATURE-----


[TEST FAILURE] Apache 2 SEGVs during test run
Dominique Quatravaux 21:37 on 21 Jan 2005

Re: [DOH!] Apache 2 SEGVs during test run
Stas Bekman 01:07 on 25 Jan 2005

Re: t/apache/content_length_header.t failures
Dominique Quatravaux 10:25 on 25 Jan 2005

Re: t/apache/content_length_header.t failures
Dominique Quatravaux 11:42 on 25 Jan 2005

Re: t/apache/content_length_header.t failures
Geoffrey Young 13:48 on 25 Jan 2005

Generated at 17:42 on 27 Jan 2005 by mariachi v0.52