From owner-freebsd-questions Tue Mar 28 12:12:50 2000 Delivered-To: freebsd-questions@freebsd.org Received: from peedub.muc.de (peedub.muc.de [193.149.49.109]) by hub.freebsd.org (Postfix) with ESMTP id 38A5437B62E for ; Tue, 28 Mar 2000 12:12:42 -0800 (PST) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.9.3/8.6.9) with ESMTP id WAA54802; Tue, 28 Mar 2000 22:10:00 +0200 (CEST) Message-Id: <200003282010.WAA54802@peedub.muc.de> X-Mailer: exmh version 2.1.0 09/18/1999 To: Zhibing Wang Cc: freebsd-questions@FreeBSD.ORG Subject: Re: exited on signal 11 Reply-To: Gary Jennejohn In-reply-to: Your message of "Tue, 28 Mar 2000 10:31:15 -0800." <20000328183115.9600.qmail@web118.yahoomail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 28 Mar 2000 22:10:00 +0200 From: Gary Jennejohn Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Zhibing Wang writes: >hi : > I am writing a c program on Freebsd. > Every time the child process exit, I get a >message: >/kernel: pid xxx (process name), uid 0: exited on >signal 11(core dumped) . > The child process is terminated with "exit(0); ". > What's the problem? There's a bug in your program. It's not doing exit(0), it's dying beforehand. Try compiling it with -g and using gdb to figure out where your error is. --- Gary Jennejohn / garyj@muc.de garyj@fkr.cpqcorp.net gj@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message