abort(3) in libc/db/btree/bt_split.c
Jun Kuriyama
kuriyama at imgsrc.co.jp
Thu Sep 2 22:06:19 PDT 2004
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 at imgsrc.co.jp> // IMG SRC, Inc.
<kuriyama at FreeBSD.org> // FreeBSD Project
More information about the freebsd-arch
mailing list