Re: Segfaults in ConnectionHander

2006-01-29 Thread Graham Dumpleton
Changed subject heading. See more of what I have uncovered below. Not sure where to go next. Graham Dumpleton wrote .. > > > Unlike suggestions by someone else that "self" seemed to be getting > corrupted, > > > it looks fine to me, and code simply crashed down in: > > > > > > apr_bucket_read(b,

Re: 3.2.6 test period - how long do we wait?

2006-01-29 Thread Gregory (Grisha) Trubetskoy
On Sun, 29 Jan 2006, Graham Dumpleton wrote: buffer += bufsize; On a second thought - yes, you're right :-) Grisha

Re: 3.2.6 test period - how long do we wait?

2006-01-29 Thread Graham Dumpleton
Grisha wrote .. > > On Sun, 29 Jan 2006, Graham Dumpleton wrote: > > > Grisha wrote .. > >> > >> buffer = bufsize; > >> > > > > I suspect you mean't: > > > > buffer += bufsize; > > buffer = bufsize should be correct because you move the pointer to the > end > of where t

Re: 3.2.6 test period - how long do we wait?

2006-01-29 Thread Gregory (Grisha) Trubetskoy
On Sun, 29 Jan 2006, Graham Dumpleton wrote: Grisha wrote .. buffer = bufsize; I suspect you mean't: buffer += bufsize; buffer = bufsize should be correct because you move the pointer to the end of where the bufer was. buffer += bufsize would set it further tha

Re: 3.2.6 test period - how long do we wait?

2006-01-29 Thread Graham Dumpleton
Grisha wrote .. > > On Sun, 29 Jan 2006, Jim Gallacher wrote: > > > I don't know if this is the answer to the problem, but it looks like > a bug > > anyway. In connobject.c starting at line 133: > > > >/* time to grow destination string? */ > >if (len == 0 && bytes_read == bufsiz

Re: Segfaults in ConnectionHander FreeBSD (was Re: 3.2.6 test period - how long do we wait?)

2006-01-29 Thread Barry Pederson
Jim Gallacher wrote: Dang, it's frustrating not being able to reproduce this bug in Linux. I suppose it's maybe something to do with different malloc implementations or such. I haven't seen any +1s for OpenBSD, which would be interesting to see since they added some stuff in 3.8 to help c

Re: 3.2.6 test period - how long do we wait?

2006-01-29 Thread Gregory (Grisha) Trubetskoy
On Sun, 29 Jan 2006, Jim Gallacher wrote: I don't know if this is the answer to the problem, but it looks like a bug anyway. In connobject.c starting at line 133: /* time to grow destination string? */ if (len == 0 && bytes_read == bufsize) { _PyString_Resize(&result

Re: Segfaults in ConnectionHander FreeBSD (was Re: 3.2.6 test period - how long do we wait?)

2006-01-29 Thread Jim Gallacher
Barry Pederson wrote: I don't know if this is the answer to the problem, but it looks like a bug anyway. In connobject.c starting at line 133: /* time to grow destination string? */ if (len == 0 && bytes_read == bufsize) { _PyString_Resize(&result, bufsize + HUGE_ST

Re: 3.2.6 test period - how long do we wait?

2006-01-29 Thread Graham Dumpleton
Barry Pederson wrote .. > As I mentioned in another message, I did some experimenting with > disabling other unittests and found if you disable just > "test_fileupload", all the remaining tests including > "test_connectionhandler" pass. > > If you disable everything except "test_fileupload" and

Re: 3.2.6 test period - how long do we wait?

2006-01-29 Thread Barry Pederson
I don't know if this is the answer to the problem, but it looks like a bug anyway. In connobject.c starting at line 133: /* time to grow destination string? */ if (len == 0 && bytes_read == bufsize) { _PyString_Resize(&result, bufsize + HUGE_STRING_LEN);

Re: 3.2.6 test period - how long do we wait?

2006-01-29 Thread Jim Gallacher
Graham Dumpleton wrote: On 29/01/2006, at 1:29 AM, Jim Gallacher wrote: Volodya wrote: On Fri, Jan 27, 2006 at 10:28:24AM -0500, Gregory (Grisha) Trubetskoy wrote: OK, and I see Ron sent a Solaris 10 +1, which is good. I think we need a FreeBSD +1 - perhaps not necessarily 6.0, but so