From owner-freebsd-current Sun Jul 5 15:15:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA19455 for freebsd-current-outgoing; Sun, 5 Jul 1998 15:15:03 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from critter.freebsd.dk (critter.freebsd.dk [195.8.133.1] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA19367 for ; Sun, 5 Jul 1998 15:14:43 -0700 (PDT) (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 AAA10405; Mon, 6 Jul 1998 00:11:19 +0200 (CEST) To: rotel@indigo.ie cc: Bill Paul , kkennawa@physics.adelaide.edu.au (Kris Kennaway), current@FreeBSD.ORG Subject: Re: inetd problems In-reply-to: Your message of "Sun, 05 Jul 1998 21:32:21 -0000." <199807052032.VAA04596@indigo.ie> Date: Mon, 06 Jul 1998 00:11:18 +0200 Message-ID: <10403.899676678@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199807052032.VAA04596@indigo.ie>, Niall Smart writes: >On Jul 5, 12:56pm, Bill Paul wrote: >} Subject: Re: inetd problems >> >> I encounter messages like this occasionally with my own code (mostly >> NIS+ stuff) and without exception, the cause has always been some >> kind of bug on my part (double free(), free()ing static buffers by >> mistake, corrupting the heap by wandering past the end of a malloc()ed >> buffer, etc...). All the theories I've heard so far point to some >> kind of VM problem; nobody as yet has been willing to admit that >> the problem is a bug in inetd. > >Well, if you look at http://www.freebsd.org/cgi/query-pr.cgi?pr=6858 >you'll see why, it doesn't look like it's inetd's fault since other >services fail at the same time. There are two problems here, at least as far as my diagnosis goes: 1: kernel/VM problem means that you run out of memory and eventually malloc(3) may fail. 2: inetd probelm inetd doesn't correctly handle some exception conditions, maybe related to malloc(3) failing for the above or other reasons. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." "ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message