Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

sqldatasource dal, wwwxxxenden, convert raid5 to raid 10 mdadm, apache force chunked, nrao wwwxxx, xxxxxdup, procmail change subject header, wwwXxx not20, Wwwxxx.doks sas, linux raid resync after reboot

Links

XODOX
Impressum

#1: [mp 2.0.5] Early core dump:-( OpenSolaris-x86, Apache 2.2.21 & Perl5.14.1

Posted on 2011-09-22 04:24:35 by Marco Walther

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

Apache with enabled mod_perl runs into a SIGSEGV quickly during the
initialization of mod_perl:-( This run is from a worker-mpm but the same
happens with the prefork-mpm.

We were running mod_perl 2.0.4 + Perl 5.10.1 successfully before.

Any idea??

Thanks,
-- Marco

2. Used Components and their Configuration:

*** mod_perl version 2.000005

*** using
/export/home/marcow/src/kenai-packages~subversion/mod_perl/m od_perl-2.0.5/lib/Apache2/BuildConfig.pm

*** Makefile.PL options:
MP_APR_LIB => aprext
MP_APXS => /opt/kenai/apache2/bin/apxs
MP_COMPAT_1X => 1
MP_GENERATE_XS => 1
MP_LIBNAME => mod_perl
MP_USE_DSO => 1


*** /opt/kenai/apache2/bin/httpd -V
Server version: Apache/2.2.21 (Unix)
Server built: Sep 14 2011 22:10:21
Server's Module Magic Number: 20051115:30
Server loaded: APR 1.4.5, APR-Util 1.3.12
Compiled using: APR 1.4.5, APR-Util 1.3.12
Architecture: 32-bit
Server MPM: Worker
threaded: yes (fixed thread count)
forked: yes (variable process count)
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 DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/opt/kenai/apache2"
-D SUEXEC_BIN="/opt/kenai/apache2/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/bin/ldd /opt/kenai/apache2/bin/httpd
libm.so.2 => /usr/lib/libm.so.2
libaprutil-1.so.0 => /opt/kenai/apache2/lib/libaprutil-1.so.0
libdb-4.6.so => /opt/kenai/lib/libdb-4.6.so
libresolv.so.2 => /usr/lib/libresolv.so.2
libexpat.so.1 => /usr/lib/libexpat.so.1
libiconv.so.2 => /opt/kenai/lib/libiconv.so.2
libapr-1.so.0 => /opt/kenai/apache2/lib/libapr-1.so.0
libuuid.so.1 => /usr/lib/libuuid.so.1
libsendfile.so.1 => /usr/lib/libsendfile.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libpthread.so.1 => /usr/lib/libpthread.so.1
libc.so.1 => /usr/lib/libc.so.1
libdlpi.so.1 => /lib/libdlpi.so.1
libmp.so.2 => /lib/libmp.so.2
libmd.so.1 => /lib/libmd.so.1
libscf.so.1 => /lib/libscf.so.1
libinetutil.so.1 => /lib/libinetutil.so.1
libdladm.so.1 => /lib/libdladm.so.1
libuutil.so.1 => /lib/libuutil.so.1
libgen.so.1 => /lib/libgen.so.1
libdevinfo.so.1 => /lib/libdevinfo.so.1
librcm.so.1 => /lib/librcm.so.1
libnvpair.so.1 => /lib/libnvpair.so.1
libexacct.so.1 => /usr/lib/libexacct.so.1
libkstat.so.1 => /lib/libkstat.so.1
libcurses.so.1 => /lib/libcurses.so.1
libsec.so.1 => /lib/libsec.so.1
libavl.so.1 => /lib/libavl.so.1
libidmap.so.1 => /usr/lib/libidmap.so.1
libldap.so.5 => /usr/lib/libldap.so.5
libsldap.so.1 => /usr/lib/libsldap.so.1
libadutils.so.1 => /usr/lib/libadutils.so.1
libsasl.so.1 => /usr/lib/libsasl.so.1
libnspr4.so => /usr/lib/mps/libnspr4.so
libplc4.so => /usr/lib/mps/libplc4.so
libnss3.so => /usr/lib/mps/libnss3.so
libssl3.so => /usr/lib/mps/libssl3.so
librt.so.1 => /lib/librt.so.1
libdl.so.1 => /lib/libdl.so.1
libsoftokn3.so => /usr/lib/mps/libsoftokn3.so
libplds4.so => /usr/lib/mps/libplds4.so
libthread.so.1 => /lib/libthread.so.1
libbsm.so.1 => /lib/libbsm.so.1
libsecdb.so.1 => /lib/libsecdb.so.1
libtsol.so.2 => /lib/libtsol.so.2


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

-L/opt/kenai/apache2/lib -laprutil-1 -lldap -llber -ldb-4.6
-lexpat -liconv -L/opt/kenai/lib -R/opt/kenai/lib
-L/opt/kenai/apache2/lib -R/opt/kenai/apache2/lib
-L/opt/kenai/apache2/lib -lapr-1 -luuid -lsendfile -lsocket -lnsl
-lpthread



*** /opt/kenai/bin/perl -V
Summary of my perl5 (revision 5 version 14 subversion 1) configuration:

Platform:
osname=solaris, osvers=2.11, archname=i86pc-solaris-thread-multi
uname='sunos kexdev03z1 5.11 snv_111b i86pc i386 i86pc '
config_args='-Dprefix=/opt/kenai -A
prepend:ccflags=-I/opt/kenai/include -A prepend:libpth=/opt/kenai/lib
/opt/SUNWspro/prod/lib/sparc/ /opt/SUNWspro/prod/lib/ /lib /usr/lib -A
prepend:ldflags=-L/opt/kenai/lib -R/opt/kenai/lib -Doptimize=-g -U
locincpth= -U loclibpth= -U glibpth= -Dusethreads -d -e'
hint=recommended, useposix=true, d_sigaction=define
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='/opt/SUNWspro/bin/cc', ccflags ='-D_REENTRANT
-I/opt/kenai/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DPERL_USE_SAFE_PUTENV',
optimize='-g',
cppflags='-D_REENTRANT -I/opt/kenai/include'
ccversion='Sun C 5.10 SunOS_i386 2009/06/03', gccversion='',
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='/opt/SUNWspro/bin/cc', ldflags ='-L/opt/kenai/lib
-R/opt/kenai/lib -L/lib -L/usr/lib '
libpth=/opt/kenai/lib /opt/SUNWspro/prod/lib/ /lib /usr/lib
libs=-lsocket -lnsl -ldb -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='-KPIC', lddlflags='-G -L/opt/kenai/lib -R/opt/kenai/lib
-L/lib -L/usr/lib'


Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV PERL_USE_SAFE_PUTENV
USE_ITHREADS
USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
USE_REENTRANT_API
Built under solaris
Compiled at Aug 18 2011 19:28:54
%ENV:
PERL_LWP_USE_HTTP_10="1"
@INC:
/opt/kenai/lib/perl5/site_perl/5.14.1/i86pc-solaris-thread-m ulti
/opt/kenai/lib/perl5/site_perl/5.14.1
/opt/kenai/lib/perl5/5.14.1/i86pc-solaris-thread-multi
/opt/kenai/lib/perl5/5.14.1
/opt/kenai/lib/perl5/site_perl
.
[root@kexdev03z1:/export/home/marcow/src/kenai-packages~subv ersion/mod_perl]
# ldd /opt/kenai/bin/perl
libsocket.so.1 => /lib/libsocket.so.1
libnsl.so.1 => /lib/libnsl.so.1
libdl.so.1 => /lib/libdl.so.1
libm.so.2 => /lib/libm.so.2
libpthread.so.1 => /lib/libpthread.so.1
libc.so.1 => /lib/libc.so.1
libmp.so.2 => /lib/libmp.so.2
libmd.so.1 => /lib/libmd.so.1
libscf.so.1 => /lib/libscf.so.1
libuutil.so.1 => /lib/libuutil.so.1
libgen.so.1 => /lib/libgen.so.1

[root@kexdev03z1:/export/home/marcow/src/kenai-packages~subv ersion/mod_perl]
# ldd mod_perl-2.0.5/src/modules/perl/mod_perl.so
libsocket.so.1 => /lib/libsocket.so.1
libnsl.so.1 => /lib/libnsl.so.1
libdl.so.1 => /lib/libdl.so.1
libm.so.2 => /lib/libm.so.2
libpthread.so.1 => /lib/libpthread.so.1
libc.so.1 => /lib/libc.so.1
libmp.so.2 => /lib/libmp.so.2
libmd.so.1 => /lib/libmd.so.1
libscf.so.1 => /lib/libscf.so.1
libuutil.so.1 => /lib/libuutil.so.1
libgen.so.1 => /lib/libgen.so.1

*** Packages of interest status:

Apache2 : -
Apache2::Request : -
CGI : 3.55
ExtUtils::MakeMaker: 6.57_05
LWP : 6.02
mod_perl : -
mod_perl2 : -


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

[root@kexdev03z1:/export/home/marcow/src/kenai-packages~subv ersion/mod_perl]
# ~mw79288/dbx.x86 /opt/kenai/apache2/bin/httpd
/var/cores/httpd-worker.20302-1316656799
dbx.x86: warning: cannot find global initialization file: dbxrc
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.7' in
your .dbxrc
Reading httpd
core file header read successfully
Reading ld.so.1
Reading libm.so.2
Reading libaprutil-1.so.0.3.12
Reading libdb-4.6.so
Reading libresolv.so.2
Reading libexpat.so.1.5.2
Reading libiconv.so.2.4.0
Reading libapr-1.so.0.4.5
Reading libuuid.so.1
Reading libsendfile.so.1
Reading libsocket.so.1
Reading libnsl.so.1
Reading libpthread.so.1
Reading libc.so.1
Reading mod_mime.so
Reading mod_alias.so
Reading mod_perl.so
Reading libdl.so.1
Reading libscf.so.1
Reading libuutil.so.1
Reading libgen.so.1
Reading libmd.so.1
Reading libmp.so.2
t@1 (l@1) program terminated by signal SEGV (no mapping at the fault
address)
Current function is modperl_env_clear
100 HV *hv = ENVHV;
(dbx.x86) where
current thread: t@1
=>[1] modperl_env_clear(my_perl = 0x83ac218), line 100 in "modperl_env.c"
[2] modperl_boot(my_perl = 0x83ac218, data = (nil)), line 100 in
"mod_perl.c"
[3] Perl_leave_scope(my_perl = 0x83ac218, base = 0), line 952 in
"scope.c"
[4] Perl_pop_scope(my_perl = 0x83ac218), line 110 in "scope.c"
[5] S_parse_body(my_perl = 0x83ac218, env = (nil), xsinit =
0xfe664ad0 = &`mod_perl.so`mod_perl.c`modperl_xs_init(PerlInterpreter
*my_perl)), line 2218 in "perl.c"
[6] perl_parse(my_perl = 0x83ac218, xsinit = 0xfe664ad0 =
&`mod_perl.so`mod_perl.c`modperl_xs_init(PerlInterpreter *my_perl), argc
= 6, argv = 0x8455280, env = (nil)), line 1613 in "perl.c"
[7] modperl_startup(s = 0x80d0068, p = 0x80ca538), line 255 in
"mod_perl.c"
[8] modperl_startup(s = 0x80d0068, p = 0x80ca538), line 207 in
"mod_perl.c"
[9] modperl_init(base_server = 0x80d0068, p = 0x80ca538), line 458 in
"mod_perl.c"
[10] modperl_hook_init(pconf = 0x80ca538, plog = (nil), ptemp =
(nil), s = 0x80d0068), line 631 in "mod_perl.c"
[11] modperl_run(), line 645 in "mod_perl.c"
[12] modperl_cmd_load_module(parms = 0x80478f0, mconfig = 0x8111ef8,
arg = 0x83437c8 "TestCompat::apache_module"), line 666 in "modperl_cmd.c"
[13] ap_walk_config_sub(0x83437a8, 0x80478f0, 0x80fdd20, 0x39663763),
at 0x808508a
[14] ap_walk_config(0x8112378, 0x80478f0, 0x80fdd20, 0x83715ec), at
0x8085128
[15] ap_process_config_tree(0x80d0068, 0x8112378, 0x80ca538,
0x80fa5f8), at 0x8085e8b
[16] main(0x9, 0x80479cc, 0x80479f4, 0xfeffb7b4), at 0x807194d
(dbx.x86)


This report was generated by t/REPORT on Thu Sep 22 02:09:12 2011 GMT.

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

Report this message

#2: Re: [mp 2.0.5] Early core dump:-( OpenSolaris-x86, Apache2.2.21 & Perl 5.14.1

Posted on 2011-09-27 19:50:38 by Fred Moyer

--4e820cee_74b0dc51_10b81
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Have you tried 2.0.5?


On Wednesday, September 21, 2011 at 7:24 PM, Marco Walther wrote:

> -------------8<---------- Start Bug Report ------------8<----------
> 1. Problem Description:
>
> Apache with enabled mod_perl runs into a SIGSEGV quickly during the
> initialization of mod_perl:-( This run is from a worker-mpm but the same
> happens with the prefork-mpm.
>
> We were running mod_perl 2.0.4 + Perl 5.10.1 successfully before.
>
> Any idea??
>
> Thanks,
> -- Marco
>
> 2. Used Components and their Configuration:
>
> *** mod_perl version 2.000005
>
> *** using
> /export/home/marcow/src/kenai-packages~subversion/mod_perl/m od_perl-2.0.5/lib/Apache2/BuildConfig.pm
>
> *** Makefile.PL options:
> MP_APR_LIB => aprext
> MP_APXS => /opt/kenai/apache2/bin/apxs
> MP_COMPAT_1X => 1
> MP_GENERATE_XS => 1
> MP_LIBNAME => mod_perl
> MP_USE_DSO => 1
>
>
> *** /opt/kenai/apache2/bin/httpd -V
> Server version: Apache/2.2.21 (Unix)
> Server built: Sep 14 2011 22:10:21
> Server's Module Magic Number: 20051115:30
> Server loaded: APR 1.4.5, APR-Util 1.3.12
> Compiled using: APR 1.4.5, APR-Util 1.3.12
> Architecture: 32-bit
> Server MPM: Worker
> threaded: yes (fixed thread count)
> forked: yes (variable process count)
> 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 DYNAMIC_MODULE_LIMIT=128
> -D HTTPD_ROOT="/opt/kenai/apache2"
> -D SUEXEC_BIN="/opt/kenai/apache2/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/bin/ldd /opt/kenai/apache2/bin/httpd
> libm.so.2 => /usr/lib/libm.so.2
> libaprutil-1.so.0 => /opt/kenai/apache2/lib/libaprutil-1.so.0
> libdb-4.6.so => /opt/kenai/lib/libdb-4.6.so
> libresolv.so.2 => /usr/lib/libresolv.so.2
> libexpat.so.1 => /usr/lib/libexpat.so.1
> libiconv.so.2 => /opt/kenai/lib/libiconv.so.2
> libapr-1.so.0 => /opt/kenai/apache2/lib/libapr-1.so.0
> libuuid.so.1 => /usr/lib/libuuid.so.1
> libsendfile.so.1 => /usr/lib/libsendfile.so.1
> libsocket.so.1 => /usr/lib/libsocket.so.1
> libnsl.so.1 => /usr/lib/libnsl.so.1
> libpthread.so.1 => /usr/lib/libpthread.so.1
> libc.so.1 => /usr/lib/libc.so.1
> libdlpi.so.1 => /lib/libdlpi.so.1
> libmp.so.2 => /lib/libmp.so.2
> libmd.so.1 => /lib/libmd.so.1
> libscf.so.1 => /lib/libscf.so.1
> libinetutil.so.1 => /lib/libinetutil.so.1
> libdladm.so.1 => /lib/libdladm.so.1
> libuutil.so.1 => /lib/libuutil.so.1
> libgen.so.1 => /lib/libgen.so.1
> libdevinfo.so.1 => /lib/libdevinfo.so.1
> librcm.so.1 => /lib/librcm.so.1
> libnvpair.so.1 => /lib/libnvpair.so.1
> libexacct.so.1 => /usr/lib/libexacct.so.1
> libkstat.so.1 => /lib/libkstat.so.1
> libcurses.so.1 => /lib/libcurses.so.1
> libsec.so.1 => /lib/libsec.so.1
> libavl.so.1 => /lib/libavl.so.1
> libidmap.so.1 => /usr/lib/libidmap.so.1
> libldap.so.5 => /usr/lib/libldap.so.5
> libsldap.so.1 => /usr/lib/libsldap.so.1
> libadutils.so.1 => /usr/lib/libadutils.so.1
> libsasl.so.1 => /usr/lib/libsasl.so.1
> libnspr4.so => /usr/lib/mps/libnspr4.so
> libplc4.so => /usr/lib/mps/libplc4.so
> libnss3.so => /usr/lib/mps/libnss3.so
> libssl3.so => /usr/lib/mps/libssl3.so
> librt.so.1 => /lib/librt.so.1
> libdl.so.1 => /lib/libdl.so.1
> libsoftokn3.so => /usr/lib/mps/libsoftokn3.so
> libplds4.so => /usr/lib/mps/libplds4.so
> libthread.so.1 => /lib/libthread.so.1
> libbsm.so.1 => /lib/libbsm.so.1
> libsecdb.so.1 => /lib/libsecdb.so.1
> libtsol.so.2 => /lib/libtsol.so.2
>
>
> *** (apr|apu)-config linking info
>
> -L/opt/kenai/apache2/lib -laprutil-1 -lldap -llber -ldb-4.6
> -lexpat -liconv -L/opt/kenai/lib -R/opt/kenai/lib
> -L/opt/kenai/apache2/lib -R/opt/kenai/apache2/lib
> -L/opt/kenai/apache2/lib -lapr-1 -luuid -lsendfile -lsocket -lnsl
> -lpthread
>
>
>
> *** /opt/kenai/bin/perl -V
> Summary of my perl5 (revision 5 version 14 subversion 1) configuration:
>
> Platform:
> osname=solaris, osvers=2.11, archname=i86pc-solaris-thread-multi
> uname='sunos kexdev03z1 5.11 snv_111b i86pc i386 i86pc '
> config_args='-Dprefix=/opt/kenai -A
> prepend:ccflags=-I/opt/kenai/include -A prepend:libpth=/opt/kenai/lib
> /opt/SUNWspro/prod/lib/sparc/ /opt/SUNWspro/prod/lib/ /lib /usr/lib -A
> prepend:ldflags=-L/opt/kenai/lib -R/opt/kenai/lib -Doptimize=-g -U
> locincpth= -U loclibpth= -U glibpth= -Dusethreads -d -e'
> hint=recommended, useposix=true, d_sigaction=define
> 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='/opt/SUNWspro/bin/cc', ccflags ='-D_REENTRANT
> -I/opt/kenai/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -DPERL_USE_SAFE_PUTENV',
> optimize='-g',
> cppflags='-D_REENTRANT -I/opt/kenai/include'
> ccversion='Sun C 5.10 SunOS_i386 2009/06/03', gccversion='',
> 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='/opt/SUNWspro/bin/cc', ldflags ='-L/opt/kenai/lib
> -R/opt/kenai/lib -L/lib -L/usr/lib '
> libpth=/opt/kenai/lib /opt/SUNWspro/prod/lib/ /lib /usr/lib
> libs=-lsocket -lnsl -ldb -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='-KPIC', lddlflags='-G -L/opt/kenai/lib -R/opt/kenai/lib
> -L/lib -L/usr/lib'
>
>
> Characteristics of this binary (from libperl):
> Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
> PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
> PERL_PRESERVE_IVUV PERL_USE_SAFE_PUTENV
> USE_ITHREADS
> USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
> USE_REENTRANT_API
> Built under solaris
> Compiled at Aug 18 2011 19:28:54
> %ENV:
> PERL_LWP_USE_HTTP_10="1"
> @INC:
> /opt/kenai/lib/perl5/site_perl/5.14.1/i86pc-solaris-thread-m ulti
> /opt/kenai/lib/perl5/site_perl/5.14.1
> /opt/kenai/lib/perl5/5.14.1/i86pc-solaris-thread-multi
> /opt/kenai/lib/perl5/5.14.1
> /opt/kenai/lib/perl5/site_perl
> .
> [root@kexdev03z1:/export/home/marcow/src/kenai-packages~subv ersion/mod_perl]
> # ldd /opt/kenai/bin/perl
> libsocket.so.1 => /lib/libsocket.so.1
> libnsl.so.1 => /lib/libnsl.so.1
> libdl.so.1 => /lib/libdl.so.1
> libm.so.2 => /lib/libm.so.2
> libpthread.so.1 => /lib/libpthread.so.1
> libc.so.1 => /lib/libc.so.1
> libmp.so.2 => /lib/libmp.so.2
> libmd.so.1 => /lib/libmd.so.1
> libscf.so.1 => /lib/libscf.so.1
> libuutil.so.1 => /lib/libuutil.so.1
> libgen.so.1 => /lib/libgen.so.1
>
> [root@kexdev03z1:/export/home/marcow/src/kenai-packages~subv ersion/mod_perl]
> # ldd mod_perl-2.0.5/src/modules/perl/mod_perl.so
> libsocket.so.1 => /lib/libsocket.so.1
> libnsl.so.1 => /lib/libnsl.so.1
> libdl.so.1 => /lib/libdl.so.1
> libm.so.2 => /lib/libm.so.2
> libpthread.so.1 => /lib/libpthread.so.1
> libc.so.1 => /lib/libc.so.1
> libmp.so.2 => /lib/libmp.so.2
> libmd.so.1 => /lib/libmd.so.1
> libscf.so.1 => /lib/libscf.so.1
> libuutil.so.1 => /lib/libuutil.so.1
> libgen.so.1 => /lib/libgen.so.1
>
> *** Packages of interest status:
>
> Apache2 : -
> Apache2::Request : -
> CGI : 3.55
> ExtUtils::MakeMaker: 6.57_05
> LWP : 6.02
> mod_perl : -
> mod_perl2 : -
>
>
> 3. This is the core dump trace: (if you get a core dump):
>
> [root@kexdev03z1:/export/home/marcow/src/kenai-packages~subv ersion/mod_perl]
> # ~mw79288/dbx.x86 /opt/kenai/apache2/bin/httpd
> /var/cores/httpd-worker.20302-1316656799
> dbx.x86: warning: cannot find global initialization file: dbxrc
> For information about new features see `help changes'
> To remove this message, put `dbxenv suppress_startup_message 7.7' in
> your .dbxrc
> Reading httpd
> core file header read successfully
> Reading ld.so.1
> Reading libm.so.2
> Reading libaprutil-1.so.0.3.12
> Reading libdb-4.6.so
> Reading libresolv.so.2
> Reading libexpat.so.1.5.2
> Reading libiconv.so.2.4.0
> Reading libapr-1.so.0.4.5
> Reading libuuid.so.1
> Reading libsendfile.so.1
> Reading libsocket.so.1
> Reading libnsl.so.1
> Reading libpthread.so.1
> Reading libc.so.1
> Reading mod_mime.so
> Reading mod_alias.so
> Reading mod_perl.so
> Reading libdl.so.1
> Reading libscf.so.1
> Reading libuutil.so.1
> Reading libgen.so.1
> Reading libmd.so.1
> Reading libmp.so.2
> t@1 (l@1) program terminated by signal SEGV (no mapping at the fault
> address)
> Current function is modperl_env_clear
> 100 HV *hv = ENVHV;
> (dbx.x86) where
> current thread: t@1
> =>[1] modperl_env_clear(my_perl = 0x83ac218), line 100 in "modperl_env.c"
> [2] modperl_boot(my_perl = 0x83ac218, data = (nil)), line 100 in
> "mod_perl.c"
> [3] Perl_leave_scope(my_perl = 0x83ac218, base = 0), line 952 in
> "scope.c"
> [4] Perl_pop_scope(my_perl = 0x83ac218), line 110 in "scope.c"
> [5] S_parse_body(my_perl = 0x83ac218, env = (nil), xsinit =
> 0xfe664ad0 = &`mod_perl.so`mod_perl.c`modperl_xs_init(PerlInterpreter
> *my_perl)), line 2218 in "perl.c"
> [6] perl_parse(my_perl = 0x83ac218, xsinit = 0xfe664ad0 =
> &`mod_perl.so`mod_perl.c`modperl_xs_init(PerlInterpreter *my_perl), argc
> = 6, argv = 0x8455280, env = (nil)), line 1613 in "perl.c"
> [7] modperl_startup(s = 0x80d0068, p = 0x80ca538), line 255 in
> "mod_perl.c"
> [8] modperl_startup(s = 0x80d0068, p = 0x80ca538), line 207 in
> "mod_perl.c"
> [9] modperl_init(base_server = 0x80d0068, p = 0x80ca538), line 458 in
> "mod_perl.c"
> [10] modperl_hook_init(pconf = 0x80ca538, plog = (nil), ptemp =
> (nil), s = 0x80d0068), line 631 in "mod_perl.c"
> [11] modperl_run(), line 645 in "mod_perl.c"
> [12] modperl_cmd_load_module(parms = 0x80478f0, mconfig = 0x8111ef8,
> arg = 0x83437c8 "TestCompat::apache_module"), line 666 in "modperl_cmd.c"
> [13] ap_walk_config_sub(0x83437a8, 0x80478f0, 0x80fdd20, 0x39663763),
> at 0x808508a
> [14] ap_walk_config(0x8112378, 0x80478f0, 0x80fdd20, 0x83715ec), at
> 0x8085128
> [15] ap_process_config_tree(0x80d0068, 0x8112378, 0x80ca538,
> 0x80fa5f8), at 0x8085e8b
> [16] main(0x9, 0x80479cc, 0x80479f4, 0xfeffb7b4), at 0x807194d
> (dbx.x86)
>
>
> This report was generated by t/REPORT on Thu Sep 22 02:09:12 2011 GMT.
>
> -------------8<---------- End Bug Report --------------8<----------


--4e820cee_74b0dc51_10b81
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline


<div>Have you tried 2.0.5=3F
</div>
<div></div>
=20
<p style="color: =23A0A0A8;=22>On Wednesday, Septembe=
r 21, 2011 at 7:24 PM, Marco Walther wrote:</p>
<blockquote type="cite=22 style="border-left-styl=
e:solid;border-width:1px;margin-left:0px;padding-left:10px;= 22>
<span><div><div>-------------8&lt;---------- Start Bu=
g Report ------------8&lt;----------<br>1. Problem Description:<br><br>Ap=
ache with enabled mod=5Fperl runs into a SIGSEGV quickly during the <br>i=
nitialization of mod=5Fperl:-( This run is from a worker-mpm but the same=
<br>happens with the prefork-mpm.<br><br>We were running mod=5Fperl 2.0.=
4 + Perl 5.10.1 successfully before.<br><br>Any idea??<br><br>Thanks,=
<br>-- Marco<br><br>2. Used Components and their Configuration:<br><br>**=
* mod=5Fperl version 2.000005<br><br>*** using <br>/export/home/marcow/sr=
c/kenai-packages=7Esubversion/mod=5Fperl/mod=5Fperl-2.0.5/li b/Apache2/Bui=
ldConfig.pm<br><br>*** Makefile.PL options:<br> MP=5FAPR=5FLIB =3D&=
gt; aprext<br> MP=5FAPXS =3D&gt; /opt/kenai/apache2/bin/apxs<br>=
MP=5FCOMPAT=5F1X =3D&gt; 1<br> MP=5FGENERATE=5FXS =3D&gt; 1<br> =
MP=5FLIBNAME =3D&gt; mod=5Fperl<br> MP=5FUSE=5FDSO =3D&gt; 1<br=
><br><br>*** /opt/kenai/apache2/bin/httpd -V<br>Server version: Apache/2.=
2.21 (Unix)<br>Server built: Sep 14 2011 22:10:21<br>Server's Module Ma=
gic Number: 20051115:30<br>Server loaded: APR 1.4.5, APR-Util 1.3.12<br>=
Compiled using: APR 1.4.5, APR-Util 1.3.12<br>Architecture: 32-bit<br>S=
erver MPM: Worker<br> threaded: yes (fixed thread count)<br> =
forked: yes (variable process count)<br>Server compiled with....<br=
> -D APACHE=5FMPM=5FDIR="server/mpm/worker=22<br> -D APR=5FHAS=5FSE=
ND=46ILE<br> -D APR=5FHAS=5FMMAP<br> -D APR=5FHAVE=5FIPV6 (IPv4-mapped =
addresses enabled)<br> -D APR=5FUSE=5FPROC=5FPTHREAD=5FSERIALIZE<br> -D=
APR=5FUSE=5FPTHREAD=5FSERIALIZE<br> -D SINGLE=5FLISTEN=5FUNSERIALIZED=5F=
ACCEPT<br> -D APR=5FHAS=5FOTHER=5FCHILD<br> -D AP=5FHAVE=5FRELIABLE=5FP=
IPED=5FLOGS<br> -D DYNAMIC=5FMODULE=5FLIMIT=3D128<br> -D HTTPD=5FROOT=3D=
=22/opt/kenai/apache2=22<br> -D SUEXEC=5FBIN="/opt/kenai/apache2/bin=
/suexec=22<br> -D DE=46AULT=5FSCOREBOARD="logs/apache=5Fruntime=5Fst=
atus=22<br> -D DE=46AULT=5FERRORLOG="logs/error=5Flog=22<br> -D AP=5F=
TYPES=5FCON=46IG_FILE="conf/mime.types=22<br> -D SERVER=5FCON=46=
IG_FILE="conf/httpd.conf=22<br><br>*** /usr/bin/ldd /opt/kenai/ap=
ache2/bin/httpd<br> libm.so.2 =3D&gt; /usr/lib/libm.so.2<br> =
libaprutil-1.so.0 =3D&gt; /opt/kenai/apache2/lib/libaprutil-1=
..so.0<br> libdb-4.6.so =3D&gt; /opt/kenai/lib/libdb-4.6.so<br> =
libresolv.so.2 =3D&gt; /usr/lib/libresolv.so.2<br> =
libexpat.so.1 =3D&gt; /usr/lib/libexpat.so.1<br> libiconv=
..so.2 =3D&gt; /opt/kenai/lib/libiconv.so.2<br> libapr-1.s=
o.0 =3D&gt; /opt/kenai/apache2/lib/libapr-1.so.0<br> libu=
uid.so.1 =3D&gt; /usr/lib/libuuid.so.1<br> libsendfile.so.1 =3D&=
gt; /usr/lib/libsendfile.so.1<br> libsocket.so.1 =3D&gt; =
/usr/lib/libsocket.so.1<br> libnsl.so.1 =3D&gt; /usr/lib/li=
bnsl.so.1<br> libpthread.so.1 =3D&gt; /usr/lib/libpthread.s=
o.1<br> libc.so.1 =3D&gt; /usr/lib/libc.so.1<br> libd=
lpi.so.1 =3D&gt; /lib/libdlpi.so.1<br> libmp.so.2 =3D&gt; /li=
b/libmp.so.2<br> libmd.so.1 =3D&gt; /lib/libmd.so.1<br> =
libscf.so.1 =3D&gt; /lib/libscf.so.1<br> libinetutil.so.1 =3D=
&gt; /lib/libinetutil.so.1<br> libdladm.so.1 =3D&gt; =
/lib/libdladm.so.1<br> libuutil.so.1 =3D&gt; /lib/libuut=
il.so.1<br> libgen.so.1 =3D&gt; /lib/libgen.so.1<br> li=
bdevinfo.so.1 =3D&gt; /lib/libdevinfo.so.1<br> librcm.so.1 =
=3D&gt; /lib/librcm.so.1<br> libnvpair.so.1 =3D&gt; /lib=
/libnvpair.so.1<br> libexacct.so.1 =3D&gt; /usr/lib/libexa=
cct.so.1<br> libkstat.so.1 =3D&gt; /lib/libkstat.so.1<br>=
libcurses.so.1 =3D&gt; /lib/libcurses.so.1<br> li=
bsec.so.1 =3D&gt; /lib/libsec.so.1<br> libavl.so.1 =3D&gt; /l=
ib/libavl.so.1<br> libidmap.so.1 =3D&gt; /usr/lib/libidma=
p.so.1<br> libldap.so.5 =3D&gt; /usr/lib/libldap.so.5<br> =
libsldap.so.1 =3D&gt; /usr/lib/libsldap.so.1<br> libadu=
tils.so.1 =3D&gt; /usr/lib/libadutils.so.1<br> libsasl.so.1=
=3D&gt; /usr/lib/libsasl.so.1<br> libnspr4.so =3D&gt; /usr/li=
b/mps/libnspr4.so<br> libplc4.so =3D&gt; /usr/lib/mps/libplc4.=
so<br> libnss3.so =3D&gt; /usr/lib/mps/libnss3.so<br> =
libssl3.so =3D&gt; /usr/lib/mps/libssl3.so<br> librt.so.1 =3D&=
gt; /lib/librt.so.1<br> libdl.so.1 =3D&gt; /lib/libdl.so.1<=
br> libsoftokn3.so =3D&gt; /usr/lib/mps/libsoftokn3.so<br>=
libplds4.so =3D&gt; /usr/lib/mps/libplds4.so<br> libth=
read.so.1 =3D&gt; /lib/libthread.so.1<br> libbsm.so.1 =3D&=
gt; /lib/libbsm.so.1<br> libsecdb.so.1 =3D&gt; /lib/lib=
secdb.so.1<br> libtsol.so.2 =3D&gt; /lib/libtsol.so.2<br><br><br=
>*** (apr=7Capu)-config linking info<br><br> -L/opt/kenai/apache2/lib -l=
aprutil-1 -lldap -llber -ldb-4.6 <br>-lexpat -liconv -L/opt/kenai/lib=
-R/opt/kenai/lib <br>-L/opt/kenai/apache2/lib -R/opt/kenai/apache2/lib<b=
r> -L/opt/kenai/apache2/lib -lapr-1 -luuid -lsendfile -lsocket -lnsl <b=
r>-lpthread<br><br><br><br>*** /opt/kenai/bin/perl -V<br>Summary of my pe=
rl5 (revision 5 version 14 subversion 1) configuration:<br><br> Platfor=
m:<br> osname=3Dsolaris, osvers=3D2.11, archname=3Di86pc-solaris-thre=
ad-multi<br> uname=3D'sunos kexdev03z1 5.11 snv=5F111b i86pc i386 i86=
pc '<br> config=5Fargs=3D'-Dprefix=3D/opt/kenai -A <br>prepend:ccflag=
s=3D-I/opt/kenai/include -A prepend:libpth=3D/opt/kenai/lib <br>/opt/SUNW=
spro/prod/lib/sparc/ /opt/SUNWspro/prod/lib/ /lib /usr/lib -A <br>prepend=
:ldflags=3D-L/opt/kenai/lib -R/opt/kenai/lib -Doptimize=3D-g -U <br>locin=
cpth=3D -U loclibpth=3D -U glibpth=3D -Dusethreads -d -e'<br> hint=3D=
recommended, useposix=3Dtrue, d=5Fsigaction=3Ddefine<br> useithreads=3D=
define, usemultiplicity=3Ddefine<br> useperlio=3Ddefine, d=5Fsfio=3Du=
ndef, uselargefiles=3Ddefine, usesocks=3Dundef<br> use64bitint=3Dunde=
f, use64bitall=3Dundef, uselongdouble=3Dundef<br> usemymalloc=3Dn, bi=
ncompat5005=3Dundef<br> Compiler:<br> cc=3D'/opt/SUNWspro/bin/cc', =
ccflags =3D'-D=5FREENTRANT <br>-I/opt/kenai/include -D=5FLARGE=46ILE=5FSO=
URCE -D_FILE=5FOFFSET=5FBITS=3D64 <br>-DPERL=5FUSE=5FSA=46E=5FPUT=
ENV',<br> optimize=3D'-g',<br> cppflags=3D'-D=5FREENTRANT -I/opt/=
kenai/include'<br> ccversion=3D'Sun C 5.10 SunOS=5Fi386 2009/06/03', =
gccversion=3D'', <br>gccosandvers=3D''<br> intsize=3D4, longsize=3D4,=
ptrsize=3D4, doublesize=3D8, byteorder=3D1234<br> d=5Flonglong=3Ddef=
ine, longlongsize=3D8, d=5Flongdbl=3Ddefine, longdblsize=3D12<br> ivt=
ype=3D'long', ivsize=3D4, nvtype=3D'double', nvsize=3D8, Off=5Ft=3D'off=5F=
t', <br>lseeksize=3D8<br> alignbytes=3D4, prototype=3Ddefine<br> Li=
nker and Libraries:<br> ld=3D'/opt/SUNWspro/bin/cc', ldflags =3D'-L/o=
pt/kenai/lib <br>-R/opt/kenai/lib -L/lib -L/usr/lib '<br> libpth=3D/o=
pt/kenai/lib /opt/SUNWspro/prod/lib/ /lib /usr/lib<br> libs=3D-lsocke=
t -lnsl -ldb -ldl -lm -lpthread -lc<br> perllibs=3D-lsocket -lnsl -ld=
l -lm -lpthread -lc<br> libc=3D/lib/libc.so, so=3Dso, useshrplib=3Dfa=
lse, libperl=3Dlibperl.a<br> gnulibc=5Fversion=3D''<br> Dynamic Lin=
king:<br> dlsrc=3Ddl=5Fdlopen.xs, dlext=3Dso, d=5Fdlsymun=3Dundef, cc=
dlflags=3D' '<br> cccdlflags=3D'-KPIC', lddlflags=3D'-G -L/opt/kenai/=
lib -R/opt/kenai/lib <br>-L/lib -L/usr/lib'<br><br><br>Characteristics of=
this binary (from libperl):<br> Compile-time options: MULTIPLICITY PER=
L=5FDONT=5FCREATE=5FGVSV<br> PERL=5FIMPLICIT=5FCO=
NTEXT PERL=5FMALLOC=5FWRAP<br> PERL=5FPRESERVE=5F=
IVUV PERL=5FUSE=5FSA=46E=5FPUTENV <br>USE=5FITHREADS<br> =
USE=5FLARGE_FILES USE=5FPERLIO USE=5FPERL=5FATO=46<br> =
USE=5FREENTRANT=5FAPI<br> Built under solaris<br> C=
ompiled at Aug 18 2011 19:28:54<br> %ENV:<br> PERL=5FLWP=5FUSE=5FHT=
TP=5F10="1=22<br> =40INC:<br> /opt/kenai/lib/perl5/site=5Fperl/=
5.14.1/i86pc-solaris-thread-multi<br> /opt/kenai/lib/perl5/site=5Fper=
l/5.14.1<br> /opt/kenai/lib/perl5/5.14.1/i86pc-solaris-thread-multi<b=
r> /opt/kenai/lib/perl5/5.14.1<br> /opt/kenai/lib/perl5/site=5Fpe=
rl<br> .<br>=5Broot=40kexdev03z1:/export/home/marcow/src/kenai-packag=
es=7Esubversion/mod=5Fperl=5D <br>=23 ldd /opt/kenai/bin/perl<br> =
libsocket.so.1 =3D&gt; /lib/libsocket.so.1<br> libnsl.so.=
1 =3D&gt; /lib/libnsl.so.1<br> libdl.so.1 =3D&gt; /lib/libdl=
..so.1<br> libm.so.2 =3D&gt; /lib/libm.so.2<br> libpth=
read.so.1 =3D&gt; /lib/libpthread.so.1<br> libc.so.1 =3D&gt=
; /lib/libc.so.1<br> libmp.so.2 =3D&gt; /lib/libmp.so.2<br=
> libmd.so.1 =3D&gt; /lib/libmd.so.1<br> libscf.so.1 =3D=
&gt; /lib/libscf.so.1<br> libuutil.so.1 =3D&gt; /lib/li=
buutil.so.1<br> libgen.so.1 =3D&gt; /lib/libgen.so.1<br><br>=5B=
root=40kexdev03z1:/export/home/marcow/src/kenai-packages=7Es ubversion/mod=
=5Fperl=5D <br>=23 ldd mod=5Fperl-2.0.5/src/modules/perl/mod=5Fperl.so<br=
> libsocket.so.1 =3D&gt; /lib/libsocket.so.1<br> l=
ibnsl.so.1 =3D&gt; /lib/libnsl.so.1<br> libdl.so.1 =3D&gt; /=
lib/libdl.so.1<br> libm.so.2 =3D&gt; /lib/libm.so.2<br> =
libpthread.so.1 =3D&gt; /lib/libpthread.so.1<br> libc.so=
..1 =3D&gt; /lib/libc.so.1<br> libmp.so.2 =3D&gt; /lib/libm=
p.so.2<br> libmd.so.1 =3D&gt; /lib/libmd.so.1<br> libs=
cf.so.1 =3D&gt; /lib/libscf.so.1<br> libuutil.so.1 =3D&gt; =
/lib/libuutil.so.1<br> libgen.so.1 =3D&gt; /lib/libgen.so.1=
<br><br>*** Packages of interest status:<br><br>Apache2 : -<br=
>Apache2::Request : -<br>CGI : 3.55<br>ExtUtils::MakeMak=
er: 6.57=5F05<br>LWP : 6.02<br>mod=5Fperl : -<br=
>mod=5Fperl2 : -<br><br><br>3. This is the core dump trace: (if =
you get a core dump):<br><br>=5Broot=40kexdev03z1:/export/home/marcow/src=
/kenai-packages=7Esubversion/mod=5Fperl=5D <br>=23 =7Emw79288/dbx.x86 /op=
t/kenai/apache2/bin/httpd <br>/var/cores/httpd-worker.20302-1316656799<br=
>dbx.x86: warning: cannot find global initialization file: dbxrc<br>=46or=
information about new features see =60help changes'<br>To remove this me=
ssage, put =60dbxenv suppress=5Fstartup=5Fmessage 7.7' in <br>your .dbxrc=
<br>Reading httpd<br>core file header read successfully<br>Reading ld.so.=
1<br>Reading libm.so.2<br>Reading libaprutil-1.so.0.3.12<br>Reading libdb=
-4.6.so<br>Reading libresolv.so.2<br>Reading libexpat.so.1.5.2<br>Reading=
libiconv.so.2.4.0<br>Reading libapr-1.so.0.4.5<br>Reading libuuid.so.1<b=
r>Reading libsendfile.so.1<br>Reading libsocket.so.1<br>Reading libnsl.so=
..1<br>Reading libpthread.so.1<br>Reading libc.so.1<br>Reading mod=5Fmime.=
so<br>Reading mod=5Falias.so<br>Reading mod=5Fperl.so<br>Reading libdl.so=
..1<br>Reading libscf.so.1<br>Reading libuutil.so.1<br>Reading libgen.so.1=
<br>Reading libmd.so.1<br>Reading libmp.so.2<br>t=401 (l=401) program ter=
minated by signal SEGV (no mapping at the fault <br>address)<br>Current f=
unction is modperl=5Fenv=5Fclear<br> 100 HV *hv =3D ENVHV;<br>(db=
x.x86) where<br>current thread: t=401<br>=3D&gt;=5B1=5D modperl=5Fenv=5Fc=
lear(my=5Fperl =3D 0x83ac218), line 100 in =22modperl=5Fenv.c=22<br> =5B=
2=5D modperl=5Fboot(my=5Fperl =3D 0x83ac218, data =3D (nil)), line 100 in=
<br>=22mod=5Fperl.c=22<br> =5B3=5D Perl=5Fleave=5Fscope(my=5Fperl =3D =
0x83ac218, base =3D 0), line 952 in <br>=22scope.c=22<br> =5B4=5D Perl=5F=
pop=5Fscope(my=5Fperl =3D 0x83ac218), line 110 in =22scope.c=22<br> =5B=
5=5D S=5Fparse=5Fbody(my=5Fperl =3D 0x83ac218, env =3D (nil), xsinit =3D =
<br>0xfe664ad0 =3D &amp;=60mod=5Fperl.so=60mod=5Fperl.c=60modperl=5Fxs=5F=
init(PerlInterpreter <br>*my=5Fperl)), line 2218 in =22perl.c=22<br> =5B=
6=5D perl=5Fparse(my=5Fperl =3D 0x83ac218, xsinit =3D 0xfe664ad0 =3D <br>=
&amp;=60mod=5Fperl.so=60mod=5Fperl.c=60modperl=5Fxs=5Finit(P erlInterprete=
r *my=5Fperl), argc <br>=3D 6, argv =3D 0x8455280, env =3D (nil)), line 1=
613 in =22perl.c=22<br> =5B7=5D modperl=5Fstartup(s =3D 0x80d0068, p =3D=
0x80ca538), line 255 in <br>=22mod=5Fperl.c=22<br> =5B8=5D modperl=5Fs=
tartup(s =3D 0x80d0068, p =3D 0x80ca538), line 207 in <br>=22mod=5Fperl.c=
=22<br> =5B9=5D modperl=5Finit(base=5Fserver =3D 0x80d0068, p =3D 0x80c=
a538), line 458 in <br>=22mod=5Fperl.c=22<br> =5B10=5D modperl=5Fhook=5F=
init(pconf =3D 0x80ca538, plog =3D (nil), ptemp =3D <br>(nil), s =3D 0x80=
d0068), line 631 in =22mod=5Fperl.c=22<br> =5B11=5D modperl=5Frun(), li=
ne 645 in =22mod=5Fperl.c=22<br> =5B12=5D modperl=5Fcmd=5Fload=5Fmodule=
(parms =3D 0x80478f0, mconfig =3D 0x8111ef8, <br>arg =3D 0x83437c8 =22Tes=
tCompat::apache=5Fmodule=22), line 666 in =22modperl=5Fcmd.c=22<br> =5B=
13=5D ap=5Fwalk=5Fconfig=5Fsub(0x83437a8, 0x80478f0, 0x80fdd20, 0x3966376=
3), <br>at 0x808508a<br> =5B14=5D ap=5Fwalk=5Fconfig(0x8112378, 0x80478=
f0, 0x80fdd20, 0x83715ec), at <br>0x8085128<br> =5B15=5D ap=5Fprocess=5F=
config=5Ftree(0x80d0068, 0x8112378, 0x80ca538, <br>0x80fa5f8), at 0x8085e=
8b<br> =5B16=5D main(0x9, 0x80479cc, 0x80479f4, 0xfeffb7b4), at 0x80719=
4d<br>(dbx.x86)<br><br><br>This report was generated by t/REPORT on Thu S=
ep 22 02:09:12 2011 GMT.<br><br>-------------8&lt;---------- End Bug Repo=
rt --------------8&lt;----------<br></div></div></span>
=20
=20
=20
=20
</blockquote>
=20
<div>
<br>
</div>

--4e820cee_74b0dc51_10b81--

Report this message

#3: Re: [mp 2.0.5] Early core dump:-( OpenSolaris-x86, Apache 2.2.21& Perl 5.14.1

Posted on 2011-09-27 20:21:40 by Marco Walther

On 09/27/2011 10:50 AM, Fred Moyer wrote:
> Have you tried 2.0.5?
Yes, from below:

---------------
*** mod_perl version 2.000005

*** using
/export/home/marcow/src/kenai-packages~subversion/mod_perl/m od_perl-2.0.5/lib/Apache2/BuildConfig.pm

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

I'm trying to switch from Perl 5.10.1 & mod_perl 2.0.4 --> Perl 5.14.1
(probably .2) & mod_perl 2.0.5 but so far that does not work:-(

Thanks,
-- Marco

> On Wednesday, September 21, 2011 at 7:24 PM, Marco Walther wrote:
>
>> -------------8<---------- Start Bug Report ------------8<----------
>> 1. Problem Description:
>>
>> Apache with enabled mod_perl runs into a SIGSEGV quickly during the
>> initialization of mod_perl:-( This run is from a worker-mpm but the same
>> happens with the prefork-mpm.
>>
>> We were running mod_perl 2.0.4 + Perl 5.10.1 successfully before.
>>
>> Any idea??
>>
>> Thanks,
>> -- Marco
>>
>> 2. Used Components and their Configuration:
>>
>> *** mod_perl version 2.000005
>>
>> *** using
>> /export/home/marcow/src/kenai-packages~subversion/mod_perl/m od_perl-2.0.5/lib/Apache2/BuildConfig.pm
>>
>> *** Makefile.PL options:
>> MP_APR_LIB => aprext
>> MP_APXS => /opt/kenai/apache2/bin/apxs
>> MP_COMPAT_1X => 1
>> MP_GENERATE_XS => 1
>> MP_LIBNAME => mod_perl
>> MP_USE_DSO => 1
>>
>>
>> *** /opt/kenai/apache2/bin/httpd -V
>> Server version: Apache/2.2.21 (Unix)
>> Server built: Sep 14 2011 22:10:21
>> Server's Module Magic Number: 20051115:30
>> Server loaded: APR 1.4.5, APR-Util 1.3.12
>> Compiled using: APR 1.4.5, APR-Util 1.3.12
>> Architecture: 32-bit
>> Server MPM: Worker
>> threaded: yes (fixed thread count)
>> forked: yes (variable process count)
>> 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 DYNAMIC_MODULE_LIMIT=128
>> -D HTTPD_ROOT="/opt/kenai/apache2"
>> -D SUEXEC_BIN="/opt/kenai/apache2/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/bin/ldd /opt/kenai/apache2/bin/httpd
>> libm.so.2 => /usr/lib/libm.so.2
>> libaprutil-1.so.0 => /opt/kenai/apache2/lib/libaprutil-1.so.0
>> libdb-4.6.so => /opt/kenai/lib/libdb-4.6.so
>> libresolv.so.2 => /usr/lib/libresolv.so.2
>> libexpat.so.1 => /usr/lib/libexpat.so.1
>> libiconv.so.2 => /opt/kenai/lib/libiconv.so.2
>> libapr-1.so.0 => /opt/kenai/apache2/lib/libapr-1.so.0
>> libuuid.so.1 => /usr/lib/libuuid.so.1
>> libsendfile.so.1 => /usr/lib/libsendfile.so.1
>> libsocket.so.1 => /usr/lib/libsocket.so.1
>> libnsl.so.1 => /usr/lib/libnsl.so.1
>> libpthread.so.1 => /usr/lib/libpthread.so.1
>> libc.so.1 => /usr/lib/libc.so.1
>> libdlpi.so.1 => /lib/libdlpi.so.1
>> libmp.so.2 => /lib/libmp.so.2
>> libmd.so.1 => /lib/libmd.so.1
>> libscf.so.1 => /lib/libscf.so.1
>> libinetutil.so.1 => /lib/libinetutil.so.1
>> libdladm.so.1 => /lib/libdladm.so.1
>> libuutil.so.1 => /lib/libuutil.so.1
>> libgen.so.1 => /lib/libgen.so.1
>> libdevinfo.so.1 => /lib/libdevinfo.so.1
>> librcm.so.1 => /lib/librcm.so.1
>> libnvpair.so.1 => /lib/libnvpair.so.1
>> libexacct.so.1 => /usr/lib/libexacct.so.1
>> libkstat.so.1 => /lib/libkstat.so.1
>> libcurses.so.1 => /lib/libcurses.so.1
>> libsec.so.1 => /lib/libsec.so.1
>> libavl.so.1 => /lib/libavl.so.1
>> libidmap.so.1 => /usr/lib/libidmap.so.1
>> libldap.so.5 => /usr/lib/libldap.so.5
>> libsldap.so.1 => /usr/lib/libsldap.so.1
>> libadutils.so.1 => /usr/lib/libadutils.so.1
>> libsasl.so.1 => /usr/lib/libsasl.so.1
>> libnspr4.so => /usr/lib/mps/libnspr4.so
>> libplc4.so => /usr/lib/mps/libplc4.so
>> libnss3.so => /usr/lib/mps/libnss3.so
>> libssl3.so => /usr/lib/mps/libssl3.so
>> librt.so.1 => /lib/librt.so.1
>> libdl.so.1 => /lib/libdl.so.1
>> libsoftokn3.so => /usr/lib/mps/libsoftokn3.so
>> libplds4.so => /usr/lib/mps/libplds4.so
>> libthread.so.1 => /lib/libthread.so.1
>> libbsm.so.1 => /lib/libbsm.so.1
>> libsecdb.so.1 => /lib/libsecdb.so.1
>> libtsol.so.2 => /lib/libtsol.so.2
>>
>>
>> *** (apr|apu)-config linking info
>>
>> -L/opt/kenai/apache2/lib -laprutil-1 -lldap -llber -ldb-4.6
>> -lexpat -liconv -L/opt/kenai/lib -R/opt/kenai/lib
>> -L/opt/kenai/apache2/lib -R/opt/kenai/apache2/lib
>> -L/opt/kenai/apache2/lib -lapr-1 -luuid -lsendfile -lsocket -lnsl
>> -lpthread
>>
>>
>>
>> *** /opt/kenai/bin/perl -V
>> Summary of my perl5 (revision 5 version 14 subversion 1) configuration:
>>
>> Platform:
>> osname=solaris, osvers=2.11, archname=i86pc-solaris-thread-multi
>> uname='sunos kexdev03z1 5.11 snv_111b i86pc i386 i86pc '
>> config_args='-Dprefix=/opt/kenai -A
>> prepend:ccflags=-I/opt/kenai/include -A prepend:libpth=/opt/kenai/lib
>> /opt/SUNWspro/prod/lib/sparc/ /opt/SUNWspro/prod/lib/ /lib /usr/lib -A
>> prepend:ldflags=-L/opt/kenai/lib -R/opt/kenai/lib -Doptimize=-g -U
>> locincpth= -U loclibpth= -U glibpth= -Dusethreads -d -e'
>> hint=recommended, useposix=true, d_sigaction=define
>> 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='/opt/SUNWspro/bin/cc', ccflags ='-D_REENTRANT
>> -I/opt/kenai/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
>> -DPERL_USE_SAFE_PUTENV',
>> optimize='-g',
>> cppflags='-D_REENTRANT -I/opt/kenai/include'
>> ccversion='Sun C 5.10 SunOS_i386 2009/06/03', gccversion='',
>> 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='/opt/SUNWspro/bin/cc', ldflags ='-L/opt/kenai/lib
>> -R/opt/kenai/lib -L/lib -L/usr/lib '
>> libpth=/opt/kenai/lib /opt/SUNWspro/prod/lib/ /lib /usr/lib
>> libs=-lsocket -lnsl -ldb -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='-KPIC', lddlflags='-G -L/opt/kenai/lib -R/opt/kenai/lib
>> -L/lib -L/usr/lib'
>>
>>
>> Characteristics of this binary (from libperl):
>> Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
>> PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
>> PERL_PRESERVE_IVUV PERL_USE_SAFE_PUTENV
>> USE_ITHREADS
>> USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
>> USE_REENTRANT_API
>> Built under solaris
>> Compiled at Aug 18 2011 19:28:54
>> %ENV:
>> PERL_LWP_USE_HTTP_10="1"
>> @INC:
>> /opt/kenai/lib/perl5/site_perl/5.14.1/i86pc-solaris-thread-m ulti
>> /opt/kenai/lib/perl5/site_perl/5.14.1
>> /opt/kenai/lib/perl5/5.14.1/i86pc-solaris-thread-multi
>> /opt/kenai/lib/perl5/5.14.1
>> /opt/kenai/lib/perl5/site_perl
>> .
>> [root@kexdev03z1:/export/home/marcow/src/kenai-packages~subv ersion/mod_perl]
>>
>> # ldd /opt/kenai/bin/perl
>> libsocket.so.1 => /lib/libsocket.so.1
>> libnsl.so.1 => /lib/libnsl.so.1
>> libdl.so.1 => /lib/libdl.so.1
>> libm.so.2 => /lib/libm.so.2
>> libpthread.so.1 => /lib/libpthread.so.1
>> libc.so.1 => /lib/libc.so.1
>> libmp.so.2 => /lib/libmp.so.2
>> libmd.so.1 => /lib/libmd.so.1
>> libscf.so.1 => /lib/libscf.so.1
>> libuutil.so.1 => /lib/libuutil.so.1
>> libgen.so.1 => /lib/libgen.so.1
>>
>> [root@kexdev03z1:/export/home/marcow/src/kenai-packages~subv ersion/mod_perl]
>>
>> # ldd mod_perl-2.0.5/src/modules/perl/mod_perl.so
>> libsocket.so.1 => /lib/libsocket.so.1
>> libnsl.so.1 => /lib/libnsl.so.1
>> libdl.so.1 => /lib/libdl.so.1
>> libm.so.2 => /lib/libm.so.2
>> libpthread.so.1 => /lib/libpthread.so.1
>> libc.so.1 => /lib/libc.so.1
>> libmp.so.2 => /lib/libmp.so.2
>> libmd.so.1 => /lib/libmd.so.1
>> libscf.so.1 => /lib/libscf.so.1
>> libuutil.so.1 => /lib/libuutil.so.1
>> libgen.so.1 => /lib/libgen.so.1
>>
>> *** Packages of interest status:
>>
>> Apache2 : -
>> Apache2::Request : -
>> CGI : 3.55
>> ExtUtils::MakeMaker: 6.57_05
>> LWP : 6.02
>> mod_perl : -
>> mod_perl2 : -
>>
>>
>> 3. This is the core dump trace: (if you get a core dump):
>>
>> [root@kexdev03z1:/export/home/marcow/src/kenai-packages~subv ersion/mod_perl]
>>
>> # ~mw79288/dbx.x86 /opt/kenai/apache2/bin/httpd
>> /var/cores/httpd-worker.20302-1316656799
>> dbx.x86: warning: cannot find global initialization file: dbxrc
>> For information about new features see `help changes'
>> To remove this message, put `dbxenv suppress_startup_message 7.7' in
>> your .dbxrc
>> Reading httpd
>> core file header read successfully
>> Reading ld.so.1
>> Reading libm.so.2
>> Reading libaprutil-1.so.0.3.12
>> Reading libdb-4.6.so
>> Reading libresolv.so.2
>> Reading libexpat.so.1.5.2
>> Reading libiconv.so.2.4.0
>> Reading libapr-1.so.0.4.5
>> Reading libuuid.so.1
>> Reading libsendfile.so.1
>> Reading libsocket.so.1
>> Reading libnsl.so.1
>> Reading libpthread.so.1
>> Reading libc.so.1
>> Reading mod_mime.so
>> Reading mod_alias.so
>> Reading mod_perl.so
>> Reading libdl.so.1
>> Reading libscf.so.1
>> Reading libuutil.so.1
>> Reading libgen.so.1
>> Reading libmd.so.1
>> Reading libmp.so.2
>> t@1 (l@1) program terminated by signal SEGV (no mapping at the fault
>> address)
>> Current function is modperl_env_clear
>> 100 HV *hv = ENVHV;
>> (dbx.x86) where
>> current thread: t@1
>> =>[1] modperl_env_clear(my_perl = 0x83ac218), line 100 in "modperl_env.c"
>> [2] modperl_boot(my_perl = 0x83ac218, data = (nil)), line 100 in
>> "mod_perl.c"
>> [3] Perl_leave_scope(my_perl = 0x83ac218, base = 0), line 952 in
>> "scope.c"
>> [4] Perl_pop_scope(my_perl = 0x83ac218), line 110 in "scope.c"
>> [5] S_parse_body(my_perl = 0x83ac218, env = (nil), xsinit =
>> 0xfe664ad0 = &`mod_perl.so`mod_perl.c`modperl_xs_init(PerlInterpreter
>> *my_perl)), line 2218 in "perl.c"
>> [6] perl_parse(my_perl = 0x83ac218, xsinit = 0xfe664ad0 =
>> &`mod_perl.so`mod_perl.c`modperl_xs_init(PerlInterpreter *my_perl), argc
>> = 6, argv = 0x8455280, env = (nil)), line 1613 in "perl.c"
>> [7] modperl_startup(s = 0x80d0068, p = 0x80ca538), line 255 in
>> "mod_perl.c"
>> [8] modperl_startup(s = 0x80d0068, p = 0x80ca538), line 207 in
>> "mod_perl.c"
>> [9] modperl_init(base_server = 0x80d0068, p = 0x80ca538), line 458 in
>> "mod_perl.c"
>> [10] modperl_hook_init(pconf = 0x80ca538, plog = (nil), ptemp =
>> (nil), s = 0x80d0068), line 631 in "mod_perl.c"
>> [11] modperl_run(), line 645 in "mod_perl.c"
>> [12] modperl_cmd_load_module(parms = 0x80478f0, mconfig = 0x8111ef8,
>> arg = 0x83437c8 "TestCompat::apache_module"), line 666 in "modperl_cmd.c"
>> [13] ap_walk_config_sub(0x83437a8, 0x80478f0, 0x80fdd20, 0x39663763),
>> at 0x808508a
>> [14] ap_walk_config(0x8112378, 0x80478f0, 0x80fdd20, 0x83715ec), at
>> 0x8085128
>> [15] ap_process_config_tree(0x80d0068, 0x8112378, 0x80ca538,
>> 0x80fa5f8), at 0x8085e8b
>> [16] main(0x9, 0x80479cc, 0x80479f4, 0xfeffb7b4), at 0x807194d
>> (dbx.x86)
>>
>>
>> This report was generated by t/REPORT on Thu Sep 22 02:09:12 2011 GMT.
>>
>> -------------8<---------- End Bug Report --------------8<----------
>

Report this message

#4: Re: [mp 2.0.5] Early core dump:-( OpenSolaris-x86, Apache 2.2.21& Perl 5.14.1

Posted on 2011-09-28 23:22:49 by Marco Walther

OK, I think I found one problem. The following two defines don't make
it from the Perl make to the CCFLAGS for the mod_perl:-(
`-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' (They are automatically
added by the Configure for perl and listed in the perl -V output below).

That causes the my_perl structure to be of different sizes/offsets
between perl and mod_perl. That works by accident with Perl 5.10.1 and
finally breaks with 5.14.[12]

Unfortunately even trying to run
/opt/kenai/bin/perl Makefile.PL DEFINE='-D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64'
is not enough:-( The defines still do not make it to the
src/modules/perl/Makefile:-( But after changing that Makefile by hand
and rebuilding, things seem to be working fine.

Thanks,
-- Marco

Some dbx output

----------------- perl 5.10.1 & mod_perl dev from yesterday
---------------------------------------------
[mw79288@kexdev03z1:/export/home/marcow/src/kenai-packages~s ubversion/mod_perl/modperl-2.0_20110927151300]
$ ~/dbx.x86 /opt/kenai/bin/perl
dbx.x86: warning: cannot find global initialization file: dbxrc
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.7' in
your .dbxrc
Reading perl
Reading ld.so.1
Reading libsocket.so.1
Reading libnsl.so.1
Reading libdl.so.1
Reading libm.so.2
Reading libpthread.so.1
Reading libc.so.1
(dbx.x86) loadobject -load ./blib/arch/auto/ModPerl/Const/Const.so
Reading Const.so
Loaded loadobject:
/export/home/marcow/src/kenai-packages~subversion/mod_perl/m odperl-2.0_20110927151300/blib/arch/auto/ModPerl/Const/Const .so
(dbx.x86) stop in boot_ModPerl__Const
(2) stop in boot_ModPerl__Const
(dbx.x86) run -I../blib/arch -I../blib/lib \
> t/TEST -bugreport -verbose=0
Running: perl -I../blib/arch -I../blib/lib t/TEST -bugreport -verbose=0
(process id 17713)
Reading Cwd.so
Reading IO.so
Reading Fcntl.so
Reading Util.so
Reading Dumper.so
Reading Glob.so
Reading Socket.so
Reading HiRes.so
Reading librt.so.1
Reading POSIX.so
[warning] Skipping 'set unlimited ulimit for coredumps', since we are
running as a non-root user on Solaris
[warning] forcing re-configuration:
[warning] - configuration generated with old Apache-Test.
t@1 (l@1) stopped in boot_ModPerl__Const at line 89 in file "Const.c"
89 dVAR; dXSARGS;
(dbx.x86) print sizeof(*my_perl)
sizeof(*my_perl) = 2136
(dbx.x86) up
Current function is Perl_pp_entersub
2888 (void)(*CvXSUB(cv))(aTHX_ cv);
(dbx.x86) print sizeof(*my_perl)
sizeof(*my_perl) = 2152
(dbx.x86) where
current thread: t@1
dbx.x86: warning: can't find file
"/export/home/marcow/src/kenai-packages~subversion/perl/perl -5.10.1/perlmain.c"
dbx.x86: warning: see `help finding-files'
dbx.x86: warning: can't find file
"/export/home/marcow/src/kenai-packages~subversion/perl/perl -5.10.1/perlmain.c"
[1] boot_ModPerl__Const(my_perl = 0x8241e28, cv = 0x8eedb1c), line 89
in "Const.c"
=>[2] Perl_pp_entersub(my_perl = 0x8241e28), line 2888 in "pp_hot.c"
[3] Perl_runops_debug(my_perl = 0x8241e28), line 1968 in "dump.c"
[4] Perl_call_sv(my_perl = 0x8241e28, sv = 0x8eed58c, flags = 6),
line 2717 in "perl.c"
[5] Perl_call_list(my_perl = 0x8241e28, oldscope = 25, paramList =
0x8ee3c54), line 5264 in "perl.c"
[6] S_process_special_blocks(my_perl = 0x8241e28, fullname =
0x82e2540 "BEGIN", gv = 0x8eed5dc, cv = 0x8eed58c), line 5864 in "op.c"
[7] Perl_newATTRSUB(my_perl = 0x8241e28, floor = 381, o = 0x8ecbf48,
proto = (nil), attrs = (nil), block = 0x8ebe8a8), line 5835 in "op.c"
[8] Perl_utilize(my_perl = 0x8241e28, aver = 1, floor = 381, version
= (nil), idop = 0x8ecbaa8, arg = 0x8ecbb28), line 3886 in "op.c"
[9] Perl_yyparse(my_perl = 0x8241e28), line 659 in "perly.y"
[10] S_doeval(my_perl = 0x8241e28, gimme = 0, startop = (nil),
outside = (nil), seq = 11148U), line 2981 in "pp_ctl.c"
[11] Perl_pp_require(my_perl = 0x8241e28), line 3573 in "pp_ctl.c"
[12] Perl_runops_debug(my_perl = 0x8241e28), line 1968 in "dump.c"
[13] Perl_call_sv(my_perl = 0x8241e28, sv = 0x8ec8b24, flags = 6),
line 2717 in "perl.c"
[14] Perl_call_list(my_perl = 0x8241e28, oldscope = 19, paramList =
0x8ec8994), line 5264 in "perl.c"
[15] S_process_special_blocks(my_perl = 0x8241e28, fullname =
0x82e2540 "BEGIN", gv = 0x8ec8b44, cv = 0x8ec8b24), line 5864 in "op.c"
[16] Perl_newATTRSUB(my_perl = 0x8241e28, floor = 242, o = 0x8ecb9a8,
proto = (nil), attrs = (nil), block = 0x8ebe970), line 5835 in "op.c"
[17] Perl_utilize(my_perl = 0x8241e28, aver = 1, floor = 242, version
= (nil), idop = 0x8ecbb08, arg = 0x8ed0718), line 3886 in "op.c"
[18] Perl_yyparse(my_perl = 0x8241e28), line 659 in "perly.y"
[19] S_doeval(my_perl = 0x8241e28, gimme = 0, startop = (nil),
outside = (nil), seq = 4596U), line 2981 in "pp_ctl.c"
[20] Perl_pp_require(my_perl = 0x8241e28), line 3573 in "pp_ctl.c"
[21] Perl_runops_debug(my_perl = 0x8241e28), line 1968 in "dump.c"
[22] S_run_body(my_perl = 0x8241e28, oldscope = 1), line 2426 in "perl.c"
[23] perl_run(my_perl = 0x8241e28), line 2349 in "perl.c"
[24] main(argc = 6, argv = 0x8047b5c, env = 0x8047b78), at 0x806f180
(dbx.x86)

------------------------------ perl 5.14.1 & mod_perl dev from yesterday
---------------------------------------------
[mw79288@kexdev03z1:/export/home/marcow/src/kenai-packages~s ubversion/mod_perl/modperl-2.0_20110927151300]
$ ~/dbx.x86 /opt/kenai/bin/perl
dbx.x86: warning: cannot find global initialization file: dbxrc
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.7' in
your .dbxrc
Reading perl
Reading ld.so.1
Reading libsocket.so.1
Reading libnsl.so.1
Reading libdl.so.1
Reading libm.so.2
Reading libpthread.so.1
Reading libc.so.1
(dbx.x86) loadobject -load ./blib/arch/auto/ModPerl/Const/Const.so
Reading Const.so
Loaded loadobject:
/export/home/marcow/src/kenai-packages~subversion/mod_perl/m odperl-2.0_20110927151300/blib/arch/auto/ModPerl/Const/Const .so
(dbx.x86) stop in boot_ModPerl__Const
(2) stop in boot_ModPerl__Const
(dbx.x86) run -I../blib/arch -I../blib/lib t/TEST -bugreport -verbose=0
Running: perl -I../blib/arch -I../blib/lib t/TEST -bugreport -verbose=0
(process id 2010)

execution completed, exit code is 0
(dbx.x86) quit
[mw79288@kexdev03z1:/export/home/marcow/src/kenai-packages~s ubversion/mod_perl/modperl-2.0_20110927151300]
$ ~/dbx.x86 /opt/kenai/bin/perl
dbx.x86: warning: cannot find global initialization file: dbxrc
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.7' in
your .dbxrc
Reading perl
Reading ld.so.1
Reading libsocket.so.1
Reading libnsl.so.1
Reading libdl.so.1
Reading libm.so.2
Reading libpthread.so.1
Reading libc.so.1
(dbx.x86) loadobject -load ./blib/arch/auto/ModPerl/Const/Const.so
Reading Const.so
Loaded loadobject:
/export/home/marcow/src/kenai-packages~subversion/mod_perl/m odperl-2.0_20110927151300/blib/arch/auto/ModPerl/Const/Const .so
(dbx.x86) stop in boot_ModPerl__Const
(2) stop in boot_ModPerl__Const
(dbx.x86) run -I../blib/arch -I../blib/lib t/TEST -bugreport -verbose=0
Running: perl -I../blib/arch -I../blib/lib t/TEST -bugreport -verbose=0
(process id 21459)
Reading Cwd.so
Reading IO.so
Reading Fcntl.so
Reading Util.so
Reading Dumper.so
Reading Glob.so
Reading Socket.so
Reading Storable.so
Reading HiRes.so
Reading librt.so.1
Reading POSIX.so
[warning] Skipping 'set unlimited ulimit for coredumps', since we are
running as a non-root user on Solaris
[warning] forcing re-configuration:
[warning] - configuration generated with old Apache-Test.
t@1 (l@1) stopped in boot_ModPerl__Const at line 89 in file "Const.c"
89 dVAR; dXSARGS;
(dbx.x86) print sizeof(*my_perl)
sizeof(*my_perl) = 2216
(dbx.x86) up
Current function is Perl_pp_entersub
3046 CvXSUB(cv)(aTHX_ cv);
(dbx.x86) print sizeof(*my_perl)
sizeof(*my_perl) = 2232
(dbx.x86) where
current thread: t@1
dbx.x86: warning: can't find file
"/export/home/marcow/src/kenai-packages~subversion/perl/perl -5.14.1/perlmain.c"
dbx.x86: warning: see `help finding-files'
dbx.x86: warning: can't find file
"/export/home/marcow/src/kenai-packages~subversion/perl/perl -5.14.1/perlmain.c"
[1] boot_ModPerl__Const(my_perl = 0x827f4d0, cv = 0x9244c94), line 89
in "Const.c"
=>[2] Perl_pp_entersub(my_perl = 0x827f4d0), line 3046 in "pp_hot.c"
[3] Perl_runops_debug(my_perl = 0x827f4d0), line 2266 in "dump.c"
[4] Perl_call_sv(my_perl = 0x827f4d0, sv = 0x92446e4, flags = 14),
line 2647 in "perl.c"
[5] Perl_call_list(my_perl = 0x827f4d0, oldscope = 25, paramList =
0x922a4f4), line 4714 in "perl.c"
[6] S_process_special_blocks(my_perl = 0x827f4d0, fullname =
0x83208c8 "BEGIN", gv = 0x9244734, cv = 0x92446e4), line 6462 in "op.c"
[7] Perl_newATTRSUB(my_perl = 0x827f4d0, floor = 339, o = 0x862f9e8,
proto = (nil), attrs = (nil), block = 0x921d600), line 6433 in "op.c"
[8] Perl_utilize(my_perl = 0x827f4d0, aver = 1, floor = 339, version
= (nil), idop = 0x922c770, arg = 0x922c710), line 4317 in "op.c"
[9] Perl_yyparse(my_perl = 0x827f4d0, gramtype = 258), line 361 in
"perly.y"
[10] S_doeval(my_perl = 0x827f4d0, gimme = 2, startop = (nil),
outside = (nil), seq = 13181U), line 3334 in "pp_ctl.c"
[11] Perl_pp_require(my_perl = 0x827f4d0), line 3906 in "pp_ctl.c"
[12] Perl_runops_debug(my_perl = 0x827f4d0), line 2266 in "dump.c"
[13] Perl_call_sv(my_perl = 0x827f4d0, sv = 0x922a4d4, flags = 14),
line 2647 in "perl.c"
[14] Perl_call_list(my_perl = 0x827f4d0, oldscope = 19, paramList =
0x922a294), line 4714 in "perl.c"
[15] S_process_special_blocks(my_perl = 0x827f4d0, fullname =
0x83208c8 "BEGIN", gv = 0x922a434, cv = 0x922a4d4), line 6462 in "op.c"
[16] Perl_newATTRSUB(my_perl = 0x827f4d0, floor = 204, o = 0x922c9b0,
proto = (nil), attrs = (nil), block = 0x9242b88), line 6433 in "op.c"
[17] Perl_utilize(my_perl = 0x827f4d0, aver = 1, floor = 204, version
= (nil), idop = 0x92196b0, arg = 0x921d448), line 4317 in "op.c"
[18] Perl_yyparse(my_perl = 0x827f4d0, gramtype = 258), line 361 in
"perly.y"
[19] S_doeval(my_perl = 0x827f4d0, gimme = 2, startop = (nil),
outside = (nil), seq = 6533U), line 3334 in "pp_ctl.c"
[20] Perl_pp_require(my_perl = 0x827f4d0), line 3906 in "pp_ctl.c"
[21] Perl_runops_debug(my_perl = 0x827f4d0), line 2266 in "dump.c"
[22] S_run_body(my_perl = 0x827f4d0, oldscope = 1), line 2345 in "perl.c"
[23] perl_run(my_perl = 0x827f4d0), line 2268 in "perl.c"
[24] main(argc = 6, argv = 0x8047b5c, env = 0x8047b78), at 0x806cea0
(dbx.x86) down
Current function is boot_ModPerl__Const
89 dVAR; dXSARGS;
(dbx.x86) cont
Assertion failed: SvTYPE(av) == SVt_PVAV, file av.c, line 730
t@1 (l@1) signal ABRT (Abort) in _lwp_kill at 0xfed71997
0xfed71997: _lwp_kill+0x0007: jae _lwp_kill+0x15 [ 0xfed719a5,
..+0xe ]
Current function is Perl_av_len
730 assert(SvTYPE(av) == SVt_PVAV);
(dbx.x86) where
current thread: t@1
dbx.x86: warning: can't find file
"/export/home/marcow/src/kenai-packages~subversion/perl/perl -5.14.1/perlmain.c"
dbx.x86: warning: can't find file
"/export/home/marcow/src/kenai-packages~subversion/perl/perl -5.14.1/perlmain.c"
[1] _lwp_kill(0x1, 0x6, 0x8046314, 0xfed6a9ea), at 0xfed71997
[2] thr_kill(0x1, 0x6, 0x8046314, 0xfed1ab6e), at 0xfed6aa0c
[3] raise(0x6, 0x0, 0x8046364, 0xfecf1fea), at 0xfed1ab7a
[4] abort(0x65737341, 0x6f697472, 0x6166206e, 0x64656c69, 0x7653203a,
0x45505954, 0x29766128, 0x203d3d20, 0x5f745653, 0x56415650, 0x6966202c,
0x6120656c, 0x2c632e76, 0x6e696c20, 0x33372065, 0x8000a30, 0x80464e8,
0x0, 0x10, 0x0), at 0xfecf200a
[5] _assert(0x825e350, 0x825e348, 0x2da), at 0xfecf225a
=>[6] Perl_av_len(my_perl = 0x827f4d0, av = 0x8283684), line 730 in "av.c"
[7] Perl_call_list(my_perl = 0x827f4d0, oldscope = 33, paramList =
0x8283684), line 4688 in "perl.c"
[8] boot_ModPerl__Const(my_perl = 0x827f4d0, cv = 0x9244c94), line
113 in "Const.c"
[9] Perl_pp_entersub(my_perl = 0x827f4d0), line 3046 in "pp_hot.c"
[10] Perl_runops_debug(my_perl = 0x827f4d0), line 2266 in "dump.c"
[11] Perl_call_sv(my_perl = 0x827f4d0, sv = 0x92446e4, flags = 14),
line 2647 in "perl.c"
[12] Perl_call_list(my_perl = 0x827f4d0, oldscope = 25, paramList =
0x922a4f4), line 4714 in "perl.c"
[13] S_process_special_blocks(my_perl = 0x827f4d0, fullname =
0x83208c8 "BEGIN", gv = 0x9244734, cv = 0x92446e4), line 6462 in "op.c"
[14] Perl_newATTRSUB(my_perl = 0x827f4d0, floor = 339, o = 0x862f9e8,
proto = (nil), attrs = (nil), block = 0x921d600), line 6433 in "op.c"
[15] Perl_utilize(my_perl = 0x827f4d0, aver = 1, floor = 339, version
= (nil), idop = 0x922c770, arg = 0x922c710), line 4317 in "op.c"
[16] Perl_yyparse(my_perl = 0x827f4d0, gramtype = 258), line 361 in
"perly.y"
[17] S_doeval(my_perl = 0x827f4d0, gimme = 2, startop = (nil),
outside = (nil), seq = 13181U), line 3334 in "pp_ctl.c"
[18] Perl_pp_require(my_perl = 0x827f4d0), line 3906 in "pp_ctl.c"
[19] Perl_runops_debug(my_perl = 0x827f4d0), line 2266 in "dump.c"
[20] Perl_call_sv(my_perl = 0x827f4d0, sv = 0x922a4d4, flags = 14),
line 2647 in "perl.c"
[21] Perl_call_list(my_perl = 0x827f4d0, oldscope = 19, paramList =
0x922a294), line 4714 in "perl.c"
[22] S_process_special_blocks(my_perl = 0x827f4d0, fullname =
0x83208c8 "BEGIN", gv = 0x922a434, cv = 0x922a4d4), line 6462 in "op.c"
[23] Perl_newATTRSUB(my_perl = 0x827f4d0, floor = 204, o = 0x922c9b0,
proto = (nil), attrs = (nil), block = 0x9242b88), line 6433 in "op.c"
[24] Perl_utilize(my_perl = 0x827f4d0, aver = 1, floor = 204, version
= (nil), idop = 0x92196b0, arg = 0x921d448), line 4317 in "op.c"
[25] Perl_yyparse(my_perl = 0x827f4d0, gramtype = 258), line 361 in
"perly.y"
[26] S_doeval(my_perl = 0x827f4d0, gimme = 2, startop = (nil),
outside = (nil), seq = 6533U), line 3334 in "pp_ctl.c"
[27] Perl_pp_require(my_perl = 0x827f4d0), line 3906 in "pp_ctl.c"
[28] Perl_runops_debug(my_perl = 0x827f4d0), line 2266 in "dump.c"
[29] S_run_body(my_perl = 0x827f4d0, oldscope = 1), line 2345 in "perl.c"
[30] perl_run(my_perl = 0x827f4d0), line 2268 in "perl.c"
[31] main(argc = 6, argv = 0x8047b5c, env = 0x8047b78), at 0x806cea0
(dbx.x86)

------------------------------ Partial diff between the two versions of
the *my_perl ------------------
--- boot 2011-09-28 10:54:09.719088302 -0700
+++ call 2011-09-28 10:55:12.679088135 -0700
@@ -26,233 +26,231 @@
Istatbuf = {
st_dev = 47775762U
st_pad1 = (0, 0, 0)
- st_ino = 10266116U
- st_mode = 0
- st_nlink = 33188U
- st_uid = 1U
- st_gid = 179288U
- st_rdev = 0
- st_pad2 = (-1, 0)
- st_size = 0
- st_pad3 = 5112
+ st_ino = 10266116ULL
+ st_mode = 33188U
+ st_nlink = 1U
+ st_uid = 179288U
+ st_gid = 0
+ st_rdev = 4294967295U
+ st_pad2 = (0, 0)
+ st_size = 5112LL
......


On 09/27/2011 11:21 AM, Marco Walther wrote:
> On 09/27/2011 10:50 AM, Fred Moyer wrote:
>> Have you tried 2.0.5?
> Yes, from below:
>
> ---------------
> *** mod_perl version 2.000005
>
> *** using
> /export/home/marcow/src/kenai-packages~subversion/mod_perl/m od_perl-2.0.5/lib/Apache2/BuildConfig.pm
>
>
> ------------------
>
> I'm trying to switch from Perl 5.10.1 & mod_perl 2.0.4 --> Perl 5.14.1
> (probably .2) & mod_perl 2.0.5 but so far that does not work:-(
>
> Thanks,
> -- Marco
>
>> On Wednesday, September 21, 2011 at 7:24 PM, Marco Walther wrote:
>>
>>> -------------8<---------- Start Bug Report ------------8<----------
>>> 1. Problem Description:
>>>
>>> Apache with enabled mod_perl runs into a SIGSEGV quickly during the
>>> initialization of mod_perl:-( This run is from a worker-mpm but the
>>> same
>>> happens with the prefork-mpm.
>>>
>>> We were running mod_perl 2.0.4 + Perl 5.10.1 successfully before.
>>>
>>> Any idea??
>>>
>>> Thanks,
>>> -- Marco
>>>
>>> 2. Used Components and their Configuration:
>>>
>>> *** mod_perl version 2.000005
>>>
>>> *** using
>>> /export/home/marcow/src/kenai-packages~subversion/mod_perl/m od_perl-2.0.5/lib/Apache2/BuildConfig.pm
>>>
>>>
>>> *** Makefile.PL options:
>>> MP_APR_LIB => aprext
>>> MP_APXS => /opt/kenai/apache2/bin/apxs
>>> MP_COMPAT_1X => 1
>>> MP_GENERATE_XS => 1
>>> MP_LIBNAME => mod_perl
>>> MP_USE_DSO => 1
>>>
>>>
>>> *** /opt/kenai/apache2/bin/httpd -V
>>> Server version: Apache/2.2.21 (Unix)
>>> Server built: Sep 14 2011 22:10:21
>>> Server's Module Magic Number: 20051115:30
>>> Server loaded: APR 1.4.5, APR-Util 1.3.12
>>> Compiled using: APR 1.4.5, APR-Util 1.3.12
>>> Architecture: 32-bit
>>> Server MPM: Worker
>>> threaded: yes (fixed thread count)
>>> forked: yes (variable process count)
>>> 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 DYNAMIC_MODULE_LIMIT=128
>>> -D HTTPD_ROOT="/opt/kenai/apache2"
>>> -D SUEXEC_BIN="/opt/kenai/apache2/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/bin/ldd /opt/kenai/apache2/bin/httpd
>>> libm.so.2 => /usr/lib/libm.so.2
>>> libaprutil-1.so.0 => /opt/kenai/apache2/lib/libaprutil-1.so.0
>>> libdb-4.6.so => /opt/kenai/lib/libdb-4.6.so
>>> libresolv.so.2 => /usr/lib/libresolv.so.2
>>> libexpat.so.1 => /usr/lib/libexpat.so.1
>>> libiconv.so.2 => /opt/kenai/lib/libiconv.so.2
>>> libapr-1.so.0 => /opt/kenai/apache2/lib/libapr-1.so.0
>>> libuuid.so.1 => /usr/lib/libuuid.so.1
>>> libsendfile.so.1 => /usr/lib/libsendfile.so.1
>>> libsocket.so.1 => /usr/lib/libsocket.so.1
>>> libnsl.so.1 => /usr/lib/libnsl.so.1
>>> libpthread.so.1 => /usr/lib/libpthread.so.1
>>> libc.so.1 => /usr/lib/libc.so.1
>>> libdlpi.so.1 => /lib/libdlpi.so.1
>>> libmp.so.2 => /lib/libmp.so.2
>>> libmd.so.1 => /lib/libmd.so.1
>>> libscf.so.1 => /lib/libscf.so.1
>>> libinetutil.so.1 => /lib/libinetutil.so.1
>>> libdladm.so.1 => /lib/libdladm.so.1
>>> libuutil.so.1 => /lib/libuutil.so.1
>>> libgen.so.1 => /lib/libgen.so.1
>>> libdevinfo.so.1 => /lib/libdevinfo.so.1
>>> librcm.so.1 => /lib/librcm.so.1
>>> libnvpair.so.1 => /lib/libnvpair.so.1
>>> libexacct.so.1 => /usr/lib/libexacct.so.1
>>> libkstat.so.1 => /lib/libkstat.so.1
>>> libcurses.so.1 => /lib/libcurses.so.1
>>> libsec.so.1 => /lib/libsec.so.1
>>> libavl.so.1 => /lib/libavl.so.1
>>> libidmap.so.1 => /usr/lib/libidmap.so.1
>>> libldap.so.5 => /usr/lib/libldap.so.5
>>> libsldap.so.1 => /usr/lib/libsldap.so.1
>>> libadutils.so.1 => /usr/lib/libadutils.so.1
>>> libsasl.so.1 => /usr/lib/libsasl.so.1
>>> libnspr4.so => /usr/lib/mps/libnspr4.so
>>> libplc4.so => /usr/lib/mps/libplc4.so
>>> libnss3.so => /usr/lib/mps/libnss3.so
>>> libssl3.so => /usr/lib/mps/libssl3.so
>>> librt.so.1 => /lib/librt.so.1
>>> libdl.so.1 => /lib/libdl.so.1
>>> libsoftokn3.so => /usr/lib/mps/libsoftokn3.so
>>> libplds4.so => /usr/lib/mps/libplds4.so
>>> libthread.so.1 => /lib/libthread.so.1
>>> libbsm.so.1 => /lib/libbsm.so.1
>>> libsecdb.so.1 => /lib/libsecdb.so.1
>>> libtsol.so.2 => /lib/libtsol.so.2
>>>
>>>
>>> *** (apr|apu)-config linking info
>>>
>>> -L/opt/kenai/apache2/lib -laprutil-1 -lldap -llber -ldb-4.6
>>> -lexpat -liconv -L/opt/kenai/lib -R/opt/kenai/lib
>>> -L/opt/kenai/apache2/lib -R/opt/kenai/apache2/lib
>>> -L/opt/kenai/apache2/lib -lapr-1 -luuid -lsendfile -lsocket -lnsl
>>> -lpthread
>>>
>>>
>>>
>>> *** /opt/kenai/bin/perl -V
>>> Summary of my perl5 (revision 5 version 14 subversion 1) configuration:
>>>
>>> Platform:
>>> osname=solaris, osvers=2.11, archname=i86pc-solaris-thread-multi
>>> uname='sunos kexdev03z1 5.11 snv_111b i86pc i386 i86pc '
>>> config_args='-Dprefix=/opt/kenai -A
>>> prepend:ccflags=-I/opt/kenai/include -A prepend:libpth=/opt/kenai/lib
>>> /opt/SUNWspro/prod/lib/sparc/ /opt/SUNWspro/prod/lib/ /lib /usr/lib -A
>>> prepend:ldflags=-L/opt/kenai/lib -R/opt/kenai/lib -Doptimize=-g -U
>>> locincpth= -U loclibpth= -U glibpth= -Dusethreads -d -e'
>>> hint=recommended, useposix=true, d_sigaction=define
>>> 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='/opt/SUNWspro/bin/cc', ccflags ='-D_REENTRANT
>>> -I/opt/kenai/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
>>> -DPERL_USE_SAFE_PUTENV',
>>> optimize='-g',
>>> cppflags='-D_REENTRANT -I/opt/kenai/include'
>>> ccversion='Sun C 5.10 SunOS_i386 2009/06/03', gccversion='',
>>> 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='/opt/SUNWspro/bin/cc', ldflags ='-L/opt/kenai/lib
>>> -R/opt/kenai/lib -L/lib -L/usr/lib '
>>> libpth=/opt/kenai/lib /opt/SUNWspro/prod/lib/ /lib /usr/lib
>>> libs=-lsocket -lnsl -ldb -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='-KPIC', lddlflags='-G -L/opt/kenai/lib -R/opt/kenai/lib
>>> -L/lib -L/usr/lib'
>>>
>>>
>>> Characteristics of this binary (from libperl):
>>> Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
>>> PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
>>> PERL_PRESERVE_IVUV PERL_USE_SAFE_PUTENV
>>> USE_ITHREADS
>>> USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
>>> USE_REENTRANT_API
>>> Built under solaris
>>> Compiled at Aug 18 2011 19:28:54
>>> %ENV:
>>> PERL_LWP_USE_HTTP_10="1"
>>> @INC:
>>> /opt/kenai/lib/perl5/site_perl/5.14.1/i86pc-solaris-thread-m ulti
>>> /opt/kenai/lib/perl5/site_perl/5.14.1
>>> /opt/kenai/lib/perl5/5.14.1/i86pc-solaris-thread-multi
>>> /opt/kenai/lib/perl5/5.14.1
>>> /opt/kenai/lib/perl5/site_perl
>>> .
>>> [root@kexdev03z1:/export/home/marcow/src/kenai-packages~subv ersion/mod_perl]
>>>
>>> # ldd /opt/kenai/bin/perl
>>> libsocket.so.1 => /lib/libsocket.so.1
>>> libnsl.so.1 => /lib/libnsl.so.1
>>> libdl.so.1 => /lib/libdl.so.1
>>> libm.so.2 => /lib/libm.so.2
>>> libpthread.so.1 => /lib/libpthread.so.1
>>> libc.so.1 => /lib/libc.so.1
>>> libmp.so.2 => /lib/libmp.so.2
>>> libmd.so.1 => /lib/libmd.so.1
>>> libscf.so.1 => /lib/libscf.so.1
>>> libuutil.so.1 => /lib/libuutil.so.1
>>> libgen.so.1 => /lib/libgen.so.1
>>>
>>> [root@kexdev03z1:/export/home/marcow/src/kenai-packages~subv ersion/mod_perl]
>>>
>>> # ldd mod_perl-2.0.5/src/modules/perl/mod_perl.so
>>> libsocket.so.1 => /lib/libsocket.so.1
>>> libnsl.so.1 => /lib/libnsl.so.1
>>> libdl.so.1 => /lib/libdl.so.1
>>> libm.so.2 => /lib/libm.so.2
>>> libpthread.so.1 => /lib/libpthread.so.1
>>> libc.so.1 => /lib/libc.so.1
>>> libmp.so.2 => /lib/libmp.so.2
>>> libmd.so.1 => /lib/libmd.so.1
>>> libscf.so.1 => /lib/libscf.so.1
>>> libuutil.so.1 => /lib/libuutil.so.1
>>> libgen.so.1 => /lib/libgen.so.1
>>>
>>> *** Packages of interest status:
>>>
>>> Apache2 : -
>>> Apache2::Request : -
>>> CGI : 3.55
>>> ExtUtils::MakeMaker: 6.57_05
>>> LWP : 6.02
>>> mod_perl : -
>>> mod_perl2 : -
>>>
>>>
>>> 3. This is the core dump trace: (if you get a core dump):
>>>
>>> [root@kexdev03z1:/export/home/marcow/src/kenai-packages~subv ersion/mod_perl]
>>>
>>> # ~mw79288/dbx.x86 /opt/kenai/apache2/bin/httpd
>>> /var/cores/httpd-worker.20302-1316656799
>>> dbx.x86: warning: cannot find global initialization file: dbxrc
>>> For information about new features see `help changes'
>>> To remove this message, put `dbxenv suppress_startup_message 7.7' in
>>> your .dbxrc
>>> Reading httpd
>>> core file header read successfully
>>> Reading ld.so.1
>>> Reading libm.so.2
>>> Reading libaprutil-1.so.0.3.12
>>> Reading libdb-4.6.so
>>> Reading libresolv.so.2
>>> Reading libexpat.so.1.5.2
>>> Reading libiconv.so.2.4.0
>>> Reading libapr-1.so.0.4.5
>>> Reading libuuid.so.1
>>> Reading libsendfile.so.1
>>> Reading libsocket.so.1
>>> Reading libnsl.so.1
>>> Reading libpthread.so.1
>>> Reading libc.so.1
>>> Reading mod_mime.so
>>> Reading mod_alias.so
>>> Reading mod_perl.so
>>> Reading libdl.so.1
>>> Reading libscf.so.1
>>> Reading libuutil.so.1
>>> Reading libgen.so.1
>>> Reading libmd.so.1
>>> Reading libmp.so.2
>>> t@1 (l@1) program terminated by signal SEGV (no mapping at the fault
>>> address)
>>> Current function is modperl_env_clear
>>> 100 HV *hv = ENVHV;
>>> (dbx.x86) where
>>> current thread: t@1
>>> =>[1] modperl_env_clear(my_perl = 0x83ac218), line 100 in
>>> "modperl_env.c"
>>> [2] modperl_boot(my_perl = 0x83ac218, data = (nil)), line 100 in
>>> "mod_perl.c"
>>> [3] Perl_leave_scope(my_perl = 0x83ac218, base = 0), line 952 in
>>> "scope.c"
>>> [4] Perl_pop_scope(my_perl = 0x83ac218), line 110 in "scope.c"
>>> [5] S_parse_body(my_perl = 0x83ac218, env = (nil), xsinit =
>>> 0xfe664ad0 = &`mod_perl.so`mod_perl.c`modperl_xs_init(PerlInterpreter
>>> *my_perl)), line 2218 in "perl.c"
>>> [6] perl_parse(my_perl = 0x83ac218, xsinit = 0xfe664ad0 =
>>> &`mod_perl.so`mod_perl.c`modperl_xs_init(PerlInterpreter *my_perl),
>>> argc
>>> = 6, argv = 0x8455280, env = (nil)), line 1613 in "perl.c"
>>> [7] modperl_startup(s = 0x80d0068, p = 0x80ca538), line 255 in
>>> "mod_perl.c"
>>> [8] modperl_startup(s = 0x80d0068, p = 0x80ca538), line 207 in
>>> "mod_perl.c"
>>> [9] modperl_init(base_server = 0x80d0068, p = 0x80ca538), line 458 in
>>> "mod_perl.c"
>>> [10] modperl_hook_init(pconf = 0x80ca538, plog = (nil), ptemp =
>>> (nil), s = 0x80d0068), line 631 in "mod_perl.c"
>>> [11] modperl_run(), line 645 in "mod_perl.c"
>>> [12] modperl_cmd_load_module(parms = 0x80478f0, mconfig = 0x8111ef8,
>>> arg = 0x83437c8 "TestCompat::apache_module"), line 666 in
>>> "modperl_cmd.c"
>>> [13] ap_walk_config_sub(0x83437a8, 0x80478f0, 0x80fdd20, 0x39663763),
>>> at 0x808508a
>>> [14] ap_walk_config(0x8112378, 0x80478f0, 0x80fdd20, 0x83715ec), at
>>> 0x8085128
>>> [15] ap_process_config_tree(0x80d0068, 0x8112378, 0x80ca538,
>>> 0x80fa5f8), at 0x8085e8b
>>> [16] main(0x9, 0x80479cc, 0x80479f4, 0xfeffb7b4), at 0x807194d
>>> (dbx.x86)
>>>
>>>
>>> This report was generated by t/REPORT on Thu Sep 22 02:09:12 2011 GMT.
>>>
>>> -------------8<---------- End Bug Report --------------8<----------
>>
>

Report this message