Resolved: Re: bus error
David S. Jackson
deepbsd at earthlink.net
Thu Jun 26 12:09:46 PDT 2003
On Thu, Jun 26, 2003 at 02:41:40PM -0400 David S. Jackson <deepbsd at earthlink.net> wrote:
> On Wed, Jun 25, 2003 at 03:49:19PM -0700 Joshua Oreman <oremanj at www.get-linux.org> wrote:
> > > for xinit.core:
> > > #0 0x2805826b in memset () from /usr/libexec/ld-elf.so.1
> > > Cannot access memory at address 0xbfbfe6bc.
> >
> > As I feared. If you've got the developer mentality, forge ahead.
> > If not, forget about it :-)
> >
> > You have to recompile those programs with debugging flags.
> > make configure the port, take a look at the software Makefile
> > (the one in work/<portname>-<portversion>/), and look for a
> > line that starts with CFLAGS=. Add ` -g' (without the quotes, of
> > course), to the end. Run make inside the software directory
> > (/usr/ports/<category>/<port>/work/<port>-<portversion>/).
> > Take the newly produced executable (it should be either in the
> > directory you ran 'make' in, or one of the subdirectories) and
> > run it under gdb (gdb myexecutable). Type `run' at the gdb prompt.
> > When it crashes, type `bt'. Send us the output :-)
>
> Turns out make doesn't finish operating. pkg -r'ed another vim
> package,
>
> This time when I execute it:
>
> /usr/libexec/ld-elf.so.1: /usr/X11R6/lib/libXi.so.6: invalid file
> format.
>
> Strangely, this happened while in a tty, not an x window. (X
> won't start, still.)
I wound up removing the XFree86 package and rebuilding the port
from scratch. I guess I could have reinstalled the package, too.
Anyway, that worked, so far.
--
David S. Jackson dsj at dsj.net
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Comedy, like Medicine, was never meant to be practiced
by the general public.
More information about the freebsd-questions
mailing list