From owner-freebsd-questions@FreeBSD.ORG Mon Jun 23 11:10:27 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C73637B41A for ; Mon, 23 Jun 2003 11:10:26 -0700 (PDT) Received: from adsl-64-161-78-226.dsl.lsan03.pacbell.net (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 6122143FEC for ; Mon, 23 Jun 2003 11:10:25 -0700 (PDT) (envelope-from oremanj@adsl-64-161-78-226.dsl.lsan03.pacbell.net) Received: (qmail 7124 invoked by uid 1001); 23 Jun 2003 18:13:05 -0000 Date: Mon, 23 Jun 2003 11:13:05 -0700 From: Joshua Oreman To: "David S. Jackson" Message-ID: <20030623181305.GA7088@webserver.get-linux.org> References: <20030623172439.GA11171@sylvester.dsj.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030623172439.GA11171@sylvester.dsj.net> User-Agent: Mutt/1.4.1i cc: questions@freebsd.org Subject: Re: bus error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2003 18:10:28 -0000 On Mon, Jun 23, 2003 at 01:24:39PM -0400 or thereabouts, David S. Jackson seemed to write: > > I'm afraid I'm getting a nasty error when I try to do some very > fundamental things. Not sure what's back of all the problems. > > For example when I try to start vim or even xinit, I get: > > Jun 23 12:00:12 juno /kernel: pid 2700 (vim), uid 0: exited on signal 10 > > > (I happened to be root at the time, but same applies to any user.) > > > When I try to startx, I get: > > Bus error > > uname -a shows: FreeBSD juno.dsj.net 4.5-STABLE FreeBSD > 4.5-STABLE #7: Sun Apr 28 15:23:53 EDT 2002: > root@juno.dsj.net:/usr/src/sys/compile/JUNO i386 > > I do find .core files for proggies I cannot start, though. I went gdb vim vim.core and got the following: > > ***snip*** > (no debugging symbols found) > Core was generated by 'vim'. > Program terminated with signal 10, Bus error. > Reading symbo9ls from /usr/X11R6/lib/libgtk12.so.2... > (no debugging symbols found)...done > Reading symbols from /usr/X11R6/lib/libgdk12.so.2... > (no debugging symbols found)...done > Reading symbols from /usr/X11R6/lib/libgmodule12.so.3... > (no debugging symbols found)...done > Reading symbols from /usr/X11R6/lib/libglib12.so.3... > (no debugging symbols found)...done > Reading symbols from /usr/local/lib/compat/pkg/libintl.so.2... > (no debugging symbols found)...done > Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...done > #0 0x2815a26b in memset () from /usr/libexec/ld-elf.so.1 > (gdb) Type 'bt', press enter. > > ***snip*** > > Here's the same thing for xinit.core > > ***snip*** > This GDB was configured as "i386-unknown-freebsd"... > (no debugging symbols found)... > Core was generated by 'xinit'. > Program terminated with signal 10, Bus error. > Reading symbols from /usr/X11R6/lib/libXmu.so.6... > (no debugging symbols found)... > Reading symbols from /usr/X11R6/lib/libXt.so.6... > (no debugging symbols found)... > Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...done > #0 0x2805826b in memset () from /usr/libexec/ld-elf.so.1 > (gdb) Type 'bt', press enter. > > ***snip*** > > > Mind you, I typed this while looking at the screen of the other > box. Hope I got it correctly. > > Any idea what is back of this? Just clutching at straws here... What does ls -l /etc/malloc.conf say? > > Does it look like some file corruption to ld-elf.so.1? How the > heck do I fix that if so? I tried to remake a kernel a while back > and couldn't even complete that process. (sniff, sniff) > > What type of stuff uses ld-elf.so.1 anyway? Everything? Everything in /usr/local/[s]bin, most things in /usr/bin. -- Josh > > TIA. > > -- > David S. Jackson dsj@dsj.net > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > I never forget a face, but in your case I'll make > an exception. > -- Groucho Marx > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"