Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jun 2003 11:13:05 -0700
From:      Joshua Oreman <oremanj@webserver.get-linux.org>
To:        "David S. Jackson" <deepbsd@earthlink.net>
Cc:        questions@freebsd.org
Subject:   Re: bus error
Message-ID:  <20030623181305.GA7088@webserver.get-linux.org>
In-Reply-To: <20030623172439.GA11171@sylvester.dsj.net>
References:  <20030623172439.GA11171@sylvester.dsj.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 &quot;i386-unknown-freebsd&quot;...
> (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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030623181305.GA7088>