On Fri, 27 Sep 2002, S�ren Neigaard wrote:

> Date: Fri, 27 Sep 2002 19:44:57 +0200
> From: S�ren Neigaard <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to