Date: Fri, 10 Sep 2004 11:37:33 -0600 From: "Elliot Finley" <lists@efinley.com> To: "Jun Kuriyama" <kuriyama@imgsrc.co.jp>, <freebsd-current@freebsd.org> Subject: Re: Beta3 core dump Message-ID: <072201c4975c$db5bfa00$32cba1cd@science1> References: <06c601c4973a$1d1c5570$32cba1cd@science1> <7m8ybip6qm.wl@black.imgsrc.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
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? ----- Original Message ----- From: "Jun Kuriyama" <kuriyama@imgsrc.co.jp> To: <freebsd-current@freebsd.org> Sent: Friday, September 10, 2004 7:56 AM Subject: Re: Beta3 core dump > At Fri, 10 Sep 2004 07:28:52 -0600, > Elliot Finley wrote: > > with a fresh ports cvsup, after rebuilding INDEX. If I do a 'portsdb -fu', > > I get a core dump. This is consistent. It happens every time, in the same > > place. > > > > [Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 11736 port > > entries found > > ........1000.........2000.........3000.........4000.........5000.........60 > > 00.........7000.........8000..../usr/local/lib/ruby/site_ruby/1.8/portsdb.rb > > :587: [BUG] Bus Error > > ruby 1.8.2 (2004-07-29) [i386-freebsd5] > > > > Abort (core dumped) > > Could you please trying with this patch? > > > Index: lib/libc/db/btree/bt_split.c > =================================================================== > RCS file: /home/ncvs/src/lib/libc/db/btree/bt_split.c,v > retrieving revision 1.5 > diff -u -r1.5 bt_split.c > --- lib/libc/db/btree/bt_split.c 16 Feb 2003 17:29:09 -0000 1.5 > +++ lib/libc/db/btree/bt_split.c 10 Sep 2004 13:52:38 -0000 > @@ -361,6 +361,8 @@ > r->nextpg = h->nextpg; > r->prevpg = h->pgno; > r->flags = h->flags & P_TYPE; > + /* XXX: Workaround for broken page data access. */ > + r->linp[0] = 0xffff; > > /* > * If we're splitting the last page on a level because we're appending > > > -- > Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc. > <kuriyama@FreeBSD.org> // FreeBSD Project > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?072201c4975c$db5bfa00$32cba1cd>