4.2a beta 2 Indexer Crash - Unhandled exception: The database disk image is malformed

Mark Barnes
Mark Barnes Member Posts: 15,432 ✭✭✭

99.9% sure my problem is not caused by overheating. More likely, perhaps, is that I was indexing, then paused, then because the indexing didn't seem to stop, I unpaused then paused again, then triggered a download. Almost immediately I then got this crash.

8686.Logos4Indexer.log

3225.Logos4IndexerCrash.txt

2010-12-10 00:35:27.6931    9    Info    Indexer    (Timed) Replacing lexicon 'supplemental-build' with 'index'
2010-12-10 00:35:32.7784    9    Info    Indexer    (5083ms) Replacing lexicon 'supplemental-build' with 'index'
2010-12-10 00:35:33.2574    9    Error    Program    Unhandled exception: System.Data.SQLite.SQLiteException: The database disk image is malformed
database disk image is malformed
   at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
   at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
   at System.Data.SQLite.SQLiteDataReader.NextResult()
   at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
   at Libronix.SearchEngine.SqliteTextTermLexicon..ctor(IndexParameters parameters)
   at Libronix.SearchEngine.Lexicon..ctor(IndexParameters parameters)
   at Libronix.SearchEngine.Indexer.ReplaceLexicon(FileSystemIndexInfo sourceInfo, IWorkState state)
   at Libronix.DigitalLibrary.LibraryIndex.DoBuildIndex(ILibraryIndexWorkState state, Int32 nResourceCount, String strIndexName, Int32 nIndexableResourceCount, Int32 nMaxAdditionalThreads, Boolean bShouldMerge)
   at Libronix.DigitalLibrary.LibraryIndex.BuildIndex(LibraryIndexWorkState state, String strIndexName, Int32 nIndexableResourceCount, Boolean bShouldMerge)
   at Libronix.DigitalLibrary.LibraryIndex.IndexResources(IPausableWorkState threadOwnerWorkState, LibraryIndexWorkState state)
   at Libronix.Utility.Threading.WorkStateThreadOwner`1.ThreadProc(Object objData)
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart(Object obj)
2010-12-10 00:35:44.1141    5    Info    Program    There are 0 updates downloading (out of a maximum of 4); starting a new job (from 1 queued updates).
2010-12-10 00:35:45.8252    5    Info    Program    Setting status to IndexingLibrary
2010-12-10 00:35:46.7142    9    Error    Program    Unhandled exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at Libronix.SearchEngine.Indexer.Cancel()
   at Libronix.SearchEngine.Indexer.Dispose()
   at Libronix.DigitalLibrary.LibraryIndex.DoBuildIndex(ILibraryIndexWorkState state, Int32 nResourceCount, String strIndexName, Int32 nIndexableResourceCount, Int32 nMaxAdditionalThreads, Boolean bShouldMerge)
   at Libronix.DigitalLibrary.LibraryIndex.BuildIndex(LibraryIndexWorkState state, String strIndexName, Int32 nIndexableResourceCount, Boolean bShouldMerge)
   at Libronix.DigitalLibrary.LibraryIndex.IndexResources(IPausableWorkState threadOwnerWorkState, LibraryIndexWorkState state)
   at Libronix.Utility.Threading.WorkStateThreadOwner`1.ThreadProc(Object objData)
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart(Object obj)

This is my personal Faithlife account. On 1 March 2022, I started working for Faithlife, and have a new 'official' user account. Posts on this account shouldn't be taken as official Faithlife views!

Comments

  • Dave Hooton
    Dave Hooton MVP Posts: 36,126

    Looks like the Indexer got mixed up. Just restart L4 & it should resume downloading & indexing

    Dave
    ===

    Windows 11 & Android 13

This discussion has been closed.