Re: Beta3 core dump

From: Jun Kuriyama <kuriyama_at_imgsrc.co.jp>
Date: Sat, 11 Sep 2004 13:44:52 +0900
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 - 02:44:55 UTC

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