Stas Bekman <[EMAIL PROTECTED]> writes:

> modperl-2.0 'make test' running under worker mpm (linux) always fails in
> t/filter/both_str_req_add.t and dumps core:

Why does that test fail all by itself, using this patch?

Index: t/filter/TestFilter/both_str_req_add.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/t/filter/TestFilter/both_str_req_add.pm,v
retrieving revision 1.4
diff -u -r1.4 both_str_req_add.pm
--- t/filter/TestFilter/both_str_req_add.pm     9 Feb 2004 19:32:42 -0000       1.4
+++ t/filter/TestFilter/both_str_req_add.pm     4 Oct 2004 06:24:40 -0000
@@ -8,7 +8,7 @@
 
 use Apache::RequestRec ();
 use Apache::RequestIO ();
-
+use B::Deparse ();
 use Apache::Filter ();
 
 use Apache::Const -compile => qw(OK M_POST);



With that patch, I get this in the error log:

[Mon Oct 04 02:26:20 2004] [error] [client 127.0.0.1] Can't locate
object method "PVX" via package "B::NULL" at 
/home/smoke/lib/perl5/5.8.5/x86_64-linux-thread-multi/B/Deparse.pm line 1288.

Without that patch, the test passes when run individually, but often
segfaults for me in the test suite.  Running the server under gdb 
indicates the segfault is happening during loading of B::Deparse on
this line in the test-

    $r->add_output_filter("out_filter");

-- 
Joe Schaefer


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to