Beta3 core dump

Elliot Finley lists at efinley.com
Sat Sep 11 08:19:37 PDT 2004


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



More information about the freebsd-current mailing list