Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 18848 invoked from network); 29 Aug 2003 17:54:52 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 29 Aug 2003 17:54:52 -0000 Received: (qmail 43338 invoked by uid 500); 29 Aug 2003 17:53:26 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 43286 invoked by uid 500); 29 Aug 2003 17:53:25 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 43143 invoked from network); 29 Aug 2003 17:53:24 -0000 Subject: Re: SubRequest in Filter MP2 [QUESTION] From: Craig Shelley To: modperl@perl.apache.org In-Reply-To: <3F4C0A72.80701@modperlcookbook.org> References: <1061825840.10114.85.camel@teratron> <3F4A2C3D.7000304@modperlcookbook.org> <1061835873.10114.93.camel@teratron> <3F4A62FC.8010004@stason.org> <1061918984.10109.104.camel@teratron> <3F4C0A72.80701@modperlcookbook.org> Content-Type: text/plain Message-Id: <1062178387.1051.188.camel@teratron> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Fri, 29 Aug 2003 18:33:07 +0100 Content-Transfer-Encoding: 7bit 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 Hi All, On Wed, 2003-08-27 at 02:33, Geoffrey Young wrote: > hi craig. > > before we continue, please try the latest cvs (without the patch I sent) > and see if your stuff segfaults there. if not, at least we know we've > isolated the segfault and just have bad logic to fix :) Well: It seg faulted again :( Here is what the log got: [Fri Aug 29 17:45:00 2003] [notice] child pid 14541 exit signal Segmentation fault (11) Here is a Backtrace: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 14541)] 0x4052295c in modperl_wbucket_flush (wb=0x0, add_flush_bucket=0) at modperl_filter.c:180 180 if (wb->outcnt) { (gdb) backtrace #0 0x4052295c in modperl_wbucket_flush (wb=0x0, add_flush_bucket=0) at modperl_filter.c:180 #1 0x406801f2 in ?? () When i run gdb on the core file... #0 0x4052295c in modperl_wbucket_flush (wb=0x0, add_flush_bucket=0) at modperl_filter.c:180 180 if (wb->outcnt) { (gdb) backtrace #0 0x4052295c in modperl_wbucket_flush (wb=0x0, add_flush_bucket=0) at modperl_filter.c:180 #1 0x406801f2 in mpxs_ap_run_sub_req (my_perl=0x8148580, r=0x81a9418) at Apache__SubRequest.h:10 #2 0x406808da in XS_Apache__SubRequest_run (my_perl=0x8148580, cv=0x81965fc) at SubRequest.xs:83 #3 0x405bc7ef in Perl_pp_entersub () from /usr/lib/libperl.so.5.8 #4 0x405b620a in Perl_runops_standard () from /usr/lib/libperl.so.5.8 #5 0x4055ea32 in Perl_call_sv () from /usr/lib/libperl.so.5.8 #6 0x4055e837 in Perl_call_sv () from /usr/lib/libperl.so.5.8 #7 0x4051d6d5 in modperl_callback (my_perl=0x8148580, handler=0x80db808, p=0x815c920, r=0x815c958, s=0x80db858, args=0x8145598) at modperl_callback.c:53 #8 0x405231cd in modperl_run_filter (filter=0x8162938) at modperl_filter.c:400 #9 0x40523f51 in modperl_output_filter_handler (f=0x815e440, bb=0x815e5a8) at modperl_filter.c:761 #10 0x0807e66b in ap_pass_brigade () #11 0x08084c15 in ap_core_translate () #12 0x08073b0a in ap_run_handler () #13 0x0807401e in ap_invoke_handler () #14 0x0806767f in ap_process_request () #15 0x080638ed in _start () #16 0x0815c958 in ?? () #17 0x00000004 in ?? () #18 0x0815c958 in ?? () If you would like some more info please let me know, because I am eager to help solve this problem. PS -- I am running the same test scripts as I mentioned in previous posts. -- Craig Shelley -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html