From owner-freebsd-questions Tue Mar 28 12:50:47 2000 Delivered-To: freebsd-questions@freebsd.org Received: from www.cyfari.com (www.cyfari.com [63.70.68.50]) by hub.freebsd.org (Postfix) with SMTP id CE23837BDD6 for ; Tue, 28 Mar 2000 12:50:44 -0800 (PST) (envelope-from naief@cyfari.com) Received: (qmail 94617 invoked from network); 28 Mar 2000 20:53:15 -0000 Received: from unknown (HELO naief.cyfari.com) (208.193.65.11) by www.cyfari.com with SMTP; 28 Mar 2000 20:53:15 -0000 Date: Tue, 28 Mar 2000 15:49:08 -0500 From: Naief BinTalal To: Zhibing Wang Cc: freebsd-questions@FreeBSD.ORG Subject: Re: exited on signal 11 Message-ID: <20000328154908.A65559@cyfari.com> References: <20000328183115.9600.qmail@web118.yahoomail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000328183115.9600.qmail@web118.yahoomail.com>; from wang_zb@yahoo.com on Tue, Mar 28, 2000 at 10:31:15AM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 28, 2000 at 10:31:15AM -0800, Zhibing Wang wrote: > 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? > Thank you for your attention. Your program is crashing. signal 11 is SIGSEGV (Segmentation Violation). Attach to the child with gdb and trace the process to see where it is crashing, and fix it ;> HTH Cheers -- ------------------------------------------------------- Naief BinTalal | naief@cyfari.com Engineering | http://www.cyfari.com/ ------------------------------------------------------- "A rock pile ceases to be a rock pile the moment a single man contemplates it, bearing within him the image of a cathedral" -- Antoine de Saint-Exupery ------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message