On Tue, Oct 6, 2015 at 3:51 PM, Yann Ylavic <ylavic....@gmail.com> wrote: > On Tue, Oct 6, 2015 at 3:41 PM, Graham Leggett <minf...@sharp.fm> wrote: >> On 6 Oct 2015, at 14:32, Yann Ylavic <ylavic....@gmail.com> wrote: >> >>> So it seems to relate to the EOR bucket, first not being passed >>> through, and second leading to a double-free or alike. >>> >>> Did not investigate further... >> >> Did you rebuild you tree completely clean before trying it out? >> >> Whenever I got weird behavior a clean rebuild sorted it out. The full test >> suite works fine for me using the event mpm. > > Just did that, same thing. > I was using mpm_worker, but now tried mpm_event with same segfaults.
Looks like mod_bucketeer is the culprit. It fails to remove itself from the filter stack on EOS, and hence makes a copy of the EOR bucket (as any METADATA bucket) for its own brigade when it sees it. Then the request gets destroyed twice (once per brigade it is in) on cleanup. I fail to see where your patch comes into play here though, for now. I also suspect EOR buckets shouldn't be copyable anyway, and bucketeer should do the right thing, still the new filter should probably work with the existing...