Date: Fri, 03 Sep 2004 14:06:16 +0900 From: Jun Kuriyama <kuriyama@imgsrc.co.jp> To: arch@FreeBSD.org Subject: abort(3) in libc/db/btree/bt_split.c Message-ID: <7m3c20x7p3.wl@black.imgsrc.co.jp>
next in thread | raw e-mail | index | archive | help
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 <kuriyama@imgsrc.co.jp> // IMG SRC, Inc. <kuriyama@FreeBSD.org> // FreeBSD Project
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7m3c20x7p3.wl>