perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe M. Chiasson" <go...@cpan.org>
Subject Re: mod_perl 1.99_09 core dumps
Date Mon, 23 Jun 2003 04:54:36 GMT
This stacktrace isn't much help without debugging symbols.

Can you please recompile mod_perl with MP_DEBUG=1 and repost the stack
trace ?

What was the output of make test ? Did all test pass?

For more information on submitting segfaults problems, you can also
read this:

http://perl.apache.org/docs/2.0/user/help/help.html#Resolving_Segmentation_Faults

On Thu, 2003-06-19 at 15:10, Hans-Ruodi Burch (EAS) wrote:
> -------------8<---------- Start Bug Report ------------8<----------
> 1. Problem Description:
> 
> httpd core dumps if mod_perl is used:
> 
> castle# bin/httpd -f conf/httpd.conf
> Bus Error(coredump)
> 
> gdb shows the following information:
> 
> castle# gdb bin/httpd                          
> GNU gdb 5.0
> Copyright 2000 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 "sparc-sun-solaris2.8"...
> (gdb) run
> Starting program: /usr/local/apache/bin/httpd 
> [New LWP 1]
> [New LWP 2]
> [New LWP 3]
> [New LWP 4]
> [New LWP 5]
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0xfdbbbdd4 in ap_pcw_walk_files_config ()
>    from /usr/local/apache/modules/mod_perl.so
> (gdb) bt
> #0  0xfdbbbdd4 in ap_pcw_walk_files_config ()
>    from /usr/local/apache/modules/mod_perl.so
> #1  0xfdbbbf94 in ap_pcw_walk_config ()
>    from /usr/local/apache/modules/mod_perl.so
> #2  0xfdbb3924 in modperl_hook_post_config ()
>    from /usr/local/apache/modules/mod_perl.so
> #3  0x37328 in ap_run_post_config ()
> #4  0x40090 in main ()
> (gdb) quit
> The program is running.  Exit anyway? (y or n) y
> 
> The following additional perl modules are installed:
> 
> Apache-DB-0.06
> Apache-Perldoc-1.11
> Astro-FITS-Header-2.6.2
> BerkeleyDB-0.22
> Cache-Cache-1.02
> CGI.pm-2.93
> CGI-WML-0.09
> checkbot-1.72
> Class-Container-0.10
> Class-Data-Inheritable-0.02
> DB_File-1.806
> DBI-1.37
> DBD-mysql-2.1027
> Devel-StackTrace-1.03
> Devel-Symdump-2.03
> Digest-MD5-2.24
> Digest-SHA1-2.02
> Error-0.15
> Exception-Class-1.12
> ExtUtils-F77-1.14
> File-Path-Expand-1.01
> File-Spec-0.82
> Geo-IP-1.15
> Filter-1.29
> Filter-Simple-0.78
> HTML-Mason-1.20
> HTML-Parser-3.28
> HTML-TableExtract-1.08
> HTML-Tagset-3.03
> Inline-0.44
> IPC-ShareLite-0.09
> libnet-1.13
> libwww-perl-5.69
> MailTools-1.58
> MIME-Base64-2.20
> MLDBM-2.01
> mod_perl-1.99_09
> Net_SSLeay.pm-1.22
> Params-Validate-0.59
> Parse-RecDescent-1.94
> PDL-2.3.4
> PGPLOT-2.18
> Scalar-List-Utils-1.11
> Storable-2.07
> Test-Simple-0.47
> Time-HiRes-1.47
> URI-1.23
> XML-Parser-2.31
> XML-Writer-0.4
> 
> 2. Used Components and their Configuration:
> 
> *** using lib/Apache/BuildConfig.pm
> *** Makefile.PL options:
>   MP_AP_PREFIX   => /usr/local/apache
>   MP_COMPAT_1X   => 1
>   MP_GENERATE_XS => 1
>   MP_LIBNAME     => mod_perl
>   MP_USE_DSO     => 1
>   MP_USE_STATIC  => 1
> 
> 
> *** /usr/local/apache/bin/httpd -V
> Server version: Apache/2.0.45
> Server built:   Jun 17 2003 08:13:42
> Server's Module Magic Number: 20020903:0
> Architecture:   32-bit
> Server compiled with....
>  -D APACHE_MPM_DIR="server/mpm/prefork"
>  -D APR_HAS_MMAP
>  -D APR_USE_PROC_PTHREAD_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/apache"
>  -D SUEXEC_BIN="/usr/local/apache/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/local/bin/perl -V
> Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
>   Platform:
>     osname=solaris, osvers=2.8, archname=sun4-solaris
>     uname='sunos castle 5.8 generic_108528-21 sun4u sparc sunw,ultra-5_10 '
>     config_args='-Dcc=gcc -B/usr/ccs/bin/'
>     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=undef use64bitall=undef uselongdouble=undef
>     usemymalloc=n, bincompat5005=undef
>   Compiler:
>     cc='gcc -B/usr/ccs/bin/', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
>     optimize='-O2',
>     cppflags='-fno-strict-aliasing -I/usr/local/include'
>     ccversion='', gccversion='3.2.3', gccosandvers='solaris2.8'
>     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
>     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
>     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
>     alignbytes=8, prototype=define
>   Linker and Libraries:
>     ld='gcc -B/usr/ccs/bin/', ldflags =' -L/usr/local/lib '
>     libpth=/usr/local/lib /usr/lib /usr/ccs/lib
>     libs=-lsocket -lnsl -lgdbm -ldl -lm -lc
>     perllibs=-lsocket -lnsl -ldl -lm -lc
>     libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
>     gnulibc_version=''
>   Dynamic Linking:
>     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
>     cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'
> 
> 
> Characteristics of this binary (from libperl): 
>   Compile-time options: USE_LARGE_FILES
>   Built under solaris
>   Compiled at Jun 18 2003 16:40:35
>   %ENV:
>     PERL_LWP_USE_HTTP_10="1"
>   @INC:
>     /usr/local/lib/perl5/5.8.0/sun4-solaris
>     /usr/local/lib/perl5/5.8.0
>     /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris
>     /usr/local/lib/perl5/site_perl/5.8.0
>     /usr/local/lib/perl5/site_perl
>     .
> 
> 
> 3. This is the core dump trace: (if you get a core dump):
> 
>   see above
> 
> This report was generated by t/REPORT on Thu Jun 19 06:57:44 2003 GMT.
> 
> -------------8<---------- End Bug Report --------------8<----------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
> For additional commands, e-mail: dev-help@perl.apache.org
-- 
--------------------------------------------------------------------------------
Philippe M. Chiasson /gozer\@(cpan|ectoplasm)\.org/ 88C3A5A5 (122FF51B/C634E37B)
http://gozer.ectoplasm.org/    F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3 A5A5
Q: It is impossible to make anything foolproof because fools are so ingenious.
perl -e'$$=\${gozer};{$_=unpack(P7,pack(L,$$));/^JAm_pH\n$/&&print||$$++&&redo}'


Mime
View raw message