Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2002 22:11:31 +0100
From:      Bernd Walter <ticso@cicely8.cicely.de>
To:        Wilko Bulte <wkb@freebie.xs4all.nl>
Cc:        Andrew Gallatin <gallatin@cs.duke.edu>, Volker Stolz <stolz@hyperion.informatik.rwth-aachen.de>, freebsd-alpha@FreeBSD.ORG
Subject:   Re: alpha/34232: rpc.statd throws alignment errors
Message-ID:  <20020124221130.T75106@cicely8.cicely.de>
In-Reply-To: <20020124215736.A8953@freebie.xs4all.nl>
References:  <202201241710.20OHA8r00644@varphi.ikea.net> <15440.21386.540347.636057@grasshopper.cs.duke.edu> <20020124201845.A12480@i2.informatik.rwth-aachen.de> <15440.25178.498060.252753@grasshopper.cs.duke.edu> <20020124212215.A12504@i2.informatik.rwth-aachen.de> <15440.28287.114851.338325@grasshopper.cs.duke.edu> <20020124214007.B12504@i2.informatik.rwth-aachen.de> <15440.29647.830389.441847@grasshopper.cs.duke.edu> <20020124215736.A8953@freebie.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 24, 2002 at 09:57:36PM +0100, Wilko Bulte wrote:
> On Thu, Jan 24, 2002 at 03:51:27PM -0500, Andrew Gallatin wrote:
> > Volker Stolz writes:
> >  > Am 24. Jan 2002 um 21:28 MET schrieb Andrew Gallatin:
> >  > > Volker Stolz writes:
> >  > >  > bash$ gdb -c rpc.statd.core ./rpc.statd
> >  > >  > This GDB was configured as "alpha-unknown-freebsd"...
> >  > >  > Core was generated by `rpc.statd'.
> >  > >  > Program terminated with signal 10, Bus error.
> >  > >  > Reading symbols from /usr/lib/librpcsvc.so.2...done.
> >  > >  > Reading symbols from /usr/lib/libc.so.4...done.
> >  > >  > Reading symbols from /usr/libexec/ld-elf.so.1...done.
> >  > >  > #0  0x1600bdf24 in get_myaddress () from /usr/lib/libc.so.4
> >  > >  > (gdb)
> >  > > 
> >  > > Closer.  Now type "where" to get a stack trace.
> >  > 
> >  > Nothing new:
> >  > (gdb) where
> >  > #0  0x1600bdf24 in get_myaddress () from /usr/lib/libc.so.4
> >  > warning: Hit heuristic-fence-post without finding
> >  > warning: enclosing function for address 0x100000000
> >  > ...
> > 
> > F*cking gdb is broken.  Oh well..  You could try linking it
> > statically.
> > 
> > What kind of a amcihine do you have?  I'm wondering if this is a gcc
> > bug.   Eg, if you have an ev56 or better & you rebuild libc with
> 
> That was also the theory on the ifconfig alignment errors.

The ifconfig thing is simply a programming error when transfering
structures over sysctl.
I already stated to provide a fix over the weekend.
If I'm guessing right that get_myaddress() also reads the interface
list this might have the same reason.

-- 
B.Walter              COSMO-Project         http://www.cosmo-project.de
ticso@cicely.de         Usergroup           info@cosmo-project.de


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020124221130.T75106>