Stas Bekman <[EMAIL PROTECTED]> writes:

> Joe Schaefer wrote:
> > Stas Bekman <[EMAIL PROTECTED]> writes:
> > [...]
> >
> >>Heh, I tried that (removing $b->remove), and t/compat/request_body.t
> >>then segfaults right there, all by itself.
> > :-( Did you remember to replace it with $bb->cleanup?
> 
> I can't. Remember it crashes on win32:
> http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=108967266419527&w=2

Random guess- from WrapXS/APR/Brigade/Brigade.xs
==================================================
MODULE = APR::Brigade    PACKAGE = APR::Brigade   PREFIX = apr_brigade_

apr_status_t
apr_brigade_cleanup(data)
    void * data

==================================================
I think mp2 is using the wrong typemap here (void *), which may be 
causing the $bb->cleanup segfaults on Win32.

> 
> > What's the backtrace look like?
> 
> I think the same as posted at the head of this thread. I'll check that again.

HTTP_IN will segfault if you pass it a non-empty brigade:

  http://marc.theaimsgroup.com/?l=apache-httpd-dev&m=105513549120399&w=2

-- 
Joe Schaefer


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

Reply via email to