Scott Penrose wrote:
[...]
(gdb) bt
#0 0xb7bef73d in modperl_wbucket_flush (wb=0x0, add_flush_bucket=0)
at modperl_filter.c:236
#1 0xb7a7efaf in mpxs_ap_run_sub_req (r=0x84e1708) at
Apache2__SubRequest.h:25
#2 0xb7a7f55b in XS_Apache2__SubRequest_run (cv=0x8351e78) at
SubRequest.xs:83
#3 0xb7b30c68 in Perl_pp_entersub () from /usr/lib/libperl.so.1
Scott, please try this patch:
Index: xs/Apache2/SubRequest/Apache2__SubRequest.h
===================================================================
--- xs/Apache2/SubRequest/Apache2__SubRequest.h (revision 419996)
+++ xs/Apache2/SubRequest/Apache2__SubRequest.h (working copy)
@@ -20,7 +20,7 @@
* output before anything already written in the main request
*/
- if (r->main) {
+ if (r->main && rcfg->wbucket) {
modperl_config_req_t *rcfg = modperl_config_req_get(r->main);
MP_RUN_CROAK(modperl_wbucket_flush(rcfg->wbucket, FALSE),
"Apache2::SubRequest::run");
--
_____________________________________________________________
Stas Bekman mailto:[EMAIL PROTECTED] http://stason.org/
MailChannels: Reliable Email Delivery http://mailchannels.com
The "Practical mod_perl" book http://modperlbook.org/
http://www.linkedin.com/in/stasbekman http://perl.apache.org/
http://stason.org/photos/gallery/ [* best photos here *]