[Xapian-discuss] "Error reading block xxx: got end of file"

Eric Ridge ebr@tcdi.com
Tue, 11 May 2004 13:37:48 -0400


Xapian (0.7.5) is spitting out this error on a regular basis:

org.xapian.errors.DatabaseError: Error reading block 136618: got end of=20=

file
  =A0=A0=A0=A0=A0=A0=A0 at=20
org.xapian.XapianJNI.writabledatabase_repalce_document(Native Method)
  =A0=A0=A0=A0=A0=A0=A0 at=20
org.xapian.WritableDatabase.replaceDocument(WritableDatabase.java:67)

I don't have a gdb backtrace, only the Java stacktrace.  :(

What would cause this "got end of file" error?  The system on which=20
this is running is currently running in "single user mode".  Our fti=20
stuff is threaded, but we only have 1 writer thread (b/c Quartz doesn't=20=

support multiple writers), so I feel pretty good about this not being a=20=

concurrency issue of some kind.

I'd provide more details, but I'm not exactly sure what is relevant.

eric