Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@www.apache.org Received: (qmail 36411 invoked from network); 11 Dec 2003 01:23:49 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 11 Dec 2003 01:23:49 -0000 Received: (qmail 37487 invoked by uid 500); 11 Dec 2003 01:23:33 -0000 Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 37473 invoked by uid 500); 11 Dec 2003 01:23:33 -0000 Mailing-List: contact apreq-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list apreq-dev@httpd.apache.org Received: (qmail 37460 invoked from network); 11 Dec 2003 01:23:33 -0000 Received: from unknown (HELO alderaan.gsfc.nasa.gov) (128.183.16.213) by daedalus.apache.org with SMTP; 11 Dec 2003 01:23:33 -0000 Received: from alderaan.gsfc.nasa.gov (localhost.localdomain [127.0.0.1]) by alderaan.gsfc.nasa.gov (8.12.10/8.12.9) with ESMTP id hBB1NeKk027554; Wed, 10 Dec 2003 20:23:41 -0500 Received: (from sabol@localhost) by alderaan.gsfc.nasa.gov (8.12.10/8.12.10/Submit) id hBB1Neum027550; Wed, 10 Dec 2003 20:23:40 -0500 Date: Wed, 10 Dec 2003 20:23:40 -0500 Message-Id: <200312110123.hBB1Neum027550@alderaan.gsfc.nasa.gov> From: "Edward J. Sabol" To: Stas Bekman CC: apreq-dev@httpd.apache.org In-reply-to: <200312110052.hBB0qtNZ027502@alderaan.gsfc.nasa.gov> (sabol@alderaan.gsfc.nasa.gov) Subject: Re: libapreq2-2.02-dev build problems with Perl 5.6.1 References: <200312100245.hBA2jjOW024631@alderaan.gsfc.nasa.gov> <3FD6E702.20404@stason.org> <200312110052.hBB0qtNZ027502@alderaan.gsfc.nasa.gov> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > I blew away my build directory and started from scratch. First, I applied the > patch and then I copied ppport.h into glue/perl/xsbuilder/. Then I proceeded > to build it. There are a lot fewer errors this time, but Cookie.c still fails > to compile. dAX and ax are missing? OK, I found dAX in modperl_xs_util.h, so I thought I'd try #include'ing that in apreq_xs_postperl.h. After that, it did build! "make test" shows a variety of problems though, ranging from the simplistic to possibly problematic. First, I had to manually change all t/TEST files to point to the correct version of Perl again. (See previous e-mails.) Once I did that, the first few rounds of tests did pass. The glue/perl/t/TEST failed pretty spectacularly though: /usr1/local/bin/perl5.6.1 -Iblib/arch -Iblib/lib \ t/TEST -clean *** setting ulimit to allow core files ulimit -c unlimited; t/TEST -clean sh: ulimit: cannot modify core file size limit: Operation not permitted APACHE_USER= APXS= APACHE_PORT= APACHE_GROUP= APACHE= \ /usr1/local/bin/perl5.6.1 -Iblib/arch -Iblib/lib \ t/TEST -bugreport -verbose=0 *** setting ulimit to allow core files ulimit -c unlimited; t/TEST -bugreport -verbose=0 sh: ulimit: cannot modify core file size limit: Operation not permitted /usr/wwwserver/apache.2.0.48/bin/httpd -d /var/tmp/cpan/build/libapreq2-2.02-dev/glue/perl/t -f /var/tmp/cpan/build/libapreq2-2.02-dev/glue/perl/t/conf/httpd.conf -DAPACHE2 using Apache/2.0.48 (prefork MPM) waiting 60 seconds for server to start: .. waiting 60 seconds for server to start: ok (waited 1 secs) server localhost.localdomain:8529 started apreq/big_input....FAILED tests 1-21 Failed 21/21 tests, 0.00% okay apreq/cookie.......FAILED tests 6-7 Failed 2/7 tests, 71.43% okay apreq/inherit......FAILED tests 1-4 Failed 4/4 tests, 0.00% okay apreq/request......FAILED tests 1-2 Failed 2/2 tests, 0.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- apreq/big_input.t 21 21 100.00% 1-21 apreq/cookie.t 7 2 28.57% 6-7 apreq/inherit.t 4 4 100.00% 1-4 apreq/request.t 2 2 100.00% 1-2 *** server localhost.localdomain:8529 shutdown !!! error running tests (please examine t/logs/error_log) !!! oh gosh, server dumped core !!! for stacktrace, run: gdb /usr/wwwserver/apache.2.0.48/bin/httpd -core /var/tmp/cpan/build/libapreq2-2.02-dev/glue/perl/t/core.21314 etc... gdb reveals: #0 0x4007140d in apr_palloc (pool=0x4212df00, size=16) at apr_pools.c:632 632 if (size < (apr_size_t)(active->endp - active->first_avail)) { (gdb) bt #0 0x4007140d in apr_palloc (pool=0x4212df00, size=16) at apr_pools.c:632 #1 0x40063cbc in apr_pmemdup (a=0x4212df00, m=0x8178260, n=11) at apr_strings.c:156 #2 0x4024edcd in XS_Apache__RequestRec_content_type () from /usr1/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/Apache/RequestRec/RequestRec.so #3 0x401ba355 in Perl_pp_entersub () from /usr/wwwserver/apache.2.0.48/modules/mod_perl.so #4 0x401b501d in Perl_runops_standard () from /usr/wwwserver/apache.2.0.48/modules/mod_perl.so #5 0x4017daf5 in S_call_body () from /usr/wwwserver/apache.2.0.48/modules/mod_perl.so #6 0x4017d8be in perl_call_sv () from /usr/wwwserver/apache.2.0.48/modules/mod_perl.so #7 0x4016c713 in modperl_callback () from /usr/wwwserver/apache.2.0.48/modules/mod_perl.so #8 0x4016ca8e in modperl_callback_run_handlers () from /usr/wwwserver/apache.2.0.48/modules/mod_perl.so #9 0x4016cb1c in modperl_callback_per_dir () from /usr/wwwserver/apache.2.0.48/modules/mod_perl.so #10 0x4016a272 in modperl_response_handler_run () from /usr/wwwserver/apache.2.0.48/modules/mod_perl.so #11 0x4016a2fd in modperl_response_handler () from /usr/wwwserver/apache.2.0.48/modules/mod_perl.so #12 0x0808c39e in ap_run_handler (r=0x81c4820) at config.c:194 #13 0x0808c8b9 in ap_invoke_handler (r=0x81c4820) at config.c:401 #14 0x08075c83 in ap_process_request (r=0x81c4820) at http_request.c:288 #15 0x08071d8c in ap_process_http_connection (c=0x81bc8d8) at http_core.c:293 #16 0x08095202 in ap_run_process_connection (c=0x81bc8d8) at connection.c:85 #17 0x0808b049 in child_main (child_num_arg=0) at prefork.c:694 #18 0x0808b190 in make_child (s=0x80cdbf0, slot=0) at prefork.c:788 #19 0x0808b1e6 in startup_children (number_to_start=1) at prefork.c:806 #20 0x0808b4e8 in ap_mpm_run (_pconf=0x80cabf0, plog=0x8106ce0, s=0x80cdbf0) at prefork.c:1022 #21 0x080908e7 in main (argc=6, argv=0xbfffe4b4) at main.c:660 #22 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6 Any ideas?