Ok, there is a bad entry in the "Basename" index database. The header part is correct, but the offset part is too high (31487 instead of something around 4850). A rebuilddb fixes this, unfortunately, so it's completely unclear what caused that bad entry.