Re: 2.4 testing ?

From: Andres Kroonmaa <andre@dont-contact.us>
Date: Mon, 20 Nov 2000 12:44:45 +0200

 I don't know how to reproduce it. I am unable to cause a crash by any
 means, I've tried polygraph, tcp-banger2 with list of urls from real
 access.log. I've got few crashes, but at totally random times, and
 very rarely. So they happen when they happen, not when I want..;)
 Yet when I let real user onto a proxy, I get crashes in a timeframe
 of anywhere between 5minutes and 15 hours. Seems to me that it depends
 on what users are doing.
 And yes, I think this bug should be tracked down before going public.
 With this bug 2.4 is unusable, imho...

On 19 Nov 2000, at 22:09, Adrian Chadd <adrian@creative.net.au> wrote:

> I'm about to give this another try tonight. Andres, how exactly are you
> (not) triggering this bug? I would REALLY like this bug fixed before
> we release 2.4 snapshots to the general public for testing ..
>
> Adrian
>
> On Sat, Nov 18, 2000, Andres Kroonmaa wrote:
> >
> > I'm seeing this difficult crashing. I think this is what Henrik meant.
> > The patch to ftp.c was another issue. I'm having real trouble to track
> > it, both because it is pretty rare, and I'm not able to produce it on
> > will. Still, from several crashes I'm seeing the same pattern: they
> > are related to client_side.c
> >
> > assert crashes occur in 2 scenarios:
> > (ALL related to mempool: MEM_CLIENT_SOCK_BUF)
> > 1) memFree from clientSendMoreData() after CommWriteStateCallbackAndFree()
> > 2) memAlloc from clientWriteComplete after CommWriteStateCallbackAndFree()
> > 3) memAlloc from random places after a corruption...
> >
> > Seems that a CLIENT_SOCK_BUF is used shortly after its free, corrupting free space.
> > Then some time after, either memAlloc for a new buf or memFree of another one
> > triggers a crash.
> > I think it must be misuse of buffer, because in chunked mempools I can
> > see that mem area before the causing buffer is not trashed. Maybe the buffer
> > is overrun. xmalloc-debug does not catch any malloc/free issues.

------------------------------------
 Andres Kroonmaa <andre@online.ee>
 Delfi Online
 Tel: 6501 731, Fax: 6501 708
 Pärnu mnt. 158, Tallinn,
 11317 Estonia
Received on Mon Nov 20 2000 - 03:48:19 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:59 MST