You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by "Philip M. Gollucci" <ph...@p6m7g8.com> on 2002/09/14 19:47:35 UTC
Seq Fault with 2.0.41 and modperl-2.0
If I can provide any other information, let me know.
Keep up the great work
[ttyp0] philip@p6m7g8 /home/philip/FSF/install/apache/bin rv=0 120 >gdb
./httpd
(gdb) run -X
Starting program: /usr/home/philip/FSF/install/apache/bin/./httpd -X
Program received signal SIGSEGV, Segmentation fault.
0x281ab882 in xdr_u_int () from /usr/lib/libc.so.4
(gdb) bt
#0 0x281ab882 in xdr_u_int () from /usr/lib/libc.so.4
#1 0x281abfe6 in xdr_bytes () from /usr/lib/libc.so.4
#2 0x281ac0b8 in xdr_netobj () from /usr/lib/libc.so.4
#3 0x281c249a in .cerror () from /usr/lib/libc.so.4
#4 0x2810a1cf in apr_socket_create (new=0xbfbff4d8, ofamily=28, type=1,
cont=0x80ba018) at sockets.c:121
#5 0x8089bbf in find_default_family (p=0x80ba018) at listen.c:232
#6 0x8089c5b in alloc_listener (process=0x80ba090, addr=0x0, port=80)
at listen.c:258
#7 0x8089faf in ap_set_listener (cmd=0xbfbff620, dummy=0x0,
ips=0x8114360 "80") at listen.c:411
#8 0x807fc77 in invoke_cmd (cmd=0x80ae6a8, parms=0xbfbff620,
mconfig=0x0, args=0x80fbb2a "") at config.c:728
#9 0x80807e1 in ap_walk_config_sub (current=0x80fbb08,
parms=0xbfbff620, section_vector=0x80f85b8) at config.c:1081
#10 0x8080865 in ap_walk_config (current=0x80fb370, parms=0xbfbff620,
section_vector=0x80f85b8) at config.c:1120
#11 0x8081210 in ap_process_config_tree (s=0x80bedb8,
conftree=0x80fb370, p=0x80bc018, ptemp=0x80f6018) at config.c:1558
#12 0x8083aeb in main (argc=2, argv=0xbfbff730) at main.c:564
#13 0x805fc79 in _start ()
[ttyp1] philip@p6m7g8 /home/philip rv=0 11 >uname -a
FreeBSD p6m7g8 4.6-RELEASE-p2 FreeBSD 4.6-RELEASE-p2 #0: Sun Jul 14
15:34:39 GMT 2002
philip@p6m7g8-fbsd.hyatsv01.md.comcast.net:/usr/obj/usr/src/sys/PHILIP i386
PERL
rsync -acvz --delete --force \
rsync://ftp.linux.activestate.com/perl-current/ perl-current
Summary of my perl5 (revision 5.0 version 9 subversion 0 patch 17904)
configura
ion:
Platform:
osname=freebsd, osvers=4.6-release-p2,
archname=i386-freebsd-thread-multi
uname='freebsd p6m7g8 4.6-release-p2 freebsd 4.6-release-p2 #0: sun
jul 14
5:34:39 gmt 2002
philip@p6m7g8-fbsd.hyatsv01.md.comcast.net:usrobjusrsrcsysphil
p i386 '
config_args='-des -Dusethreads -Doptimize=-g -Dusedevel
-Aprefix=/home/phil
p/FSF/install/perl'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=d
fine
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H
-DDEBUGGING -fno-s
rict-aliasing -I/usr/local/include',
optimize='-g',
cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING
-fno-strict-ali
sing -I/usr/local/include'
ccversion='', gccversion='3.0.4', gccosandvers='freebsd4.6'
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',
lseeksiz
=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-pthread -Wl,-E -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib
libs=-lgdbm -lm -lc_r -lcrypt -lutil
perllibs=-lm -lc_r -lcrypt -lutil
libc=, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-DPIC -fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS
USE_LARGE_FILES PER
_IMPLICIT_CONTEXT
Locally applied patches:
DEVEL17881
Built under freebsd
Compiled at Sep 13 2002 15:57:32
@INC:
/home/philip/FSF/install/perl/lib/5.9.0/i386-freebsd-thread-multi
/home/philip/FSF/install/perl/lib/5.9.0
/home/philip/FSF/install/perl/lib/site_perl/5.9.0/i386-freebsd-thread-multi
/home/philip/FSF/install/perl/lib/site_perl/5.9.0
/home/philip/FSF/install/perl/lib/site_perl
Apache/APR/APR-Util TAG STRIKER_2_0_41_PRE2
./buildconf
./configure --prefix=/home/philip/FSF/install/apache --with-mpm=prefork
--with-perl=/home/philip/FSF/install/perl/bin/perl
make
make install
perl Makefile.PL MP_AP_PREFIX=/home/philip/FSF/install/apache \
MP_INST_APACHE2=1
make
make install
in httpd.conf
changed Loglevel to debug
Added LoadModule perl_module modules/mod_perl.so
Added PerlModule Apache2
END
------------------------------------------------------------------------------
Philip M. Gollucci philip@p6m7g8.com 301.474.9294 301.646.3011 (cell)
Science, Discovery, & the Universe (UMCP)
Webmaster & Webship Teacher
URL: http://www.sdu.umd.edu
eJournalPress
Database/PERL Programmer & System Admin
URL : http://www.ejournalpress.com
Resume : http://p6m7g8.net/Resume
--
END
------------------------------------------------------------------------------
Philip M. Gollucci philip@p6m7g8.com 301.474.9294 301.646.3011 (cell)
Science, Discovery, & the Universe (UMCP)
Webmaster & Webship Teacher
URL: http://www.sdu.umd.edu
eJournalPress
Database/PERL Programmer & System Admin
URL : http://www.ejournalpress.com
Resume : http://p6m7g8.net/Resume
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: Seq Fault with 2.0.41 and modperl-2.0
Posted by Doug MacEachern <do...@covalent.net>.
freebsd doesn't work with threads. at least, current releases of the
kernel don't. you'll need to rebuild perl without -Duseithreads in the
meantime.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org