From owner-freebsd-questions Fri Sep 27 20:20:34 2002 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 A9AF037B401 for ; Fri, 27 Sep 2002 20:20:32 -0700 (PDT) Received: from janeway.vonbek.dhs.org (bgm-24-94-58-56.stny.rr.com [24.94.58.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id D708C43E65 for ; Fri, 27 Sep 2002 20:20:31 -0700 (PDT) (envelope-from syborg@stny.rr.com) Received: by janeway.vonbek.dhs.org (Postfix, from userid 507) id 0FEC64FC98; Fri, 27 Sep 2002 23:20:11 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by janeway.vonbek.dhs.org (Postfix) with ESMTP id 0AB3A4A0D; Fri, 27 Sep 2002 23:20:11 -0400 (EDT) Date: Fri, 27 Sep 2002 23:20:11 -0400 (EDT) From: John Bleichert X-X-Sender: syborg@janeway.vonbek.dhs.org Reply-To: John Bleichert To: =?ISO-8859-15?B?U/hyZW4gTmVpZ2FhcmQ=?= Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Bus error (core dumped) when running pkg_add In-Reply-To: <121920375.20020927194457@e-box.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-15 Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 27 Sep 2002, Søren Neigaard wrote: > Date: Fri, 27 Sep 2002 19:44:57 +0200 > From: Søren Neigaard > To: freebsd-questions@FreeBSD.ORG > Subject: Bus error (core dumped) when running pkg_add > > If I try to run pkg_add on either a tbz file, tgz file or without > specifying any file, it core dumps. Here is the message: > > Bus error (core dumped) > Sep 27 21:41:06 neigaard /kernel: pid 110 (pkg_add), uid 0: exited on > signal 10 > (core dumped) > > What is this, is it a hardware error? I dont seem to have any other > problems, and I have just installed this 4.6.2 on this machine without > any problems. > > Please help, I don't know what to do. > Since no-one jumped in on this... A bus error is similar to a segfault, I believe. It means an app tried to access some memory outside it's accessible range or tried to access an array element outside the array's dimensions - something of that sort. I believe a 'bus' error means accessing a stack frame not owned by the app, or a bad access inside an owned stack frame? The pkg_* tools are pretty widely used and tested. This being the case I'd guess this may be a hardware error, possibly bad RAM? This is speculation at best. Possibly re-compile pkg_add with debug support and run it in a debugger or try some different memory? Which FBSD version are you runnnig? Arent there issues with the pkg_* tools and the tbz/tgz file types at the moment? Dunno, maybe you found a bug ? ;-) Good luck! JB # John Bleichert # http://vonbek.dhs.org/latest.jpg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message