rmcrackan / Libation

Libation: Liberate your Library
GNU General Public License v3.0
2.62k stars 139 forks source link

Libation Crashing While Downloading Podcast Episodes #635

Closed lbhdan closed 1 year ago

lbhdan commented 1 year ago

Describe the bug While downloading podcast episodes, Libation has started crashing, with the message "Libation has crashed due to an unhandled error." The notice goes on to say:

Exception of type 'Lucene.Net.Index.MergePolicy+MergeException' was thrown.

at Lucene.Net.Index.ConcurrentMergeScheduler.HandleMergeException(Exception exc) at Lucene.Net.Index.ConcurrentMergeScheduler.MergeThread.Run() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)

If I acknowledge the notice, the whole program shuts down. If I leave the notice on the screen it continues downloading, throwing a new notice after every episode is downloaded.

Expected behavior The first couple of podcasts I downloaded seemed to work fine, but then this problem started. I've updated to the latest Libation version, rebooted and restarted the computer, all to no avail.

Screenshots

Libation Crash Notice 061923

Platform Windows 10

Log Files

Log202306_001.zip

rmcrackan commented 1 year ago

@Mbucari Could this be related to the recent search engine refactor?

Mbucari commented 1 year ago

Could this be related to the recent search engine refactor?

I'm not a betting man, but I'd put money on this being my fault ;)

Mbucari commented 1 year ago

@rmcrackan I may have spoken too soon. I don't know what's going on exactly, but I suspect @lbhdan's search index is corrupted, but I have no idea how that could have happened.

@lbhdan can you please delete the "SearchEngine" folder inside your Libation settings folder and try again?

lbhdan commented 1 year ago

@Mbucari @rmcrackan @lbhdan Looks like you diagnosed the problem. After deleting the "SearchEngine" folder, the downloads appear to be proceeding without issue. I'll let you know if it completes with no further problems.

rmcrackan commented 1 year ago

Nice! Thanks for following up with us.