Re: FreeBSD child process die for root [SOLVED]

2009-07-04 Thread Sagara Wijetunga
Dear all The issue was solved. It was a our side mistake. On a modification we made to libutils, we execute following line without checking whether the group is empty or not. In our case, it was empty, therefore, crashes: running = strdup(*(grp->gr_mem)); So that now login, su

Re: FreeBSD child process die for root

2009-07-03 Thread Sagara Wijetunga
Roland Smith writes: Is there anything else from su in the logfiles? That might help narrow down where it crashes. No, other than the same “uid 0: exited on signal 11” for login, su and cron. What we see is after the fork, child process run for some time and crashes. Are you using the

Re: FreeBSD child process die for root

2009-07-03 Thread Sagara Wijetunga
Carlos A. M. dos Santos writes: 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 signa

Re: FreeBSD child process die for root

2009-07-02 Thread Carlos A. M. dos Santos
On Thu, Jul 2, 2009 at 1:17 AM, Sagara Wijetunga 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 stil

Re: FreeBSD child process die for root

2009-07-02 Thread Roland Smith
On Wed, Jul 01, 2009 at 11:17:07PM -0500, Sagara Wijetunga wrote: > Roland Smith writes: > > >> > >> I have tested with bash, sh and csh. It seems the child process forked > >> simply die irrespective of the shell. > > > > Ok, so it's probably not a shell problem > > > >> There is no chang

Re: FreeBSD child process die for root

2009-07-02 Thread Sagara Wijetunga
Roland Smith writes: I have tested with bash, sh and csh. It seems the child process forked simply die irrespective of the shell. Ok, so it's probably not a shell problem There is no change in the dot files for root: [r...@tds sagara]# diff /root/.cshrc /usr/src/etc/root/dot.cshrc [r...

Re: FreeBSD child process die for root

2009-07-01 Thread Roland Smith
On Wed, Jul 01, 2009 at 08:23:52PM -0500, Sagara Wijetunga wrote: > Roland Smith writes: > > > On Wed, Jul 01, 2009 at 02:04:09AM -0500, Sagara Wijetunga wrote: > >> Hi > >> > >> I'm Sagara Wijetunga from Tomahawk Computers from Singapore, makers of the > >> Tomahawk Desktop, a FreeBSD based

Re: FreeBSD child process die for root

2009-07-01 Thread Sagara Wijetunga
Roland Smith writes: On Wed, Jul 01, 2009 at 02:04:09AM -0500, Sagara Wijetunga wrote: Hi I'm Sagara Wijetunga from Tomahawk Computers from Singapore, makers of the Tomahawk Desktop, a FreeBSD based desktop operating system (http://www.tomahawkcomputers.com/) which is free for personal use.

Re: FreeBSD child process die for root

2009-07-01 Thread Roland Smith
On Wed, Jul 01, 2009 at 02:04:09AM -0500, Sagara Wijetunga wrote: > Hi > > I'm Sagara Wijetunga from Tomahawk Computers from Singapore, makers of the > Tomahawk Desktop, a FreeBSD based desktop operating system > (http://www.tomahawkcomputers.com/) which is free for personal use. > > Ever sin

FreeBSD child process die for root

2009-07-01 Thread Sagara Wijetunga
Hi I'm Sagara Wijetunga from Tomahawk Computers from Singapore, makers of the Tomahawk Desktop, a FreeBSD based desktop operating system (http://www.tomahawkcomputers.com/) which is free for personal use. Ever since we upgraded our Tomahawk Core OS to the FreeBSD 7.2 sources, we experienced