From owner-freebsd-questions@FreeBSD.ORG Wed Jun 25 15:46:37 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 D6C9837B401 for ; Wed, 25 Jun 2003 15:46:37 -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 1FCBD43FDF for ; Wed, 25 Jun 2003 15:46:37 -0700 (PDT) (envelope-from oremanj@adsl-64-161-78-226.dsl.lsan03.pacbell.net) Received: (qmail 27086 invoked by uid 1001); 25 Jun 2003 22:49:19 -0000 Date: Wed, 25 Jun 2003 15:49:19 -0700 From: Joshua Oreman To: "David S. Jackson" Message-ID: <20030625224919.GA27041@webserver.get-linux.org> References: <20030625214930.GA28991@sylvester.dsj.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030625214930.GA28991@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: Wed, 25 Jun 2003 22:46:38 -0000 On Wed, Jun 25, 2003 at 05:49:30PM -0400 or thereabouts, David S. Jackson wrote: > Joshua Oreman suggested I try "bt" while in gdb looking at the > core files. The output from that command was: > > for vim.core: > > #0 0x2815a26b in memset () from /usr/libexec/ld-elf.so.1 > Cannot access memory at address 0xbfbfe6e0. > > 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 :-) > > There is no /etc/malloc.conf file. Should there be? It's okay the way it is. -- Josh > > [Sorry about not including the post--I had to get this off the > archives, since I tried Earthlink's Spaminator, and it deleted > everything from freebsd.org.... Oops.] > > -- > David S. Jackson dsj@dsj.net > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > I was in Vegas last week. I was at the roulette table, > having a lengthy argument about what I considered an > Odd number. -- Steven Wright