From owner-freebsd-questions@FreeBSD.ORG Thu Jun 26 12:09:46 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 1215937B401 for ; Thu, 26 Jun 2003 12:09:46 -0700 (PDT) Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6460143F3F for ; Thu, 26 Jun 2003 12:09:45 -0700 (PDT) (envelope-from deepbsd@earthlink.net) Received: from user-119a2km.biz.mindspring.com ([66.149.10.150] helo=sylvester.dsj.net) by swan.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 19Vc7j-0003WG-00; Thu, 26 Jun 2003 12:09:36 -0700 Received: from sylvester.dsj.net (dsj@localhost [127.0.0.1]) h5QJ9YWd005578; Thu, 26 Jun 2003 15:09:34 -0400 Received: (from dsj@localhost) by sylvester.dsj.net (8.12.3/8.12.3/Debian-5) id h5QJ9QnN005577; Thu, 26 Jun 2003 15:09:26 -0400 X-Authentication-Warning: sylvester.dsj.net: dsj set sender to deepbsd@earthlink.net using -f Date: Thu, 26 Jun 2003 15:09:24 -0400 From: "David S. Jackson" To: "David S. Jackson" Message-ID: <20030626190924.GB3677@sylvester.dsj.net> References: <20030625214930.GA28991@sylvester.dsj.net> <20030625224919.GA27041@webserver.get-linux.org> <20030626184139.GA3677@sylvester.dsj.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030626184139.GA3677@sylvester.dsj.net> User-Agent: Mutt/1.4i cc: questions@freebsd.org cc: Joshua Oreman Subject: Resolved: Re: bus error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "David S. Jackson" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2003 19:09:46 -0000 On Thu, Jun 26, 2003 at 02:41:40PM -0400 David S. Jackson wrote: > On Wed, Jun 25, 2003 at 03:49:19PM -0700 Joshua Oreman 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/-/), 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///work/-/). > > 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@dsj.net =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Comedy, like Medicine, was never meant to be practiced by the general public.