-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

Apache segmentation faults trying to run a registry script.

2. Used Components and their Configuration:

*** mod_perl version 1.9914

>From CVS just a couple of hourse ago.

*** using lib/Apache/BuildConfig.pm
*** Makefile.PL options:
  MP_APXS        => /usr/local/apache_2.0.49/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/bin/httpd -V
Server version: Apache/2.0.49
Server built:   Mar 29 2004 12:00:23
Server's Module Magic Number: 20020903:7
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_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"
 -D SUEXEC_BIN="/usr/local/apache_2.0.49/bin/suexec"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -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.3_threaded/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
  Platform:
    osname=solaris, osvers=2.9, archname=sun4-solaris-thread-multi
    uname='sunos banquo 5.9 generic_112233-11 sun4u sparc sunw,ultra-5_10 '
    config_args='-Dcc=gcc -B/usr/ccs/bin/ -Doptimize=-O3 -Uinstallusrbinperl
-Dprefix=/usr/local/perl-5.8.3_threaded -Duse
threads -Ui_db -Uusemymalloc -Dlocincpth=/usr/local/include /opt/local/include 
/include /usr/include
/opt/sfw/include -Dlo
clibpth=/usr/local/lib /opt/local/lib /usr/lib /usr/ccs/lib /opt/sfw/lib'
    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 -B/usr/ccs/bin/', ccflags ='-D_REENTRANT -fno-strict-aliasing 
-I/usr/local/include -I/opt/sfw/include
-D_LARGE
FILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O3',
    cppflags='-D_REENTRANT -fno-strict-aliasing -I/usr/local/include 
-I/opt/sfw/include'
    ccversion='', gccversion='3.3.2', 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/usr/lib -L/usr/ccs/lib 
-L/opt/sfw/lib '
    libpth=/usr/local/lib /usr/lib /usr/ccs/lib /opt/sfw/lib
    libs=-lsocket -lnsl -lgdbm -ldl -lm -lpthread -lc
    perllibs=-lsocket -lnsl -ldl -lm -lpthread -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/usr/lib -L/usr/ccs/lib 
-L/opt/sfw/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Built under solaris
  Compiled at Jan 31 2004 12:49:48
  %ENV:
    PERL_LWP_USE_HTTP_10="1"
  @INC:
    /usr/local/perl-5.8.3_threaded/lib/5.8.3/sun4-solaris-thread-multi
    /usr/local/perl-5.8.3_threaded/lib/5.8.3
    /usr/local/perl-5.8.3_threaded/lib/site_perl/5.8.3/sun4-solaris-thread-multi
    /usr/local/perl-5.8.3_threaded/lib/site_perl/5.8.3
    /usr/local/perl-5.8.3_threaded/lib/site_perl
    .

*** Packages of interest status:

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


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

There is no core file produced.

This report was generated by t/REPORT on Mon Mar 29 02:39:14 2004 GMT.

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

Note: Complete the rest of the details and post this bug report to
dev <at> perl.apache.org. To subscribe to the list send an empty
email to [EMAIL PROTECTED]


---------------------------------------------------------------------------

[EMAIL PROTECTED]/usr/local/apache:> truss -f bin/httpd -k start -DSSL -X


....

10075/12:       
open("/usr/local/apache_2.0.49/htdocs/test2/mobile_proxy/nph-proxy.cgi", O_RDONLY) = 13
10075/12:       read(13, " # ! / u s r / l o c a l".., 4096)    = 4096
10075/12:       close(13)                                       = 0
10075/12:       getpid()                                        = 10075 [10074]
10075/12:       stat("/usr/local/apache_2.0.49/htdocs/010110A/x-proxy/start", 
0xFDBFB4F8) Err#2 ENOENT
10075/12:       lstat("/usr", 0xFDBFB488)                       = 0
10075/12:       lstat("/usr/local", 0xFDBFB488)                 = 0
10075/12:       stat("/usr/local", 0xFDBFB420)                  = 0
10075/12:       lstat("/usr/local/apache_2.0.49", 0xFDBFB488)   = 0
10075/12:       lstat("/usr/local/apache_2.0.49/htdocs", 0xFDBFB488) = 0
10075/12:       lstat("/usr/local/apache_2.0.49/htdocs/010110A", 0xFDBFB488) Err#2 
ENOENT
10075/12:       dup(14)                                         = 13
10075/12:       fstat64(13, 0x015E4460)                         = 0
10075/12:       fcntl(13, F_SETFD, 0x00000001)                  = 0
10075/12:       llseek(14, 0, SEEK_CUR)                         = 1176438
10075/12:       close(14)                                       = 0
10075/12:       dup(12)                                         = 14
10075/12:       fstat64(14, 0x015E4460)                         = 0
10075/12:       fcntl(14, F_SETFD, 0x00000001)                  = 0
10075/12:       dup(12)                                         = 15
10075/12:       close(15)                                       = 0
10075/12:       close(12)                                       = 0
10075/12:           Incurred fault #6, FLTBOUNDS  %pc = 0xFEA9BBBC
10075/12:             siginfo: SIGSEGV SEGV_MAPERR addr=0x00000010
10075/12:           Received signal #11, SIGSEGV [default]
10075/12:             siginfo: SIGSEGV SEGV_MAPERR addr=0x00000010

---------------------------------------------------------------------------

[EMAIL PROTECTED]/usr/local/apache/bin:1008> gdb ./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.9"...
(gdb) run -X -f /usr/local/apache/conf/httpd.conf -k start -DSSL -X
Starting program: /u0/local/apache_2.0.49/bin/./httpd -X -f 
/usr/local/apache/conf/httpd.conf -k start -DSSL -X
[New LWP 1]
[New LWP 2]
[New LWP 3]
[New LWP 4]
[New LWP 5]
[New LWP 6]
[New LWP 7]
[New LWP 8]
[New LWP 9]
[New LWP 10]
[New LWP 11]
[New LWP 12]
[New LWP 13]
[LWP 2 exited]
[New LWP 2]

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 12]
0xfea9bbbc in modperl_env_request_tie (my_perl=0x1026fe0, r=0x17a8c78) at 
modperl_env.c:355
355         EnvMgObj = (char *)r;
(gdb)

Regards,



Jie





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

Reply via email to