You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Alex Oboimov <al...@soniir.samara.ru> on 2004/06/11 07:11:47 UTC

[mp2] modperl test failed

Hi folks,

Can amybody help me.

After compile and build of modperl only 1 test failed. 99.1% is okay.
May it be left alone?
-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

After successful compile & install of Apache 2.0.49 server I have
configured and compiled mod_perl 1.99-14 suite. But running tests
finished by _one_ test failure: rflush --FAILED. Repeated test
(t/TEST -verbose api/rflush.t) returned:

# Running under perl version 5.008001 for linux
# Current time local: Thu Jun 10 16:45:38 2004
# Current time GMT:   Thu Jun 10 11:45:38 2004
# Using Test.pm version 1.24
# testing : rflush creates bucket brigades
# expected: [<foo][bar>][<who][ah>]
# received: [<foo][bar>]
not ok 1
# Failed test 1 in t/api/rflush.t at line 13
FAILED test 1
        Failed 1/1 tests, 0.00% okay
....

May it be left ignored and system go without it?

2. Used Components and their Configuration:

*** mod_perl version 1.9914

*** using lib/Apache/BuildConfig.pm
*** Makefile.PL options:
  MP_APR_CONFIG  => /usr/local/apache2/bin/apr-config
  MP_APXS        => /usr/local/apache2/bin/apxs
  MP_COMPAT_1X   => 1
  MP_GENERATE_XS => 1
  MP_LIBNAME     => mod_perl
  MP_USE_DSO     => 1
  MP_USE_STATIC  => 1


*** /usr/local/apache2/bin/httpd -V
Server version: Apache/2.0.49
Server built:   Jun 10 2004 12:06:44
Server's Module Magic Number: 20020903:7
Architecture:   32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-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="/usr/local/apache2"
-D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"


*** /usr/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 1)
configuration:
  Platform:
    osname=linux, osvers=2.4.18-23mdksmp, archname
=i386-linux-thread-multi
    uname='linux hp6.mandrakesoft.com 2.4.18-23mdksmp #1 smp fri aug
2 12:31:40 cest 2002 i686 unknown unknown gnulinux '
    config_args='-des -Dinc_version_list=5.8.0/i38
6-linux-thread-multi 5.8.0 5.6.1 5.6.0 -Darchname=i386-linux -Dcc=gcc
-Doptimize=-O2 -fomit-frame-pointer -pipe -march=i586
-mcpu=pentiumpro  -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr
-Dman3ext=3pm -Dcf_by=MandrakeSoft -Dmyhostname=localhost
-Dperladmin=root@localhost -Dd_dosuid -Ud_csh -Duseshrplib
-Dusethreads'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2 -fomit-frame-pointer -pipe -march=i586
-mcpu=pentiumpro ',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'
    ccversion='', gccversion='3.3.1 (Mandrake Linux 9.2 3.3.1-1mdk)',
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='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.3.2.so, so=so, useshrplib=true,
libperl=libperl.so
    gnulibc_version='2.3.2'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8
.1/i386-linux-thread-multi/CORE'
    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
  Locally applied patches:
  RC4
  Built under linux
  Compiled at Sep  1 2003 17:29:01
  %ENV:
    PERL_LWP_USE_HTTP_10="1"
  @INC:
    /usr/lib/perl5/5.8.1/i386-linux-thread-multi
    /usr/lib/perl5/5.8.1
    /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.1
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.1
    /usr/lib/perl5/vendor_perl/5.8.0
    /usr/lib/perl5/vendor_perl
    .

*** Packages of interest status:

Apache::Request: -
CGI            : 3.00
LWP            : 5.69
mod_perl       : -


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

GNU gdb 5.3-25mdk (Mandrake Linux)
Copyright 2002 Free Software Foundation, Inc.
....
Core was generated by `/usr/local/apache2/bin/httpd -d
/usr/local/src/mod_perl-1.99_14/t -f /usr/local'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/apache2/lib/libaprutil-0.so.0...done.
Loaded symbols for /usr/local/apache2/lib/libaprutil-0.so.0
....
Here follows 120 lines of Reading symbols/Loaded symbols without any
errors...

Sorry I haven't included debug options in httpd nor modperl builds...

This report was generated by t/REPORT on Thu Jun 10 11:01:23 2004 GMT.

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

Of course if there is no way out I will recompile both things but it
takes almost whole day on my machine :(((

Alex





Best regards,
 Alex Oboimov                          mailto:alobo@soniir.samara.ru




-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: [mp2] modperl test failed

Posted by Stas Bekman <st...@stason.org>.
Alex Oboimov wrote:
[...]
> ### Issuing bt command ###
> 
> (gdb) bt
> #0  0x40324a74 in Perl_pp_leavesub ()
>    from /usr/lib/perl5/5.8.1/i386-linux-thread-multi/CORE/libperl.so
>    #1  0x082ea320 in ?? ()
>    #2  0x0918ae00 in ?? ()
>    (gdb) q
> ==============================================
> 
> That's all I have. Suppose, without symbols compiled in there's not enough information....

That's already something. So now we know it segfaults inside perl. But the 
trace looks too short to be inside mod_perl. May be it's a corrupted frame. We 
  need to know what are the #1 and #0 frames are. So first please recompile 
mod_perl only with debug enabled and this time show us just the output of bt. 
It shouldn't take you too long to compile.

If that doesn't reveal the info we are after the next step will be to run the 
server under the gdb in first place, rather then try to process the core file.

> SB> Thanks.
> 
> Sorry for this lengthy message, thanks.

That's not a problem, Alex. All the information you have submitted was important.

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re[2]: [mp2] modperl test failed

Posted by Alex Oboimov <al...@soniir.samara.ru>.
Hello Stas,

 you wrote:


SB> Should be OK for yourself if you don't use rflush, but it's definitely not OK
SB> otherwise.

I'm not sure which programs may use it, which not...


SB> Show us the *complete* output of:

SB> % t/TEST -verbose api/rflush.t

SB> and the t/logs/error_log as explained here:

Here it is:

 t/TEST -verbose api/rflush.t

/usr/local/apache2/bin/httpd -d /usr/local/src/mod_perl-1.99_14/t -f /usr/local/src/mod_perl-1.99_14/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS
using Apache/2.0.49 (prefork MPM)

waiting 120 seconds for server to start: .......................................................
waiting 120 seconds for server to start: ok (waited 54 secs)
server localhost.localdomain:8529 started
server localhost.localdomain:8530 listening (TestModperl::merge)
server localhost.localdomain:8531 listening (TestModperl::perl_options)
server localhost.localdomain:8532 listening (TestModperl::setupenv)
server localhost.localdomain:8533 listening (TestVhost::config)
server localhost.localdomain:8534 listening (TestProtocol::echo_filter)
server localhost.localdomain:8535 listening (TestProtocol::echo_timeout)
server localhost.localdomain:8536 listening (TestProtocol::echo_block)
server localhost.localdomain:8537 listening (TestPreConnection::note)
server localhost.localdomain:8538 listening (TestHooks::stacked_handlers2)
server localhost.localdomain:8539 listening (TestHooks::startup)
server localhost.localdomain:8540 listening (TestFilter::in_bbs_inject_header)
server localhost.localdomain:8541 listening (TestFilter::in_str_msg)
server localhost.localdomain:8542 listening (TestFilter::both_str_con_add)
server localhost.localdomain:8543 listening (TestFilter::in_bbs_msg)
server localhost.localdomain:8544 listening (TestDirective::perlmodule)
server localhost.localdomain:8545 listening (TestDirective::perlrequire)
server localhost.localdomain:8546 listening (TestPerl::ithreads)
server localhost.localdomain:8547 listening (TestDirective::perlloadmodule4)
server localhost.localdomain:8548 listening (TestDirective::perlloadmodule5)
server localhost.localdomain:8549 listening (TestDirective::perlloadmodule3)
server localhost.localdomain:8550 listening (TestDirective::perlloadmodule6)
t/api/rflush....1..1
# Running under perl version 5.008001 for linux
# Current time local: Fri Jun 11 12:43:24 2004
# Current time GMT:   Fri Jun 11 07:43:24 2004
# Using Test.pm version 1.24
# testing : rflush creates bucket brigades
# expected: [<foo][bar>][<who][ah>]
# received: [<foo][bar>]
not ok 1
FAILED test 1
        Failed 1/1 tests, 0.00% okay
        Failed Test    Stat Wstat Total Fail  Failed  List of Failed
        -------------------------------------------------------------------------------
        t/api/rflush.t                1    1 100.00%  1
        Failed 1/1 test scripts, 0.00% okay. 1/1 subtests failed, 0.00% okay.
        ...done

### Here was unable to catch ALL warnings, from the screen ###

[warning] result: OK
[warning] the client side drops 'root' permissions and becomes 'nobody'
[Fri Jun 11 12:42:45 2004] [info] 27 Apache:: modules loaded
[Fri Jun 11 12:42:45 2004] [info] 5 APR:: modules loaded
[Fri Jun 11 12:42:45 2004] [info] base server + 17 vhosts ready to run tests
# Failed test 1 in t/api/rflush.t at line 13
[warning] server localhost.localdomain:8529 shutdown
[warning] port 8529 still in use...
[  error] error running tests (please examine t/logs/error_log)
[  error] oh darn, server dumped core
[  error] for stacktrace, run: gdb /usr/local/apache2/bin/httpd -core /usr/local/src/mod_perl-1.99_14/t/core.7183

### Now error-log:

[root@bse mod_perl-1.99_14]# less t/logs/error_log

END in modperl_extra.pl, pid=7178
Attempt to free unreferenced scalar at /usr/lib/perl5/5.8.1/Test/Harness.pm line 31.
[Fri Jun 11 12:43:22 2004] [notice] Apache/2.0.49 (Unix) mod_perl/1.99_14 Perl/v5.8.1 configured -- resuming normal operations
[Fri Jun 11 12:43:22 2004] [info] Server built: Jun 10 2004 12:06:44
[Fri Jun 11 12:43:22 2004] [debug] prefork.c(955): AcceptMutex: sysvsem (default: sysvsem)
[Fri Jun 11 12:43:43 2004] [info] Child process pid=7182 is exiting
END in modperl_extra.pl, pid=7182
[Fri Jun 11 12:43:43 2004] [info] Child process pid=7185 is exiting
END in modperl_extra.pl, pid=7185
[Fri Jun 11 12:43:43 2004] [info] removed PID file /usr/local/src/mod_perl-1.99_14/t/logs/httpd.pid (pid=7180)
[Fri Jun 11 12:43:43 2004] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=7180
Attempt to free unreferenced scalar at /usr/lib/perl5/5.8.1/Test/Harness.pm line 31.
=========================================

### Now post-mortem :

1. Running (as recommended above):
gdb /usr/local/apache2/bin/httpd -core /usr/local/src/mod_perl-1.99_14/t/core.7183
2. Obtaining:

GNU gdb 5.3-25mdk (Mandrake Linux)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-mandrake-linux-gnu"...
Core was generated by `/usr/local/apache2/bin/httpd -d /usr/local/src/mod_perl-1.99_14/t -f /usr/local'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/apache2/lib/libaprutil-0.so.0...done.
Loaded symbols for /usr/local/apache2/lib/libaprutil-0.so.0
Reading symbols from /usr/lib/libexpat.so.0...done.
Loaded symbols for /usr/lib/libexpat.so.0
Reading symbols from /usr/local/apache2/lib/libapr-0.so.0...done.
Loaded symbols for /usr/local/apache2/lib/libapr-0.so.0
Reading symbols from /lib/libpthread.so.0...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/librt.so.1...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libutil.so.1...done.
Loaded symbols for /lib/libutil.so.1
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/local/src/mod_perl-1.99_14/src/modules/perl/mod_perl.so...done.
Loaded symbols for /usr/local/src/mod_perl-1.99_14/src/modules/perl/mod_perl.so
Reading symbols from /usr/lib/perl5/5.8.1/i386-linux-thread-multi/CORE/libperl.so...done.
Loaded symbols for /usr/lib/perl5/5.8.1/i386-linux-thread-multi/CORE/libperl.so
Reading symbols from /usr/lib/perl5/5.8.1/i386-linux-thread-multi/auto/Socket/Socket.so...done.
Loaded symbols for /usr/lib/perl5/5.8.1/i386-linux-thread-multi/auto/Socket/Socket.so
Reading symbols from /usr/lib/perl5/5.8.1/i386-linux-thread-multi/auto/IO/IO.so...done.
Loaded symbols for /usr/lib/perl5/5.8.1/i386-linux-thread-multi/auto/IO/IO.so
Reading symbols from /usr/lib/perl5/5.8.1/i386-linux-thread-multi/auto/Fcntl/Fcntl.so...done.
Loaded symbols for /usr/lib/perl5/5.8.1/i386-linux-thread-multi/auto/Fcntl/Fcntl.so
Reading symbols from /usr/lib/perl5/5.8.1/i386-linux-thread-multi/auto/Cwd/Cwd.so...done.
Loaded symbols for /usr/lib/perl5/5.8.1/i386-linux-thread-multi/auto/Cwd/Cwd.so
Reading symbols from /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/Server/Server.so...done.
Loaded symbols for /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/Server/Server.so
Reading symbols from /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/ServerUtil/ServerUtil.so...done.
Loaded symbols for /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/ServerUtil/ServerUtil.so
Reading symbols from /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/Process/Process.so...done.
Loaded symbols for /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/Process/Process.so
Reading symbols from /usr/local/src/mod_perl-1.99_14/blib/arch/auto/ModPerl/Util/Util.so...done.
Loaded symbols for /usr/local/src/mod_perl-1.99_14/blib/arch/auto/ModPerl/Util/Util.so
Reading symbols from /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/RequestRec/RequestRec.so...done.
Loaded symbols for /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/RequestRec/RequestRec.so
Reading symbols from /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/RequestIO/RequestIO.so...done.
Loaded symbols for /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/RequestIO/RequestIO.so
Reading symbols from /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/RequestUtil/RequestUtil.so...done.
Loaded symbols for /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/RequestUtil/RequestUtil.so
Reading symbols from /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/Connection/Connection.so...done.
Loaded symbols for /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/Connection/Connection.so
Reading symbols from /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/Log/Log.so...done.
Loaded symbols for /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/Log/Log.so
Reading symbols from /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/Const/Const.so...done.
Loaded symbols for /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/Const/Const.so
Reading symbols from /usr/local/src/mod_perl-1.99_14/blib/arch/auto/APR/Const/Const.so...done.
Loaded symbols for /usr/local/src/mod_perl-1.99_14/blib/arch/auto/APR/Const/Const.so
Reading symbols from /usr/local/src/mod_perl-1.99_14/blib/arch/auto/APR/Table/Table.so...done.
Loaded symbols for /usr/local/src/mod_perl-1.99_14/blib/arch/auto/APR/Table/Table.so
Reading symbols from /usr/lib/perl5/5.8.1/i386-linux-thread-multi/auto/Data/Dumper/Dumper.so...done.
Loaded symbols for /usr/lib/perl5/5.8.1/i386-linux-thread-multi/auto/Data/Dumper/Dumper.so
Reading symbols from /usr/lib/perl5/5.8.1/i386-linux-thread-multi/auto/File/Glob/Glob.so...done.
Loaded symbols for /usr/lib/perl5/5.8.1/i386-linux-thread-multi/auto/File/Glob/Glob.so
Reading symbols from /usr/lib/perl5/5.8.1/i386-linux-thread-multi/auto/List/Util/Util.so...done.
Loaded symbols for /usr/lib/perl5/5.8.1/i386-linux-thread-multi/auto/List/Util/Util.so
Reading symbols from /usr/lib/perl5/5.8.1/i386-linux-thread-multi/auto/POSIX/POSIX.so...done.
Loaded symbols for /usr/lib/perl5/5.8.1/i386-linux-thread-multi/auto/POSIX/POSIX.so
Reading symbols from /usr/lib/perl5/5.8.1/i386-linux-thread-multi/auto/Time/HiRes/HiRes.so...done.
Loaded symbols for /usr/lib/perl5/5.8.1/i386-linux-thread-multi/auto/Time/HiRes/HiRes.so
Reading symbols from /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/Filter/Filter.so...done.
Loaded symbols for /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/Filter/Filter.so
Reading symbols from /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/FilterRec/FilterRec.so...done.
Loaded symbols for /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/FilterRec/FilterRec.so
Reading symbols from /usr/local/src/mod_perl-1.99_14/blib/arch/auto/APR/Brigade/Brigade.so...done.
Loaded symbols for /usr/local/src/mod_perl-1.99_14/blib/arch/auto/APR/Brigade/Brigade.so
Reading symbols from /usr/local/src/mod_perl-1.99_14/blib/arch/auto/APR/Bucket/Bucket.so...done.
Loaded symbols for /usr/local/src/mod_perl-1.99_14/blib/arch/auto/APR/Bucket/Bucket.so
Reading symbols from /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/CmdParms/CmdParms.so...done.
Loaded symbols for /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/CmdParms/CmdParms.so
Reading symbols from /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/Directive/Directive.so...done.
Loaded symbols for /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/Directive/Directive.so
Reading symbols from /usr/lib/perl5/5.8.1/i386-linux-thread-multi/auto/threads/threads.so...done.
Loaded symbols for /usr/lib/perl5/5.8.1/i386-linux-thread-multi/auto/threads/threads.so
Reading symbols from /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/SubRequest/SubRequest.so...done.
Loaded symbols for /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/SubRequest/SubRequest.so
Reading symbols from /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/URI/URI.so...done.
Loaded symbols for /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/URI/URI.so
Reading symbols from /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/Access/Access.so...done.
Loaded symbols for /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/Access/Access.so
Reading symbols from /usr/local/src/mod_perl-1.99_14/blib/arch/auto/APR/Util/Util.so...done.
Loaded symbols for /usr/local/src/mod_perl-1.99_14/blib/arch/auto/APR/Util/Util.so
Reading symbols from /usr/local/src/mod_perl-1.99_14/blib/arch/auto/APR/Error/Error.so...done.
Loaded symbols for /usr/local/src/mod_perl-1.99_14/blib/arch/auto/APR/Error/Error.so
Reading symbols from /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/Module/Module.so...done.
Loaded symbols for /usr/local/src/mod_perl-1.99_14/blib/arch/auto/Apache/Module/Module.so
#0  0x40324a74 in Perl_pp_leavesub ()
   from /usr/lib/perl5/5.8.1/i386-linux-thread-multi/CORE/libperl.so

### Issuing bt command ###

(gdb) bt
#0  0x40324a74 in Perl_pp_leavesub ()
   from /usr/lib/perl5/5.8.1/i386-linux-thread-multi/CORE/libperl.so
   #1  0x082ea320 in ?? ()
   #2  0x0918ae00 in ?? ()
   (gdb) q
==============================================

That's all I have. Suppose, without symbols compiled in there's not enough information....

SB> And if it reports that there was a segfault, show us exactly how did you
SB> invoke gdb.

Shown above.

SB> Thanks.

Sorry for this lengthy message, thanks.

Alex




-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: [mp2] modperl test failed

Posted by Stas Bekman <st...@stason.org>.
Alex Oboimov wrote:
> Hi folks,
> 
> Can amybody help me.
> 
> After compile and build of modperl only 1 test failed. 99.1% is okay.
> May it be left alone?

Should be OK for yourself if you don't use rflush, but it's definitely not OK 
otherwise.

> 3. This is the core dump trace: (if you get a core dump):
> 
> GNU gdb 5.3-25mdk (Mandrake Linux)
> Copyright 2002 Free Software Foundation, Inc.
> ....
> Core was generated by `/usr/local/apache2/bin/httpd -d
> /usr/local/src/mod_perl-1.99_14/t -f /usr/local'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /usr/local/apache2/lib/libaprutil-0.so.0...done.
> Loaded symbols for /usr/local/apache2/lib/libaprutil-0.so.0
> ....
> Here follows 120 lines of Reading symbols/Loaded symbols without any
> errors...
> 
> Sorry I haven't included debug options in httpd nor modperl builds...
 >
> This report was generated by t/REPORT on Thu Jun 10 11:01:23 2004 GMT.
> 
> -------------8<---------- End Bug Report --------------8<----------
> 
> Of course if there is no way out I will recompile both things but it
> takes almost whole day on my machine :(((

Without getting the core trace, we can't know what the problem is. Are you 
sure that this core file was dumped after running this particular test? Even 
without the debug symbols recompilation  you should get the backtrace albeit 
not very useful. So you must be doing something wrong.

Show us the *complete* output of:

% t/TEST -verbose api/rflush.t

and the t/logs/error_log as explained here:
http://perl.apache.org/docs/2.0/user/help/help.html#_C_make_test___Failures

And if it reports that there was a segfault, show us exactly how did you 
invoke gdb.

Thanks.

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html