Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Sep 2002 23:20:11 -0400 (EDT)
From:      John Bleichert <syborg@stny.rr.com>
To:        =?ISO-8859-15?B?U/hyZW4gTmVpZ2FhcmQ=?= <neigaard@e-box.dk>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Bus error (core dumped) when running pkg_add
Message-ID:  <Pine.LNX.4.44.0209272312050.4809-100000@janeway.vonbek.dhs.org>
In-Reply-To: <121920375.20020927194457@e-box.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 27 Sep 2002, Søren Neigaard wrote:

> Date: Fri, 27 Sep 2002 19:44:57 +0200
> From: Søren Neigaard <neigaard@e-box.dk>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0209272312050.4809-100000>