From owner-freebsd-current@FreeBSD.ORG Sat Sep 11 15:19:37 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F9B016A4CE for ; Sat, 11 Sep 2004 15:19:37 +0000 (GMT) Received: from thunderbird.etv.net (thunderbird.etv.net [208.14.190.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id D380943D4C for ; Sat, 11 Sep 2004 15:19:36 +0000 (GMT) (envelope-from lists@efinley.com) Received: from [205.161.203.50] (helo=science1) by thunderbird.etv.net with smtp (Exim 4.34 (FreeBSD)) id 1C69f6-000Jkn-2J; Sat, 11 Sep 2004 09:19:36 -0600 Message-ID: <07bb01c49812$bf4463a0$32cba1cd@science1> From: "Elliot Finley" To: "Jun Kuriyama" References: <06c601c4973a$1d1c5570$32cba1cd@science1><7m8ybip6qm.wl@black.imgsrc.co.jp><072201c4975c$db5bfa00$32cba1cd@science1> <7mzn3xo1mj.wl@black.imgsrc.co.jp> Date: Sat, 11 Sep 2004 09:19:35 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 cc: freebsd-current@freebsd.org Subject: Re: Beta3 core dump X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Elliot Finley List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Sep 2004 15:19:37 -0000 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" To: "Elliot Finley" Cc: 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 // IMG SRC, Inc. > // FreeBSD Project