I am trying to track down a strange segv in $bb->cleanup and it seems quite tricky
to figure out what is the cause of it. Happens reliably for me on one system but
not on another identical (well, almost) system.

Can people here try this test patch on their systems and report back on success/failure
along with a system description? That would help me a lot!

Thanks!

$> cat bb_cleanup.patch | patch -p0
$> ./t/TEST -configure
$> ./t/TEST -v error/bug

--
--------------------------------------------------------------------------------
Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5
http://gozer.ectoplasm.org/     F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5
Index: t/response/TestError/bug.pm
===================================================================
RCS file: t/response/TestError/bug.pm
diff -N t/response/TestError/bug.pm
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ t/response/TestError/bug.pm	26 Aug 2004 23:20:22 -0000
@@ -0,0 +1,27 @@
+package TestError::bug;
+
+use strict;
+use warnings FATAL => 'all';
+
+use Apache::Connection ();
+use APR::Bucket ();
+use APR::Brigade ();
+use APR::Bucket ();
+
+use Apache::Test;
+
+use Apache::Const -compile => qw(OK);
+
+sub handler {
+    my $r = shift;
+    
+    plan $r, tests => 1;
+    ok 1;
+    
+    my $bb = APR::Brigade->new($r->pool, $r->connection->bucket_alloc);
+    $bb->cleanup;
+    
+    Apache::OK;
+}
+
+1;

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to