Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 6905 invoked from network); 30 Mar 2006 02:10:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Mar 2006 02:10:34 -0000 Received: (qmail 59837 invoked by uid 500); 30 Mar 2006 02:10:26 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 59821 invoked by uid 500); 30 Mar 2006 02:10:25 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 59810 invoked by uid 99); 30 Mar 2006 02:10:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Mar 2006 18:10:25 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [66.236.219.70] (HELO piccollo.p6m7g8.net) (66.236.219.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Mar 2006 18:10:23 -0800 Received: from [172.28.57.204] (office4.tmcs.net [209.104.55.5]) (authenticated bits=0) by piccollo.p6m7g8.net (8.13.4/8.13.4) with ESMTP id k2U2A2UV081560; Wed, 29 Mar 2006 21:10:02 -0500 (EST) (envelope-from pgollucci@p6m7g8.com) Message-ID: <442B3DE2.4080301@p6m7g8.com> Date: Wed, 29 Mar 2006 18:09:38 -0800 From: "Philip M. Gollucci" Organization: P6M7G8 Consulting User-Agent: Thunderbird 1.5 (X11/20060313) MIME-Version: 1.0 To: Cory Omand CC: modperl Subject: Re: Apache 2.2 and libapreq2 2.0.7 segfault References: <442B25D4.8040203@p6m7g8.com> <442B353B.9030209@p6m7g8.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Cory Omand wrote: > On 3/29/06, Philip M. Gollucci wrote: >> Cory Omand wrote: >>> --with-mm-opts="INSTALLDIRS=vendor" >> wow, someone is using that other then me... Glad I added it :) > > I'm glad you added it too :) > >> Can you double check and make sure everything is picking up the same >> versions of apr and apr-util. (Do you have any other's installed?) >> (preferably via ldd) > > That was one of the first things I checked. I do only have one > version of libapr/aprutil installed, and both mod_apreq2.so and the > Perl shared module are both pointing to the correct libs. I also > recompiled libapreq2 against the exact build of apache2 I'm running, > and still get a segfault when constructing new Apache2::Request > objects. > >> If you run 'make test' in for httpd-apreq what happens ? > > Excellent question :). I disabled test on this module in my build > system during the dev releases, and never re-enabled it when 2.07 came > out... [rebuilding with test enabled]... > > It looks like all of the Perl module tests pass with no issues. The > tests then generate a bunch of SSL certificates, and fire up apache. > Most of the apache based tests pass, up until the api/apreq tests: > > server localhost:8529 started > t/api/cookie.........ok > t/api/error..........ok > t/api/module.........ok > t/api/param..........ok > t/apreq/big_input....ok > t/apreq/cgi..........# Failed test 1 in t/apreq/cgi.t at line 62 > t/apreq/cgi..........NOK 1# Failed test 2 in t/apreq/cgi.t at line 62 fail #2 > t/apreq/cgi..........NOK 2# Failed test 3 in t/apreq/cgi.t at line 62 fail #3 > t/apreq/cgi..........NOK 3# Failed test 4 in t/apreq/cgi.t at line 62 fail #4 > t/apreq/cgi..........NOK 4# Failed test 5 in t/apreq/cgi.t at line 62 fail #5 > t/apreq/cgi..........NOK 5# Failed test 6 in t/apreq/cgi.t at line 62 fail #6 > t/apreq/cgi..........NOK 6# Failed test 7 in t/apreq/cgi.t at line 62 fail #7 > t/apreq/cgi..........NOK 7# Failed test 8 in t/apreq/cgi.t at line 62 fail #8 > t/apreq/cgi..........NOK 8# Failed test 9 in t/apreq/cgi.t at line 62 fail #9 > t/apreq/cgi..........NOK 9# Failed test 10 in t/apreq/cgi.t at line 84 > t/apreq/cgi..........NOK 10# Failed test 11 in t/apreq/cgi.t at line 84 fail #2 > t/apreq/cgi..........NOK 11# Failed test 12 in t/apreq/cgi.t at line 84 fail #3 > t/apreq/cgi..........NOK 12# Failed test 13 in t/apreq/cgi.t at line 84 fail #4 > t/apreq/cgi..........NOK 13# Failed test 14 in t/apreq/cgi.t at line 84 fail #5 > t/apreq/cgi..........NOK 14# Failed test 15 in t/apreq/cgi.t at line 84 fail #6 > t/apreq/cgi..........NOK 15# Failed test 16 in t/apreq/cgi.t at line 84 fail #7 > t/apreq/cgi..........NOK 16# Failed test 17 in t/apreq/cgi.t at line 84 fail #8 > t/apreq/cgi..........NOK 17# Failed test 18 in t/apreq/cgi.t at line 84 fail #9 > t/apreq/cgi..........NOK 18# Failed test 19 in t/apreq/cgi.t at line 84 fail #10 > t/apreq/cgi..........NOK 19# Failed test 20 in t/apreq/cgi.t at line 84 fail #11 > t/apreq/cgi..........NOK 20# Failed test 21 in t/apreq/cgi.t at line 84 fail #12 > t/apreq/cgi..........NOK 21# Failed test 22 in t/apreq/cgi.t at line 91 > t/apreq/cgi..........NOK 22# Failed test 23 in t/apreq/cgi.t at line 94 > t/apreq/cgi..........NOK 23# Failed test 24 in t/apreq/cgi.t at line 99 > t/apreq/cgi..........NOK 24# Failed test 25 in t/apreq/cgi.t at line 104 > t/apreq/cgi..........NOK 25# Failed test 26 in t/apreq/cgi.t at line 109 > t/apreq/cgi..........NOK 26# Failed test 27 in t/apreq/cgi.t at line 118 > t/apreq/cgi..........NOK 27# Failed test 28 in t/apreq/cgi.t at line 127 > t/apreq/cgi..........NOK 28# Failed test 29 in t/apreq/cgi.t at line 137 > t/apreq/cgi..........NOK 29# Failed test 30 in t/apreq/cgi.t at line 148 > t/apreq/cgi..........NOK 30# Failed test 31 in t/apreq/cgi.t at line 157 > t/apreq/cgi..........NOK 31request has failed (the response code was: 404) > see t/logs/error_log for more details > t/apreq/cgi..........dubious > Test returned status 29 (wstat 7424, 0x1d00) > DIED. FAILED tests 1-41 > Failed 41/41 tests, 0.00% okay > t/apreq/cookie.......ok > t/apreq/inherit......ok > t/apreq/request......ok > t/apreq/upload.......request has failed (the response code was: 404) > see t/logs/error_log for more details > t/apreq/upload.......dubious > Test returned status 29 (wstat 7424, 0x1d00) > DIED. FAILED tests 1-20 > Failed 20/20 tests, 0.00% okay > Failed Test Stat Wstat Total Fail Failed List of Failed > ------------------------------------------------------------------------------- > t/apreq/cgi.t 29 7424 41 51 124.39% 1-41 > t/apreq/upload.t 29 7424 20 40 200.00% 1-20 > Failed 2/10 test scripts, 80.00% okay. 61/191 subtests failed, 68.06% okay. > [warning] server localhost:8529 shutdown > > The error log contains many errors like the following: > > [Wed Mar 29 20:54:48 2006] [error] [client 127.0.0.1] Premature end of > script headers: test_cgi.pl > Can't load '/export/medusa/comand/csw/cpan/libapreq2/work/comand-ra.d/libapreq2-2.07/glue/perl/t/cgi-bin/../../blib/arch/auto/APR/Request/Request.so' > for module APR::Request: ld.so.1: test_cgi.pl: fatal: libapreq2.so.3: set the LD_LIBRARY_PATH in your shell to the appropriate paths. Thats strange. This isn't your problem, but I'm hoping the test out will give me something to go on. I'm having some "issues" looking at ndm instead of gdb. But it looks like the mod_apreq_handle_apache2 is getting null for the first few arguments. -- ------------------------------------------------------------------------ Philip M. Gollucci (pgollucci@p6m7g8.com) 323.219.4708 Consultant / http://p6m7g8.net/Resume/resume.shtml Senior Software Engineer - TicketMaster - http://ticketmaster.com 1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F "It takes a minute to have a crush on someone, an hour to like someone, and a day to love someone, but it takes a lifetime to forget someone..."