Re: Beta3 core dump

From: Elliot Finley <lists_at_efinley.com>
Date: Sat, 11 Sep 2004 09:19:35 -0600
I made the memset change.  It still core dumps.

Just so you're clear on what I'm doing.  I made the code change, then in
/usr/src/lib/libc I do a 'make' then a 'make install', then I do a
'portsdb -fu'.

Elliot

----- Original Message ----- 
From: "Jun Kuriyama" <kuriyama_at_imgsrc.co.jp>
To: "Elliot Finley" <lists_at_efinley.com>
Cc: <freebsd-current_at_freebsd.org>
Sent: Friday, September 10, 2004 10:44 PM
Subject: Re: Beta3 core dump


> At Fri, 10 Sep 2004 11:37:33 -0600,
> Elliot Finley wrote:
> > I made the change, then I did a 'make && make install' in
/usr/src/lib/libc.
> > It still core dumps.  Is there anything else I need to do to put this
change
> > into effect?
>
> Sorry, previous post is ambiguous (memset() should be appeared
> earlier).  Complete lines are:
>
> -----
> /* Put the new right page for the split into place. */
> if ((r = __bt_new(t, &npg)) == NULL)
> return (NULL);
> /* XXX: Workaround for broken page data. */
> memset(r, 0xff, t->bt_psize);
> r->pgno = npg;
> r->lower = BTDATAOFF;
> r->upper = t->bt_psize;
> r->nextpg = h->nextpg;
> r->prevpg = h->pgno;
> r->flags = h->flags & P_TYPE;
> -----
>
>
> -- 
> Jun Kuriyama <kuriyama_at_imgsrc.co.jp> // IMG SRC, Inc.
>              <kuriyama_at_FreeBSD.org> // FreeBSD Project
Received on Sat Sep 11 2004 - 13:19:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:11 UTC