Return-Path: X-Original-To: apmail-perl-dev-archive@www.apache.org Delivered-To: apmail-perl-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 330969D45 for ; Tue, 24 Jan 2012 04:31:52 +0000 (UTC) Received: (qmail 99303 invoked by uid 500); 24 Jan 2012 04:31:52 -0000 Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 98791 invoked by uid 500); 24 Jan 2012 04:31:43 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 98717 invoked by uid 99); 24 Jan 2012 04:31:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jan 2012 04:31:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.210.177] (HELO mail-iy0-f177.google.com) (209.85.210.177) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jan 2012 04:31:30 +0000 Received: by iagw33 with SMTP id w33so8246499iag.22 for ; Mon, 23 Jan 2012 20:31:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.203.100 with SMTP id kp4mr12791657igc.6.1327379469503; Mon, 23 Jan 2012 20:31:09 -0800 (PST) Received: by 10.231.63.137 with HTTP; Mon, 23 Jan 2012 20:31:09 -0800 (PST) In-Reply-To: References: <034F346A3618400294A56DF2BF1D8875@redhotpenguin.com> <77983334.mZbzXU6Gdm@opi.home> Date: Mon, 23 Jan 2012 20:31:09 -0800 Message-ID: Subject: Re: [RELEASE CANDIDATE] Apache-Test-1.37 RC1 From: Fred Moyer To: =?ISO-8859-1?Q?Torsten_F=F6rtsch?= Cc: dev@perl.apache.org, test-dev@perl.apache.org X-Gm-Message-State: ALoCoQnAOmNkrZdY7J2oJW6qUzSskhACgt6CW1KPWF8XaJRS9nJe3xaxDYjxyij3MQpZMzDEUrb9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 2012/1/5 Fred Moyer : > On Wednesday, January 4, 2012 at 11:26 AM, Torsten F=F6rtsch wrote: >> Don't know if it is just my system or if it is relevant at all but I can >> produce failures and even segfault by >> >> make >> t/TEST -start-httpd >> while t/TEST -order=3Drandom -run-tests; do :; done >> >> Can anyone else please try this? Also, I wouldn't see it as a show stopp= er if >> 1.36 behaves the same. > > I was not able to reproduce this after letting it run for ~20 minutes. > > 5.14.1/2.2.21/2.0.6-dev Torsten, were you able to reproduce it in 1.36? > > > >> >> Note, the first run of the test suite always succeeds. >> >> The stack trace shows that PerlIOApache_flush passes a NULL pointer to >> ap_get_module_config. I think the relevant line is >> >> rcfg =3D modperl_config_req_get(st->r); >> >> which expands to >> >> ap_get_module_config(st->r->request_config, &perl_module) >> >> I also got one of this: >> >> [Wed Jan 04 19:19:29 2012] [error] [client 127.0.0.1] PerlIOApache_flush= : >> flush can't be called before the response phase at >> /opt/perl/lib/5.12.3/Test/Builder.pm line 1825.\n >> >> 1818 sub _open_testhandles { >> 1819 my $self =3D shift; >> 1820 >> 1821 return if $self->{Opened_Testhandles}; >> 1822 >> 1823 # We dup STDOUT and STDERR so people can change them in their >> 1824 # test suites while still getting normal test output. >> 1825 open( $Testout, ">&STDOUT" ) or die "Can't dup STDOUT: $!"; >> 1826 open( $Testerr, ">&STDERR" ) or die "Can't dup STDERR: $!"; >> 1827 >> 1828 # $self->_copy_io_layers( \*STDOUT, $Testout ); >> 1829 # $self->_copy_io_layers( \*STDERR, $Testerr ); >> 1830 >> 1831 $self->{Opened_Testhandles} =3D 1; >> 1832 >> 1833 return; >> 1834 } >> >> To me the stack trace looks like a file handle being closed in the proce= ss of >> reopening it - something like what is done in line 1825 if $Testout is s= till >> open. >> >> >> #0 0x000000000042cfb4 in ap_get_module_config (cv=3D0x0, m=3D0x7fa62e910= de0) at >> util_debug.c:106 >> 106 return ((void **)cv)[m->module_index]; >> (gdb) bt >> #0 0x000000000042cfb4 in ap_get_module_config (cv=3D0x0, m=3D0x7fa62e910= de0) at >> util_debug.c:106 >> #1 0x00007fa62e6f6386 in PerlIOApache_flush () from /opt/apache- >> prefork/libexec/mod_perl.so >> #2 0x00007fa62e48f6be in Perl_PerlIO_flush () from >> /opt/perl/lib/5.12.3/x86_64-linux/CORE/libperl.so >> #3 0x00007fa62e491559 in PerlIOBase_close () from >> /opt/perl/lib/5.12.3/x86_64-linux/CORE/libperl.so >> #4 0x00007fa62e6f6209 in PerlIOApache_close () from /opt/apache- >> prefork/libexec/mod_perl.so >> #5 0x00007fa62e491678 in PerlIO__close () from /opt/perl/lib/5.12.3/x86_= 64- >> linux/CORE/libperl.so >> #6 0x00007fa62e4916be in Perl_PerlIO_close () from >> /opt/perl/lib/5.12.3/x86_64-linux/CORE/libperl.so >> #7 0x00007fa62e471624 in Perl_do_openn () from /opt/perl/lib/5.12.3/x86_= 64- >> linux/CORE/libperl.so >> #8 0x00007fa62e45e296 in Perl_pp_open () from /opt/perl/lib/5.12.3/x86_6= 4- >> linux/CORE/libperl.so >> #9 0x00007fa62e41dc80 in Perl_runops_standard () from >> /opt/perl/lib/5.12.3/x86_64-linux/CORE/libperl.so >> #10 0x00007fa62e3ca1ab in Perl_call_sv () from /opt/perl/lib/5.12.3/x86_= 64- >> linux/CORE/libperl.so >> #11 0x00007fa62e6f1cf7 in modperl_callback () from /opt/apache- >> prefork/libexec/mod_perl.so >> #12 0x00007fa62e6f2540 in modperl_callback_run_handlers () from /opt/apa= che- >> prefork/libexec/mod_perl.so >> #13 0x00007fa62e6f288f in modperl_callback_per_dir () from /opt/apache- >> prefork/libexec/mod_perl.so >> #14 0x00007fa62e6eea5b in modperl_response_handler_run () from /opt/apac= he- >> prefork/libexec/mod_perl.so >> #15 0x00007fa62e6eebb3 in modperl_response_handler_cgi () from /opt/apac= he- >> prefork/libexec/mod_perl.so >> #16 0x000000000043cc98 in ap_run_handler (r=3D0x9f53c0) at config.c:158 >> #17 0x000000000043d0fe in ap_invoke_handler (r=3D0x9f53c0) at config.c:3= 76 >> #18 0x000000000044a150 in ap_process_request (r=3D0x9f53c0) at >> http_request.c:282 >> #19 0x0000000000447128 in ap_process_http_connection (c=3D0x9e7540) at >> http_core.c:190 >> #20 0x0000000000443298 in ap_run_process_connection (c=3D0x9e7540) at >> connection.c:43 >> #21 0x000000000044ee02 in child_main (child_num_arg=3D) a= t >> prefork.c:667 >> #22 0x000000000044f50c in make_child (slot=3D1, s=3D0x684848) at prefork= .c:768 >> #23 make_child (s=3D0x684848, slot=3D1) at prefork.c:696 >> #24 0x0000000000450062 in perform_idle_server_maintenance (p=3D) >> at prefork.c:903 >> #25 ap_mpm_run (_pconf=3D, plog=3D, s=3D> out>) at prefork.c:1107 >> #26 0x00000000004286d4 in main (argc=3D7, argv=3D0x7fffceabde38) at main= .c:751 >> >> >> Torsten F=F6rtsch >> >> -- >> Need professional modperl support? Hire me! (http://foertsch.name) >> >> Like fantasy? http://kabatinte.net > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org