Subject: Re: Bus error with package utils
To: VaX#n8 <vax@ccwf.cc.utexas.edu>
From: Peter Galbavy <peter@wonderland.org>
List: current-users
Date: 07/07/1995 09:59:21
> I've been porting pkg_add & friends to -current and I'm getting (from gdb's
> backtrace) when doing "./pkg_add" by itself....:
> Program terminated with signal 10, Bus error.
> #0 0x1000974e in end ()
> Cannot access memory at address 0x8000.

Hmm. I am just having similar problems with gated:

	gdb /usr/sbin/gated *core
	GDB is free software and you are welcome to distribute copies of it
	 under certain conditions; type "show copying" to see the conditions.
	There is absolutely no warranty for GDB; type "show warranty" for details.
	GDB 4.11 (i386-netbsd), Copyright 1993 Free Software Foundation, Inc...
	(no debugging symbols found)...
	Core was generated by `gated'.
	Program terminated with signal 11, Segmentation fault.
	#0  0xfcd9 in ?? ()
	(gdb) bt
	#0  0xfcd9 in ?? ()
	Cannot access memory at address 0x0.
	(gdb) 

> Am I doing something stupid?
> Does it have anything to do with the va_args stuff?

Me too...

This is only -current from 950601 though.

Regards,
-- 
Peter Galbavy                                           peter@wonderland.org
@ Home                                                 phone://44/973/499465
in Wonderland                              http://www.wonderland.org/~peter/
                               snail://UK/NW1_6LE/London/21_Harewood_Avenue/