From owner-freebsd-current Wed Mar 18 13:50:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA00854 for freebsd-current-outgoing; Wed, 18 Mar 1998 13:50:15 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from critter.freebsd.dk (critter.freebsd.dk [195.8.129.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA00642 for ; Wed, 18 Mar 1998 13:49:37 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.5) with ESMTP id WAA00589; Wed, 18 Mar 1998 22:47:03 +0100 (CET) To: Mike Smith cc: Greg Lehey , FreeBSD current users Subject: Re: Memory leak in inetd in last week's -current? In-reply-to: Your message of "Wed, 18 Mar 1998 13:25:46 PST." <199803182125.NAA23054@dingo.cdrom.com> Date: Wed, 18 Mar 1998 22:47:03 +0100 Message-ID: <587.890257623@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199803182125.NAA23054@dingo.cdrom.com>, Mike Smith writes: >> I've just discovered that my inetd has been rejecting connections with >> the following message: >> >> $ ftp ftp.lemis.com >> Connected to freebie.lemis.com. >> inetd in realloc(): warning: junk pointer, too high to make sense. >> ftp> >> >> I took a ktrace of it happening, if that's of any use, and restarted >> inetd, which made the problem go away. Any ideas? > >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. Wrong. It says "too >high< to make sense". Likely causes: pointer to a stack item pointer to a previously free'ed piece of memory. pointer to mmaped memory, for instance shlib data uninitialized pointer. Technically it means that the pointer is higher than sbrk(0). -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." "Drink MONO-tonic, it goes down but it will NEVER come back up!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message