From owner-freebsd-arch@FreeBSD.ORG Fri Sep 3 05:06:19 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB70D16A4CE for ; Fri, 3 Sep 2004 05:06:19 +0000 (GMT) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [210.226.20.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A3CB43D6D for ; Fri, 3 Sep 2004 05:06:19 +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 CEF7750B5D for ; Fri, 3 Sep 2004 14:06:17 +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 4771E50B78 for ; Fri, 3 Sep 2004 14:06:16 +0900 (JST) Date: Fri, 03 Sep 2004 14:06:16 +0900 Message-ID: <7m3c20x7p3.wl@black.imgsrc.co.jp> From: Jun Kuriyama To: arch@FreeBSD.org 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: abort(3) in libc/db/btree/bt_split.c X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Sep 2004 05:06:19 -0000 I found there are abort(3)s in bt_split.c (found by ruby18/portupgrade dumping core). It seems flags in data structure which ruby uses are corrupted, but abort(3) is not helpful for usual users. So I think __bt_split() (and other functions in this file) should return RET_ERROR, or write a dying message before abort(3). I'd like to try to code returing RET_ERROR (with internal tree cleanup) if that is the way to go. -- Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project