-------------8<---------- Start Bug Report ------------8<----------

1. Problem Description:

Child exits with seg fault when registry script is accessed.

2. Used Components and their Configuration:

*** mod_perl version 1.9914

*** using lib/Apache/BuildConfig.pm
*** Makefile.PL options:
  MP_APXS        => /usr/local/apache_2.0.49_prefork/bin/apxs
  MP_COMPAT_1X   => 1
  MP_DEBUG       => 1
  MP_GENERATE_XS => 1
  MP_LIBNAME     => mod_perl
  MP_TRACE       => 1
  MP_USE_DSO     => 1


*** /usr/local/apache_2.0.49_prefork/bin/httpd -V
Server version: Apache/2.0.49
Server built:   May 17 2004 11:25:05
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_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_2.0.49_prefork"
 -D SUEXEC_BIN="/usr/local/apache_2.0.49_prefork/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/perl-5.8.4/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
  Platform:
    osname=solaris, osvers=2.9, archname=sun4-solaris
    uname='sunos guppy 5.9 generic_112233-12 sun4u sparc sunw,sun-fire-v210 '
    config_args='-Dcc=gcc -B/usr/ccs/bin/ -Doptimize=-O3 -Uinstallusrbinperl 
-Dprefix=/usr/local/perl-5.8.4
-Ui_db -Uusemymalloc -Dlo
cincpth=/usr/local/include /opt/local/include /include /usr/include /opt/sfw/include 
-Dloclibpth=/usr/local/lib
/opt/local/lib /usr/lib /usr/ccs/lib /opt/sfw/lib'
    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 
-I/opt/local/include
-I/opt/sfw/include -D_LARGEFIL
E_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O3',
    cppflags='-fno-strict-aliasing -I/usr/local/include -I/opt/local/include 
-I/opt/sfw/include'
    ccversion='', gccversion='3.4.0', gccosandvers='solaris2.9'
    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 -L/opt/local/lib -L/usr/lib 
-L/usr/ccs/lib
-L/opt/sfw/lib '
    libpth=/usr/local/lib /opt/local/lib /usr/lib /usr/ccs/lib /opt/sfw/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 -L/opt/local/lib -L/usr/lib 
-L/usr/ccs/lib -L/opt/sfw/lib'


Characteristics of this binary (from libperl):
  Compile-time options: USE_LARGE_FILES
  Built under solaris
  Compiled at May 14 2004 15:53:55
  %ENV:
    PERL_LWP_USE_HTTP_10="1"
  @INC:
    /usr/local/perl-5.8.4/lib/5.8.4/sun4-solaris
    /usr/local/perl-5.8.4/lib/5.8.4
    /usr/local/perl-5.8.4/lib/site_perl/5.8.4/sun4-solaris
    /usr/local/perl-5.8.4/lib/site_perl/5.8.4
    /usr/local/perl-5.8.4/lib/site_perl
    .

*** Packages of interest status:

Apache::Request: -
CGI            : 3.04
LWP            : 5.79
mod_perl       : 1.9914


3. This is the core dump trace: (if you get a core dump):
This report was generated by t/REPORT on Sat May 29 01:03:38 2004 GMT.


[EMAIL PROTECTED]/usr/local/wasm_apache/conf:510> gdb ../bin/httpd
GNU gdb 5.3
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 "sparc-sun-solaris2.9"...
(gdb) run -X -f /usr/local/wasm_apache/bin/httpd -X -f 
/usr/local/wasm_apache/conf/httpd.conf -k start -DSSL -X
Starting program: /opt/local/apache_2.0.49_prefork/bin/httpd -X -f 
/usr/local/wasm_apache/bin/httpd -X -f
/usr/local/wasm_apache/conf/httpd.conf -k start -DSSL -X

Program received signal SIGSEGV, Segmentation fault.
0xfe971904 in modperl_env_request_tie (r=0x793a08) at modperl_env.c:355
355         EnvMgObj = (char *)r;
(gdb) bt
#0  0xfe971904 in modperl_env_request_tie (r=0x793a08) at modperl_env.c:355
#1  0xfe95957c in modperl_response_handler_cgi (r=0x793a08) at mod_perl.c:967
#2  0x000de9c0 in ap_run_handler (r=0x793a08) at config.c:151
#3  0x000df5a4 in ap_invoke_handler (r=0x793a08) at config.c:358
#4  0x00090ccc in ap_process_request (r=0x793a08) at http_request.c:246
#5  0x00087fa8 in ap_process_http_connection (c=0x78dac8) at http_core.c:250
#6  0x000f419c in ap_run_process_connection (c=0x78dac8) at connection.c:42
#7  0x000f4770 in ap_process_connection (c=0x78dac8, csd=0x78d9f0) at connection.c:175
#8  0x000dc35c in child_main (child_num_arg=0) at prefork.c:609
#9  0x000dc4a8 in make_child (s=0x1696b0, slot=0) at prefork.c:649
#10 0x000dc658 in startup_children (number_to_start=30) at prefork.c:721
#11 0x000dcd5c in ap_mpm_run (_pconf=0x164f48, plog=0x1ab060, s=0x1696b0) at 
prefork.c:940
#12 0x000e7b3c in main (argc=11, argv=0xffbff824) at main.c:617
(gdb) where
#0  0xfe971904 in modperl_env_request_tie (r=0x793a08) at modperl_env.c:355
#1  0xfe95957c in modperl_response_handler_cgi (r=0x793a08) at mod_perl.c:967
#2  0x000de9c0 in ap_run_handler (r=0x793a08) at config.c:151
#3  0x000df5a4 in ap_invoke_handler (r=0x793a08) at config.c:358
#4  0x00090ccc in ap_process_request (r=0x793a08) at http_request.c:246
#5  0x00087fa8 in ap_process_http_connection (c=0x78dac8) at http_core.c:250
#6  0x000f419c in ap_run_process_connection (c=0x78dac8) at connection.c:42
#7  0x000f4770 in ap_process_connection (c=0x78dac8, csd=0x78d9f0) at connection.c:175
#8  0x000dc35c in child_main (child_num_arg=0) at prefork.c:609
#9  0x000dc4a8 in make_child (s=0x1696b0, slot=0) at prefork.c:649
#10 0x000dc658 in startup_children (number_to_start=30) at prefork.c:721
#11 0x000dcd5c in ap_mpm_run (_pconf=0x164f48, plog=0x1ab060, s=0x1696b0) at 
prefork.c:940
#12 0x000e7b3c in main (argc=11, argv=0xffbff824) at main.c:617
(gdb)

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




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to