Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#212 Reproducible crash indexing emails

open
nobody
core (32)
5
2012-11-15
2012-11-15
Dave Abrahams
No

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 :-/.

Discussion