Using libsafe causes either the incorrect construction
of a path (ex /portage instead of
/var/lib/scrollkeeper/portage) or a segfault of the
form (from an strace):
uname({sys="Linux", node="localhost", ...}) = 0
write(2, "/usr/bin/scrollkeeper-rebuilddb:"...,
132/usr/bin/scrollkeeper-rebuilddb: line 47: 23056
Segmentation fault scrollkeeper-update $quiet
$verbose -p $scrollkeeper_db_dir
) = 132
Disabling libsafe resolves the problem, however how
libsafe is being triggered should be resolved in if
nothing else telling libsafe to not report an error if
you are in fact not doing anything "improper" with
buffer-overflow vulnerable C functions.