From owner-freebsd-current Wed Mar 18 13:43:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA28489 for freebsd-current-outgoing; Wed, 18 Mar 1998 13:43:10 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from danberlin.resnet.rochester.edu (danberlin.resnet.rochester.edu [128.151.91.212]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA28476 for ; Wed, 18 Mar 1998 13:43:00 -0800 (PST) (envelope-from root@danberlin.resnet.rochester.edu) Received: from localhost (root@localhost) by danberlin.resnet.rochester.edu (8.8.8/8.8.8) with SMTP id QAA00502; Wed, 18 Mar 1998 16:37:56 -0500 (EST) (envelope-from root@danberlin.resnet.rochester.edu) Date: Wed, 18 Mar 1998 16:37:56 -0500 (EST) From: Daniel Berlin To: Mike Smith cc: Greg Lehey , FreeBSD current users Subject: Re: Memory leak in inetd in last week's -current? In-Reply-To: <199803182125.NAA23054@dingo.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ah, i had fun with that message yesterday while converting tin 1.4pre's local xover caching to use zlib. was tired of huge local cache files in 40000 article newsgroups. cache size went from about 10 meg to about 2 when i was finished. Only took 30 minutes too. I had gotten this message while stupidly forgetting that one of the reading functions makes a recursive call to itself and was expecting a FILE * when I gave it a gzFile *. It didn't give an error on compilation, but while running the tin_fgets function would fail with that error message. On Wed, 18 Mar 1998, Mike Smith wrote: > Bug in inetd, normally associated with malloc failure (system out of > memory). > > Possibly bad use of a low (nonzero) magic pointer value, or possibly > attempting to use a pointer to a static item as a substitute. > > -- > \\ Sometimes you're ahead, \\ Mike Smith > \\ sometimes you're behind. \\ mike@smith.net.au > \\ The race is long, and in the \\ msmith@freebsd.org > \\ end it's only with yourself. \\ msmith@cdrom.com > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message