Beta3 core dump

Jun Kuriyama kuriyama at imgsrc.co.jp
Fri Sep 10 21:44:55 PDT 2004


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


More information about the freebsd-current mailing list