Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Sep 2004 13:44:52 +0900
From:      Jun Kuriyama <kuriyama@imgsrc.co.jp>
To:        "Elliot Finley" <lists@efinley.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Beta3 core dump
Message-ID:  <7mzn3xo1mj.wl@black.imgsrc.co.jp>
In-Reply-To: <072201c4975c$db5bfa00$32cba1cd@science1>
References:  <06c601c4973a$1d1c5570$32cba1cd@science1> <7m8ybip6qm.wl@black.imgsrc.co.jp> <072201c4975c$db5bfa00$32cba1cd@science1>

next in thread | previous in thread | raw e-mail | index | archive | help
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@imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama@FreeBSD.org> // FreeBSD Project



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