Folder renaming causing crashes and database corruption?

Found a bug in "Everything"? report it here
Post Reply
roBsonn
Posts: 16
Joined: Wed Sep 06, 2017 4:36 am

Folder renaming causing crashes and database corruption?

Post by roBsonn »

Every few days Everything crashes on me during startup. Examining debug log shows that more often than not there are one or more folder renames happening immediately before crashing, and the database file becomes corrupt and needs deleting afterwards.

Is it possible that folder renaming causes database corruption? Can it be fixed in the next release? It's cumbersome to rebuild entire database every few days.

Last debug log: link.
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: Folder renaming causing crashes and database corruption?

Post by void »

Thanks for the debug log.

It is possible for the db to become corrupt if you have folder size indexing enabled or have a exclude filter or folder set.

Everything 1.4.1.884 should fix the issue:
http://www.voidtools.com/Everything-1.4.1.884.x86.zip
http://www.voidtools.com/Everything-1.4.1.884.x64.zip
roBsonn
Posts: 16
Joined: Wed Sep 06, 2017 4:36 am

Re: Folder renaming causing crashes and database corruption?

Post by roBsonn »

I indeed have an excluded folder - the Recycle Bin. It is as you suggested in another thread.

I just now downloaded and updated my copy. Will let you know after a few days of testing.
therube
Posts: 4985
Joined: Thu Sep 03, 2009 6:48 pm

Re: Folder renaming causing crashes and database corruption?

Post by therube »

roBsonn
Posts: 16
Joined: Wed Sep 06, 2017 4:36 am

Re: Folder renaming causing crashes and database corruption?

Post by roBsonn »

Crashed in 1.4.1.877 (x64) - log.
This a log after third attempt to start the app. All three were the same - about three seconds of an empty window, status bar says "Updating database...", then a crash. The database was not fixed automatically, so I deleted it by hand and it had to rebuilt. Afterwards the program started.

P.S.
Just for the note, please don't come up with an idea to just delete the database file as a fix, because it's not the manual deleting that's problematic, but the long rebuilding.
therube
Posts: 4985
Joined: Thu Sep 03, 2009 6:48 pm

Re: Folder renaming causing crashes and database corruption?

Post by therube »

therube wrote:Did you mean .877 or .885?
Ah, [from the log] it was .877 :|
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: Folder renaming causing crashes and database corruption?

Post by void »

Fixed another issue causing corruption when renaming a folder.

Please try Everything 1.4.1.886:
http://www.voidtools.com/Everything-1.4.1.886.x86.zip
http://www.voidtools.com/Everything-1.4.1.886.x64.zip
roBsonn
Posts: 16
Joined: Wed Sep 06, 2017 4:36 am

Re: Folder renaming causing crashes and database corruption?

Post by roBsonn »

So many new build recently, sorry that I missed 885 ;) Downloaded 886, rebuilding, testing.
roBsonn
Posts: 16
Joined: Wed Sep 06, 2017 4:36 am

Re: Folder renaming causing crashes and database corruption?

Post by roBsonn »

This issue seems to be no longer - it hadn't appeared since I upgraded to 886!
Post Reply