Re: dpkg 1.8.1.2 gives SIGBUS on sparc
On Fri, Jan 12, 2001 at 08:39:49PM +0100, Tomas Berndtsson wrote:
> Ben Collins <bcollins@debian.org> writes:
>
> > Ok, I've narrowed down the offending code to this 40k patch. Note, it
> > has nothing to do with the zlib using code, since I already tried
> > compiling --without-zlib, and it still gives a sigbus. If I take this
> > patch and do a -R with it on a 1.8.0 tree, and compile, I get no sigbus.
> > I've spent way too much time messing with this already, so I'm turning
> > it over to someone (doogie?) else to work with.
>
> I couldn't find the error, but I found the exact place where it gets
> the Bus error. In the file main/processarc.c, function
> process_archive(), where it looks like this (the fprintf's are mine):
Adam and I already found the error. He modifed a union in nfmalloc.c
(oddly enough called maxalign), that through it off kilter. I want to
see if I can fix the problem, and still retain his change (it was part
of a memory savings patch).
Ben
--
-----------=======-=-======-=========-----------=====------------=-=------
/ Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \
` bcollins@debian.org -- bcollins@openldap.org -- bcollins@linux.com '
`---=========------=======-------------=-=-----=-===-======-------=--=---'
Reply to: