On Thursday 02 January 2003 04:30 am, Matt Sergeant wrote:
> Any chance it's conflicting build flags between perl and mod_perl (e.g.
> LARGE_FILES and/or 64 bit ints)?
Same for both perl and mod_perl (double-checked)
> Alternatively any chance it's due to
> something like PHP loaded into your apache causing memory corruption?
Schnope. I've tried all the usual suspects.
>
> What are your full platform details?
Here goes:
-------------------------------
Perl:
-------------------------------
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=linux, osvers=2.4.2-2, archname=i686-linux
uname='linux duchamp.hampton.ws 2.4.2-2 #1 sun apr 8 20:41:30 edt 2001
i686 unknown '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', 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='2.96 20000731 (Red Hat Linux 7.1 2.96-81)',
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, usemymalloc=y, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldl -lm -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
libc=/lib/libc-2.2.4.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
-----------------------------------
mod_perl version 1.27 (from Apache::MyConfig):
-----------------------------------
'APACHE_HEADER_INSTALL' => 1,
'APACHE_PREFIX' => '/usr/local/apache',
'APACHE_SRC' => '../apache_1.3.22/src',
'APACI_ARGS' => '--enable-module=so --enable-shared=info
--enable-shared=proxy --enable-shared=rewrite --enable-shared=log$'APXS' =>
'',
'Apache_Src' => '../apache_1.3.22/src',
'DO_HTTPD' => 1,
'NO_HTTPD' => 0,
'PERL_ACCESS' => 1,
'PERL_AUTHEN' => 1,
'PERL_AUTHZ' => 1,
'PERL_CHILD_EXIT' => 1,
'PERL_CHILD_INIT' => 1,
'PERL_CLEANUP' => 1,
'PERL_CONNECTION_API' => 1,
'PERL_DEBUG' => '',
'PERL_DIRECTIVE_HANDLERS' => 1,
'PERL_DISPATCH' => 1,
'PERL_FILE_API' => 1,
'PERL_FIXUP' => 1,
'PERL_HANDLER' => 1,
'PERL_HEADER_PARSER' => 1,
'PERL_INIT' => 1,
'PERL_LOG' => 1,
'PERL_LOG_API' => 1,
'PERL_METHOD_HANDLERS' => 1,
'PERL_POST_READ_REQUEST' => 1,
'PERL_RESTART' => 1,
'PERL_SECTIONS' => 1,
'PERL_SERVER_API' => 1,
'PERL_SSI' => 1,
'PERL_STACKED_HANDLERS' => 1,
'PERL_STATIC_EXTS' => '',
'PERL_TABLE_API' => 1,
'PERL_TRACE' => 0,
'PERL_TRANS' => 1,
'PERL_TYPE' => 1,
'PERL_URI_API' => 1,
'PERL_USELARGEFILES' => 1,
'PERL_UTIL_API' => 1,
'PREP_HTTPD' => 0,
'SSL_BASE' => '',
'USE_APACI' => 1,
'USE_APXS' => 0
---------------------------------
Apache: version 1.3.27 (note: same behavior for 1.3.20 and 1.3.22)
---------------------------------
Server version: Apache/1.3.27 (Unix)
Server built: Jan 2 2003 11:16:12
Server's Module Magic Number: 19990320:13
Server compiled with....
-D HAVE_MMAP
-D HAVE_SHMGET
-D USE_SHMGET_SCOREBOARD
-D USE_MMAP_FILES
-D HAVE_FCNTL_SERIALIZED_ACCEPT
-D HAVE_SYSVSEM_SERIALIZED_ACCEPT
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D HARD_SERVER_LIMIT=256
-D HTTPD_ROOT="/usr/local/apache"
-D SUEXEC_BIN="/usr/local/apache/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/httpd.scoreboard"
-D DEFAULT_LOCKFILE="logs/httpd.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
-D ACCESS_CONFIG_FILE="conf/access.conf"
-D RESOURCE_CONFIG_FILE="conf/srm.conf"
*whew*
Note that the following appears in my error log each time just before the
SEGV:
[AxKit] [req] File Provider given $r: /www/site/axkitbook/samples/old/test.xml
[error] Can't use string ("1") as an ARRAY ref while "strict refs" in use at
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/AxKit.pm line 162.
where line 162 in AxKit.pm is
local $SIG{__DIE__} = sub { AxKit::prep_exception(@_)->throw };
.... which, i guess, isn't all that useful, really. :-/
/me feels his bald spot getting larger...
Back to digging, I'll keep you updated.
-kip
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]