perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Brewer <c...@bl.echidna.id.au>
Subject tracking a coredump problem
Date Sun, 25 Jan 2009 06:54:39 GMT

Hello,
I'm running apache 2.2.11 with mp2.0.4 and libapreq 2.0.8, or at least, 
I think I am ... it's on CentOS/RHEL 5.2

We've been having some intermittent segfaults which are proving 
difficult to track down, and so I seek the help of the list.

At startup, httpd reports as follows :

Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8b 
mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.8.8 configured

I'm wondering where it's getting mod-apreq2-20051231/2.6.0 from?
I built libapreq2 from source and I think I got it right? :

  $ ./configure 
--with-apr-config=/usr/local/apache/2.2.11/bin/apr-1-config 
--prefix=/usr/local/apache/2.2.11 --enable-perl
-glue --with-apache2-apxs=/usr/local/apache/2.2.11/bin/apxs


and mp2 was built by hand as well, but I'm not sure how to report on the 
build arguments (no config.[log|status] file)

I've used strace to follow all the open()'s when starting httpd and it 
seems to be looking in the right places :

grep libapr trace
open("/usr/local/apache/2.2.11/lib/libaprutil-1.so.0", O_RDONLY) = 3
open("/usr/local/apache/2.2.11/lib/libapr-1.so.0", O_RDONLY) = 3
open("/usr/local/apache/2.2.11/lib/libapreq2.so.3", O_RDONLY) = 4
open("/usr/local/apache/2.2.11/lib/libapreq2.so.3", O_RDONLY) = 8


grep Apache2 trace
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Apache2/PerlSections.pm", 
O_RDONLY|O_LARGEFILE) = 7
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Apache2/CmdParms.pm", 
O_RDONLY|O_LARGEFILE) = 8
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Apache2/XSLoader.pm", 
O_RDONLY|O_LARGEFILE) = 9
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Apache2/CmdParms/CmdParms.so",

O_RDONLY) = 8
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Apache2/Directive.pm", 
O_RDONLY|O_LARGEFILE) = 8
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Apache2/Directive/Directive.so",

O_RDONLY) = 8
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Apache2/ServerRec.pm", 
O_RDONLY|O_LARGEFILE) = 8
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Apache2/Log.pm", 
O_RDONLY|O_LARGEFILE) = 9
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Apache2/Log/Log.so", 
O_RDONLY) = 9
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Apache2/ServerRec/ServerRec.so",

O_RDONLY) = 8
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Apache2/ServerUtil.pm", 
O_RDONLY|O_LARGEFILE) = 8
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Apache2/ServerUtil/ServerUtil.so",

O_RDONLY) = 8
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Apache2/Const.pm", 
O_RDONLY|O_LARGEFILE) = 8
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Apache2/Const/Const.so",

O_RDONLY) = 8
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Apache2/Module.pm", 
O_RDONLY|O_LARGEFILE) = 8
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Apache2/Module/Module.so",

O_RDONLY) = 8
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Apache2/RequestUtil.pm", 
O_RDONLY|O_LARGEFILE) = 8
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Apache2/RequestUtil/RequestUtil.so",

O_RDONLY) = 8
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Apache2/Cookie.pm", 
O_RDONLY|O_LARGEFILE) = 8
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/APR/Request/Apache2.pm", 
O_RDONLY|O_LARGEFILE) = 9
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/APR/Request/Apache2/Apache2.so",

O_RDONLY) = 9
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Apache2/RequestRec.pm", 
O_RDONLY|O_LARGEFILE) = 9
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Apache2/RequestRec/RequestRec.so",

O_RDONLY) = 9
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Apache2/Request.pm", 
O_RDONLY|O_LARGEFILE) = 8
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Apache2/Util.pm", 
O_RDONLY|O_LARGEFILE) = 8
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Apache2/Util/Util.so", 
O_RDONLY) = 8
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Apache2/URI.pm", 
O_RDONLY|O_LARGEFILE) = 8
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Apache2/URI/URI.so", 
O_RDONLY) = 8
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Apache2/Response.pm", 
O_RDONLY|O_LARGEFILE) = 11
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Apache2/Response/Response.so",

O_RDONLY) = 11
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Apache2/RequestIO.pm", 
O_RDONLY|O_LARGEFILE) = 11
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Apache2/RequestIO/RequestIO.so",

O_RDONLY) = 11
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Apache2/Access.pm", 
O_RDONLY|O_LARGEFILE) = 11
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Apache2/Access/Access.so",

O_RDONLY) = 11
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Apache2/Filter.pm", 
O_RDONLY|O_LARGEFILE) = 10
open("/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Apache2/Filter/Filter.so",

O_RDONLY) = 10


Any clues, am I looking in the right place for causes of segfaults?

thankyou

Carl








Mime
View raw message