lucy fails with a core dump (assertation failure) if a
document is added via index_add that has incorrect
length (the amount of data read and the len parameter
don't match) at this line:
assert(idx->repos_pos ==
ftell(idx->repos_files[idx->repos - 1]));
(currently src/index_update.c:613)