Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@www.apache.org Received: (qmail 63725 invoked from network); 14 Jul 2008 04:59:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jul 2008 04:59:16 -0000 Received: (qmail 2435 invoked by uid 500); 14 Jul 2008 04:59:16 -0000 Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 2406 invoked by uid 500); 14 Jul 2008 04:59:16 -0000 Mailing-List: contact apreq-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list apreq-dev@httpd.apache.org Received: (qmail 2395 invoked by uid 99); 14 Jul 2008 04:59:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Jul 2008 21:59:16 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dsaljurator@gmail.com designates 74.125.46.153 as permitted sender) Received: from [74.125.46.153] (HELO yw-out-1718.google.com) (74.125.46.153) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 04:58:23 +0000 Received: by yw-out-1718.google.com with SMTP id 6so1938728ywa.84 for ; Sun, 13 Jul 2008 21:58:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=o3EZ8eottI6oVH65VCufTwOdwjOG8xvq8vblKfHWvg4=; b=HABdpJa06uTlz79pUBQ0krFbDAMp1OHsA8ETwKMwHXp/IM7oht6YxfT63S7vS93JOR RFeQndEa8yoPFhSprxMCw23cAhoRi9HV+LKAgSAhMMVUZUh7FrPTyz5RRYenyoTVZr1w qVL0im2VO0uIXrzl8+eKppfdpLFeKBZfnT0tE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ixozzp5bIKNOvjiFgOqGkhdXUdQ+CPZHx8hURbhbwz8asiND+MKh+mg+U4p/k/y7bb gBGm63SUyBrjTe4Bt60SPmNB0kGl1ncp9A6qKHVjFKRuvFSgbBM/J69Ldhi4Rzks/PFp 079Y1wo8d5LLJVXNxm7UUXU23ZY87iVcIBAkg= Received: by 10.150.98.18 with SMTP id v18mr7023575ybb.113.1216011509970; Sun, 13 Jul 2008 21:58:29 -0700 (PDT) Received: by 10.150.157.20 with HTTP; Sun, 13 Jul 2008 21:58:29 -0700 (PDT) Message-ID: <5bc09a540807132158k34c99420gf63a287c891f4e28@mail.gmail.com> Date: Mon, 14 Jul 2008 00:58:29 -0400 From: "Adam Prime" To: apreq-dev@httpd.apache.org Subject: Re: Should we release 2.10? In-Reply-To: <5bc09a540807132144v7443fb1fr275bee85d4bd8e7b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1215737069.4184.24.camel@shrek.rexursive.com> <5bc09a540807131053h78b5a4dcra84a4a99b2dc900b@mail.gmail.com> <1215984314.4184.31.camel@shrek.rexursive.com> <5bc09a540807132142t6eec31b5m6a1931ff167579c@mail.gmail.com> <5bc09a540807132144v7443fb1fr275bee85d4bd8e7b@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Jul 14, 2008 at 12:44 AM, Adam Prime wrote: > Apparently i suck at actually sending mail to the list. I blame gmail. > > On Mon, Jul 14, 2008 at 12:42 AM, Adam Prime wrote: >> On Sun, Jul 13, 2008 at 5:25 PM, Bojan Smojver wrote: >>> >>> Given it's a request to the whole development group, could you resend to >>> the list so that other developer see it too? >>> >>> It would also be useful to have a backtrace from GDB when this happens. >> >> If someone can point my to instructions on how to generate a >> backtrace, i'll do what i can. It's not something i have any >> experience with though. >> >> I've fiddled with this a little further. If you take the following handler: >> >> package Kabob::Seg; >> >> use Apache2::Request; >> >> sub handler { >> my $req = Apache2::Request->new($r); >> $r->content_type('text/plain'); >> >> $r->print('hi'); >> >> return Apache2::Const::OK; >> } >> >> 1; >> >> and run it under SetHandler perl-script, it will segfault. If you run >> it under SetHandler modperl, then you get this in your error_log (and >> a 500): >> >> [Mon Jul 14 00:28:37 2008] [error] [client 127.0.0.1] Apache2->handle >> called without setting Apache2->request! at >> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/Apache2/Request.pm line >> 15.\n >> >> I have no idea what the difference is. >> >> Adam >> > theoretically, this is a backtrace from this. (gdb) set args -f /www/conf/httpd.conf -DBackEnd -X (gdb) r Starting program: /usr/local/prefork/bin/httpd -f /www/conf/httpd.conf -DBackEnd -X Program received signal SIGSEGV, Segmentation fault. 0x00002b1e9b043ee7 in XS_APR__Request__Apache2_handle () from /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/APR/Request/Apache2/Apache2.so (gdb) bt #0 0x00002b1e9b043ee7 in XS_APR__Request__Apache2_handle () from /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux/auto/APR/Request/Apache2/Apache2.so #1 0x00002b1e98ef3ac9 in Perl_pp_entersub () from /usr/lib/libperl.so.1 #2 0x00002b1e98ef226a in Perl_runops_standard () from /usr/lib/libperl.so.1 #3 0x00002b1e98ea2367 in Perl_call_sv () from /usr/lib/libperl.so.1 #4 0x00002b1e98c32710 in modperl_callback () from /usr/local/prefork/modules/mod_perl.so #5 0x00002b1e98c32c5d in modperl_callback_run_handlers () from /usr/local/prefork/modules/mod_perl.so #6 0x00002b1e98c3300f in modperl_callback_per_dir () from /usr/local/prefork/modules/mod_perl.so #7 0x00002b1e98c2f0f0 in modperl_response_handler_run () from /usr/local/prefork/modules/mod_perl.so #8 0x00002b1e98c2f26e in modperl_response_handler_cgi () from /usr/local/prefork/modules/mod_perl.so #9 0x0000000000437af9 in ap_run_handler (r=0x853788) at config.c:157 #10 0x000000000043abdc in ap_invoke_handler (r=0x853788) at config.c:372 #11 0x000000000044fc38 in ap_process_request (r=0x853788) at http_request.c:258 #12 0x000000000044d0dc in ap_process_http_connection (c=0x84f958) at http_core.c:190 #13 0x000000000043e791 in ap_run_process_connection (c=0x84f958) at connection.c:43 #14 0x0000000000461801 in child_main (child_num_arg=) at prefork.c:640 #15 0x00000000004619e8 in make_child (s=0x69d150, slot=0) at prefork.c:680 #16 0x0000000000462478 in ap_mpm_run (_pconf=, plog=, s=0x69d150) at prefork.c:956 #17 0x0000000000425a37 in main (argc=5, argv=0x7fff1363a5d8) at main.c:730