> -----Ursprüngliche Nachricht-----
> Von: Niklas Edmundsson
> Gesendet: Freitag, 22. Februar 2008 11:04
> An: [email protected]
> Betreff: Re: httpd 2.2.8 segfaults
>
> On Thu, 21 Feb 2008, Ruediger Pluem wrote:
>
> >
> >
> > On 02/21/2008 10:09 PM, Niklas Edmundsson wrote:
> >> On Wed, 20 Feb 2008, Niklas Edmundsson wrote:
> >>
> >>> In any case, I should probably try to figure out how to
> reproduce this
> >>> thing. All coredumps I've looked at have been when
> serving DVD images,
> >>> which of course works flawlessly when I try it...
> >>
> >> OK, I've been able to reproduce this, and it looks really
> bad because:
> >
> > Could you please check if backing out the following patch
> out of apr-util
> > 'fixes' the problem:
> >
> >
> http://svn.apache.org/viewvc/apr/apr-util/branches/1.2.x/bucke
> ts/apr_brigade.c?r1=232557&r2=588057
>
> That's indeed the culprit.
>
> In general, that patch looks truly suspicious since it seems to me
> it's typecasting wildly and not even using its newly invented
> MAX_APR_SIZE_T in all places, because (apr_size_t)(-1) really is the
> same thing, right?
No, MAX_APR_SIZE_T and (apr_size_t)(-1) might be different depending on the
platform. MAX_APR_SIZE_T is ~(apr_size_t)(0).
As I have overcome my confusion regarding apr_off_t / apr_size_t I hope to have
a look into the problem and find a solution how to do all the casting
stuff correctly.
Regards
Rüdiger
>
> /Nikke
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> -=-=-=-=-=-=-
> Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se |
> [EMAIL PROTECTED]
> --------------------------------------------------------------
> -------------
> Windows IS NOT a virus...viruses do something.
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> =-=-=-=-=-=-=
>