From owner-freebsd-alpha Sun Jun 27 7:11:30 1999 Delivered-To: freebsd-alpha@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id 1B18914D97 for ; Sun, 27 Jun 1999 07:11:25 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 710CA81; Sun, 27 Jun 1999 22:11:24 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: Doug Rabson Cc: alpha@freebsd.org Subject: Re: Hmm!! In-reply-to: Your message of "Sun, 27 Jun 1999 15:00:49 +0100." Date: Sun, 27 Jun 1999 22:11:24 +0800 From: Peter Wemm Message-Id: <19990627141124.710CA81@overcee.netplex.com.au> Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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