SDK Everything_Query hangs with large result set

Found a bug in "Everything"? report it here
Post Reply
soduktile
Posts: 4
Joined: Tue Dec 22, 2009 5:03 pm

SDK Everything_Query hangs with large result set

Post by soduktile »

On a system with 590k objects, a search (with match path) of 'a' which returns 571372 objects in Everything 'the GUI' does not return from the Everything_Query call using the SDK. Setting Everything_SetMax to 517168 fixed, 517169 hung. (Returns the correct GetTotResults). The 517168 is variable with different searchs, so it is probably size related rather than number (Just guessing). The hang is non-CPU-consuming (like a wait of sorts).

Happy Holidays,
Tony, Durban, South Africa
void
Developer
Posts: 16751
Joined: Fri Oct 16, 2009 11:31 pm

Re: SDK Everything_Query hangs with large result set

Post by void »

I have been unable to re-produce this error.

Are there any errors reported in the Errorlog.txt file in your Everything installation folder?

Try running "Everything" in debug mode.
To run "Everything" in debug mode:
Run Everything.exe with the -debug command line option:

Code: Select all

Everything.exe -debug
What is displayed in the debug console when sending the IPC Query?
soduktile
Posts: 4
Joined: Tue Dec 22, 2009 5:03 pm

Re: SDK Everything_Query hangs with large result set

Post by soduktile »

System has more files now so numbers have changed but results are still the same

No SetMax - Hangs in WaitMessage() in _Everything_thread_proc (on first entry of loop: so it's not getting any interfering messages):

found 56741 folders, size 327680, db search time taken: 0.033958 seconds
found 539780 files, size 2228224, db search time taken: 0.286944 seconds
...slight delay...
IPC: Client disconnected.

SetMax 510000 - Returns correctly:

found 56741 folders, size 327680, db search time taken: 0.035241 seconds
found 539780 files, size 2228224, db search time taken: 0.298020 seconds
...slight delay...
IPC: Client disconnected.

Same on release version and latest beta.

Weird !

BTW in the CSharp example Everything_Query is called without the wait flag - () in place of (true)
It works by luck of a non-zero AX register. Not related to this problem though.
soduktile
Posts: 4
Joined: Tue Dec 22, 2009 5:03 pm

Re: SDK Everything_Query hangs with large result set

Post by soduktile »

Correction: not latest beta - 1.2.1.451a and 1.2.1.371
Post Reply