From mint-bounce@lists.fishpool.fi  Tue Mar 14 23:42:42 2006
X-Original-To: fnaumann@mail.boerde.de
Delivered-To: fnaumann@mail.boerde.de
X-ME-UUID: 20060314223812825.C98CB7000086@mwinf1802.wanadoo.fr
Date: Tue, 14 Mar 2006 23:38:13 +0100
From: Patrice Mandin <mandin.patrice@wanadoo.fr>
To: mint@lists.fishpool.fi
Subject: Re: [MiNT] Zombi in U:/kern
Message-Id: <20060314233813.4ffc8306.mandin.patrice@wanadoo.fr>
In-Reply-To: <1142372421.441738453c27b@webmail1.utbm.fr>
References: <1142372421.441738453c27b@webmail1.utbm.fr>
Organization: Chez moi
X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-To: mint-bounce@lists.fishpool.fi
X-original-sender: mandin.patrice@wanadoo.fr
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
List-owner: <mailto:tjhukkan@fishpool.fi>
List-post: <mailto:mint@lists.fishpool.fi>
X-Virus-Scanned: by amavisd-new at relay.boerde.de
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de
X-Spam-Status: No, hits=3.6 tagged_above=-50.5 required=7.0 tests=AWL,
 BAYES_00, RCVD_IN_DSBL, RCVD_IN_SORBS
X-Spam-Level: ***
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by wh58-508.st.uni-magdeburg.de id k2EMgf76015263

Le Tue, 14 Mar 2006 22:40:21 +0100
"olivier.landemarre@utbm.fr" <Olivier.Landemarre@utbm.fr> a écrit:

> What are possible reasons that a software stay in U:/kern after it
> done a Pterm() in U:/proc of course this process is deleted.

Maybe because the program that ran it (its parent process) has not read
its return value. This is the most known cause for zombie programs under
Unix systems. If you have one, see 'man wait' and 'man waitpid'. Related
MiNT functions are Pwait(), Pwait3() and Pwaitpid().

-- 
Patrice Mandin
WWW: http://pmandin.atari.org/
Programmeur Linux, Atari
Spécialité: Développement, jeux


