I'm getting segfaults with a RedHat 6.1 system. I've tried mod_perl 1.22,
as well as a CVS snapshot from today, and I pretty much get the same thing
either way. I would appreciate it if anyone could help me out on this, it's
driving me nuts.
Here's my system:
RedHat 6.1 (with all updates)
Apache 1.3.12 (compiled myself after having this happen with the rh-default
apache)
mod_perl 1.22 (and 1.22-dev, same thing either way)
perl 5.6.0 (perl -V says:)
-(snip!)-
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=linux, osvers=2.2.14, archname=i686-linux
uname='linux router 2.2.14 #2 sat mar 4 10:01:12 cst 2000 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
use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
Compiler:
cc='gcc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux
(egcs-1.1.2 release)
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccflags
='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFS
ET_BITS=64'
stdchar='char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
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=n, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
libc=/lib/libc-2.1.2.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'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at Mar 26 2000 00:39:27
@INC:
/usr/lib/perl5/5.6.0/i686-linux
/usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i686-linux
/usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl/5.005
/usr/lib/perl5/site_perl
.
-(snip!)-
When I run httpd under gdb, here's what I get:
-(snip!)-
Program received signal SIGSEGV, Segmentation fault.
0x40321094 in ?? () from /usr/local/libexec/libperl.so
(gdb) bt
#0 0x40321094 in ?? () from /usr/local/libexec/libperl.so
#1 0x8062bda in run_method ()
#2 0x8062cc4 in ap_header_parse ()
#3 0x8070c1d in process_request_internal ()
#4 0x8070ec8 in ap_process_request ()
#5 0x806af38 in child_main ()
#6 0x806b077 in make_child ()
#7 0x806b178 in startup_children ()
#8 0x806b628 in standalone_main ()
#9 0x806bc21 in main ()
#10 0x400b71eb in __libc_start_main (main=0x806b9b0 , argc=2,
argv=0xbcd4, init=0x804eb0c <_init>, fini=0x8099b6c <_fini>,
rtld_fini=0x4000a610 <_dl_fini>,
stack_end=0xbccc) at ../sysdeps/generic/libc-start.c:90
-(snip!)-
Any ideas what's going on here? Thanks for any insight you can give.
---
Ben Reed a.k.a. Ranger Rick
[EMAIL PROTECTED]
http://defiance.dyndns.org/