perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ODELL, TODD E (SWBT)" <>
Subject libapreq-1.0 Seg Faults
Date Fri, 06 Sep 2002 16:16:45 GMT
I installed libapreq-1.0 on an AIX 4.3.3 with Perl 5.6.1( build at bottom of
page)/Apache 1.3.26/PHP-4.2.2. I read the README and INSTALL which came w/
the libapreq.1-0 and everything went fine. I compiled it with the same VAC as I had used for the Perl/Apache. But when I try to use the
Apache::Request it gives a 'segmentation fault (11)' in the error_log. An
example is using the Apache::Status module which uses Apache::Request if
loaded. With no args it'll print the screen fine but when I select something
it does a segfault. Not sure how to correct this.

I tried debugging it using dbx running httpd -X.
After the fault:
Segmentation fault in my_memstr at 0xd0ec3be8 ($t1)
0xd0ec3be8 (my_memstr+0x6c0) 800c0000        lwz   r0,0x0(r12)

I typed thread:
 thread  state-k     wchan    state-u    k-tid   mode held scope function
>$t1     run                  running    38005     k   no   pro  my_memstr 

Thanks for any ideas!

The Makefile.PL on mod_perl was:
		 % perl Makefile.PL APACHE_SRC=../apache_1.3.26/src
perl -V:
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
    osname=aix, osvers=, archname=aix
    uname='aix sbctss 3 4 000200554c00 '
    hint=previous, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    cc='cc', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-qmaxmem=16384 -DUSE_NATIVE_DLOPEN -q32 -D_LARGE_FILES -qlonglong',
    cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
    ccversion='', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='ld', ldflags ='-brtl -b32'
    libpth=/lib /usr/lib /usr/ccs/lib
    libs=-lbind -lnsl -ldbm -ldl -lld -lm -lc -lcrypt -lbsd -lPW -liconv
    perllibs=-lbind -lnsl -ldl -lld -lm -lc -lcrypt -lbsd -lPW -liconv
    libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef,
    cccdlflags=' ', lddlflags='-bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp
-bE:$(BASEEXT).exp -b noentry -lc'

Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES
  Built under aix
  Compiled at Mar  5 2002 14:17:17

Todd E. O'Dell
Network Services - TSS Staff
Room 1118
500 E. 8th
Kansas City, MO 64106
Office: (816)275-3626
Alpha Page:

View raw message