From owner-freebsd-current@FreeBSD.ORG Fri Sep 10 13:56:53 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 5A24916A4CE for ; Fri, 10 Sep 2004 13:56:53 +0000 (GMT) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [210.226.20.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94F3743D39 for ; Fri, 10 Sep 2004 13:56:52 +0000 (GMT) (envelope-from kuriyama@imgsrc.co.jp) Received: from localhost (localhost [127.0.0.1]) by black.imgsrc.co.jp (Postfix) with ESMTP id 4C8D150C29 for ; Fri, 10 Sep 2004 22:56:51 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [IPv6:2001:218:422:2::9999]) by black.imgsrc.co.jp (Postfix) with ESMTP id 1EFCA50C27 for ; Fri, 10 Sep 2004 22:56:49 +0900 (JST) Date: Fri, 10 Sep 2004 22:56:49 +0900 Message-ID: <7m8ybip6qm.wl@black.imgsrc.co.jp> From: Jun Kuriyama To: In-Reply-To: <06c601c4973a$1d1c5570$32cba1cd@science1> References: <06c601c4973a$1d1c5570$32cba1cd@science1> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd 0.1 Subject: Re: Beta3 core dump X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2004 13:56:53 -0000 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 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 // IMG SRC, Inc. // FreeBSD Project