When I use dovecot with clucene and libstemmer, and "doveadm index" my huge mail archive, I get this:
doveadm(dave): Error: lucene index /Users/dave/Library/Data/LocalIMAP/mdbox/lucene-indexes: IndexWriter::addDocument() failed (#1): File does not exist
libc++abi.dylib: pure virtual method called
This looks like a combination of two things: failure to find a file for unknown reasons, and then code that was written depending on the file to be there.
I tried to reproduce it with a debug build of clucene (produced using MacPorts with a +debug variant selected—probably just adds -g and -O0 but I'm not sure), but of course, that build works perfectly well :-/.