From owner-freebsd-current Sun Mar 3 13:01:51 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA13028 for current-outgoing; Sun, 3 Mar 1996 13:01:51 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA13021 for ; Sun, 3 Mar 1996 13:01:46 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id IAA05368; Mon, 4 Mar 1996 08:00:41 +1100 Date: Mon, 4 Mar 1996 08:00:41 +1100 From: Bruce Evans Message-Id: <199603032100.IAA05368@godzilla.zeta.org.au> To: freebsd-current@FreeBSD.ORG, xaa@xaa.stack.urc.tue.nl Subject: Re: sysctl - bus error Sender: owner-current@FreeBSD.ORG Precedence: bulk >Hmm... with my current kernel (CTM: src-cur.1544.gz) and with a 2 hour >old make world, my sysctl is giving me bus errors: ># sysctl -a >... >kern.boottime: { sec = 825874628, usec = 710000 } Bus error >Any clues how this happens??? gdb says that it occurs in localtime.so.LC2. localtime.so.LC2 is the result of running "ld -r -x" to mutilate the symbol table in localtime.so. The error actually occurs in the static function tzload(). (The label _tzload is removed because it is static and the label LC2 is renamed because there is a bug.) The error occurs in code that used to work: _tzload: pushl %ebp movl %esp,%ebp subl $0x2328,%esp # lots of local variables pushl %edi # use a stack page that was just allocated The last instruction causes a SIGBUS. Bruce