ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> modperl
modperl
[mp1] segfault with Perl 5.8.1 and mod_perl 1.29
by Joachim Feise other posts by this author
Oct 11 2003 1:40AM messages near this date
Re: [mp2]: internal_redirect causes sigsev | Re: [mp1] segfault with Perl 5.8.1 and mod_perl 1.29
Hi,

on my Linux system (Slackware 9.0) Apache segfaults in mod_perl as soon as it
receives the first request.
This started after I upgraded to Perl 5.8.1 (from 5.6.0).
The Apache version is 1.3.28, mod_perl 1.29.
I appreciate any help.

-Joe

gdb backtrace:
Starting program: /usr/var/lib/apache/bin/httpd -X

Program received signal SIGSEGV, Segmentation fault.
0x0806952d in perl_header_parser (r=0x82d86bc) at mod_perl.c:1015
1015        dPPDIR;
(gdb) bt
#0  0x0806952d in perl_header_parser (r=0x82d86bc) at mod_perl.c:1015
#1  0x080adcad in run_method (r=0x82d86bc, offset=32, run_all=1)
     at http_config.c:370
#2  0x080adda6 in ap_header_parse (r=0x82d86bc) at http_config.c:407
#3  0x080c26b9 in process_request_internal (r=0x82d86bc) at http_request.c:1261
#4  0x080c2a2d in ap_process_request (r=0x82d86bc) at http_request.c:1340
#5  0x080b9c9e in child_main (child_num_arg=0) at http_main.c:4653
#6  0x080b9e3e in make_child (s=0x820824c, slot=0, now=1065834735)
     at http_main.c:4768
#7  0x080b9fa4 in startup_children (number_to_start=5) at http_main.c:4850
#8  0x080ba641 in standalone_main (argc=2, argv=0xbffff754) at http_main.c:5169
#9  0x080bae5f in main (argc=2, argv=0xbffff754) at http_main.c:5511
#10 0x400a9bb4 in __libc_start_main () from /lib/libc.so.6

perl -V output:
Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
   Platform:
     osname=linux, osvers=2.4.21-pre1, archname=i486-linux
     uname='linux schwitters 2.4.21-pre1 #13 sun aug 3 19:41:24 pdt 2003 i686 unknown '
     config_args='-de -Dprefix=/usr -Dcccdlflags=-fPIC -Darchname=i486-linux'
     hint=recommended, useposix=true, d_sigaction=define
     usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
     useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
     use64bitint=undef use64bitall=undef uselongdouble=undef
     usemymalloc=n, bincompat5005=undef
   Compiler:
     cc='cc', ccflags ='-DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_S
OURCE 
-D_FILE_OFFSET_BITS=64',
     optimize='-g',
     cppflags='-DDEBUGGING -fno-strict-aliasing -I/usr/local/include'
     ccversion='', gccversion='3.2.2', 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='cc', ldflags =' -L/usr/local/lib'
     libpth=/usr/local/lib /lib /usr/lib
     libs=-lnsl -lndbm -lgdbm -ldl -lm -lcrypt -lutil -lc
     perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
     libc=/lib/libc-2.3.1.so, so=so, useshrplib=false, libperl=libperl.a
     gnulibc_version='2.3.1'
   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: DEBUGGING USE_LARGE_FILES
   Built under linux
   Compiled at Oct 10 2003 17:14:25
   @INC:
     /usr/lib/perl5/5.8.1/i486-linux
     /usr/lib/perl5/5.8.1
     /usr/lib/perl5/site_perl/5.8.1/i486-linux
     /usr/lib/perl5/site_perl/5.8.1
     /usr/lib/perl5/site_perl
     .
Thread:
Joachim Feise
Stas Bekman
Joachim Feise
Ged Haywood
Joachim Feise
Joachim Feise
Ged Haywood
Joachim Feise
Ged Haywood
Randy Kobes
Joachim Feise
Randy Kobes

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved