Date: Sun, 27 Jun 1999 22:11:24 +0800 From: Peter Wemm <peter@netplex.com.au> To: Doug Rabson <dfr@nlsystems.com> Cc: alpha@freebsd.org Subject: Re: Hmm!! Message-ID: <19990627141124.710CA81@overcee.netplex.com.au> In-Reply-To: Your message of "Sun, 27 Jun 1999 15:00:49 %2B0100." <Pine.BSF.4.05.9906271459160.80685-100000@herring.nlsystems.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Doug Rabson wrote: > On Sun, 27 Jun 1999, Peter Wemm wrote: [..] > > Anybody got any bright ideas about this? (apart from run the memory tester > > in SRM that is..) > > Maybe the kernel doesn't fit in its memory region? You could try enabling > the debug printfs in alpha_init() where it reads the memory cluster > information. Another datapoint: # /bin/cat Jun 27 22:01:19 ashburton /kernel: pid 23490 (cat), uid 0: exited on signal 11 (core dumped) Segmentation fault - core dumped # /bin/cat foo foo # The interesting thing is that according to the coredumps, it consistantly appears to die in the first getenv() inside setlocale() when walking the environ list. It's being a damn nuisance to check because the slightest change makes it work.. ie: under truss or ktrace, gdb, etc, it works fine. Multiple different cat binaries all do this - including one I compiled with -g - but they only misbehave under /bin/sh. Something funny about the environment passing perhaps? This is on the small kernel BTW, so the size of the kernel seems to affect things, but not eliminate the problems. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990627141124.710CA81>