On 18 Aug 2001 08:37:42 -0400, Jeff Trawick wrote:

>"Brian Havard" <[EMAIL PROTECTED]> writes:
>
>> I'm seeing a SEGV when parsing a file > 8192 bytes (even 1 byte greater).
>> Notable points:
>> - Stack is trashed, can't get a backtrace
>> - The client receives the full & correct response
>> - Appears to be a call to a null function pointer (EIP=0 in trap log),
>> destroying the buckets. It could just be a symptom of other corruption
>> though.
>> - It still crashes even if the output is shorter than 8192 due to tag
>> parsing.
>> 
>> This is on OS/2 where there's no mmap or sendfile. We've seen before that
>> the non-mmap code path is different enough to have its own bugs....
>
>Can you post your test file please?
>
>I just turned off APR_HAS_MMAP on Linux (and verified that the mmap
>bucket code was missing!), then re-ran tests where a tag appears at
>offsets 1 through 10,000.  I didn't hit any problems in the server,
>and the included file was expanded properly.

File content is irrelevant, I get the same result with 8193 spaces.
If you're not seeing the same bug I guess it must be some factor other than
mmap.

-- 
 ______________________________________________________________________________
 |  Brian Havard                 |  "He is not the messiah!                   |
 |  [EMAIL PROTECTED]  |  He's a very naughty boy!" - Life of Brian |
 ------------------------------------------------------------------------------

Reply via email to