Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2000 22:10:00 +0200
From:      Gary Jennejohn <garyj@peedub.muc.de>
To:        Zhibing Wang <wang_zb@yahoo.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: exited on signal 11 
Message-ID:  <200003282010.WAA54802@peedub.muc.de>
In-Reply-To: Your message of "Tue, 28 Mar 2000 10:31:15 -0800." <20000328183115.9600.qmail@web118.yahoomail.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003282010.WAA54802>