Date: Thu, 2 Jul 2009 20:28:43 -0300 From: "Carlos A. M. dos Santos" <unixmania@gmail.com> To: Sagara Wijetunga <sagara@tomahawk.com.sg> Cc: Roland Smith <rsmith@xs4all.nl>, freebsd-stable@freebsd.org Subject: Re: FreeBSD child process die for root Message-ID: <e71790db0907021628k19f9ebxcc89f94d56a903cd@mail.gmail.com> In-Reply-To: <20090702041707.19651.qmail@us1.tomahawkonline.net> References: <20090701070409.7740.qmail@us1.tomahawkonline.net> <20090701174930.GC37269@slackbox.xs4all.nl> <20090702012352.17934.qmail@us1.tomahawkonline.net> <20090702062738.GA58158@slackbox.xs4all.nl> <20090702041707.19651.qmail@us1.tomahawkonline.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 2, 2009 at 1:17 AM, Sagara Wijetunga<sagara@tomahawk.com.sg> wrote: > Roland Smith writes: >> It could be a hardware problem. Signal 11 can be a sign of bad memory. >> Can you reproduce the problem on multiple machines? > > I have taken the hard disk out and fixed on different machines, the symptoms > are still the same. So it may not be a hardware error. > Regards > Sagara Try to *rebuild* the system on another machine. Signal 11 is usually associated to bad hardware (RAM) so if you build FreeBSD on faulty hardware the resulting program may be broken. Try to debug the "login" program: (become root) # cd /usr/src/usr.bin/login # make clean # make CFLAGS=-g # gdb /usr/obj/usr/src/usr.bin/login/login (supposing that "sagara" is your user name) #run sagara (fill-in the password name, if requested) If the signal 11 is caught, issue "bt" command in gcc. It will show you where the break happened. -- My preferred quotation of Robert Louis Stevenson is "You cannot make an omelette without breaking eggs". Not because I like the omelettes, but because I like the sound of eggs being broken.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e71790db0907021628k19f9ebxcc89f94d56a903cd>