On Fri, 29 Jun 2001, Cliff Woolley wrote:
> Bummer. Especially because that's the exact sort of thing I did when
> testing it myself on Unix, and I didn't get any segfaults. To help narrow
> in on the problem, please try changing APR_HAS_XTHREAD_FILES to 0 in
> apr.hw and try your test again. That will help us figure out where the
> problem is.
So I'm pushing on the code... I have found some behaviour I can't explain
yet, but I still haven't gotten it to segfault, so I'm guessing we're
talking about two different problems. What I'm seeing at the moment is
that if I request the very *first* file on my list of cached files, it
happens to have file descriptor #2. When I request it and it gets served
with sendfile(), I end up getting the beginning of my error log served as
the request! It seems to be the right number of bytes, just the wrong
file. That sucks. I'll try to figure this out... in the meanwhile, I'm
still curious to hear what you see when you switch to
APR_HAS_XTHREAD_FILES=0.
Thanks,
Cliff
--------------------------------------------------------------
Cliff Woolley
[EMAIL PROTECTED]
Charlottesville, VA