Page 1 of 1
Boolean Find crashes on 170K+ file list
Posted: 04 Sep 2016 19:26
by Papoulka
Win10 8GB w XY 17.00.0217, "fresh" instance.
This may be impractical to replicate for debugging but I'm reporting it at least for info.
I have about 8000 folders on an external USB3 drive. These appear in the list pane. Each folder has about 50 items in two subfolders below it. When I run the following Boolean search (see attached JPG):
((01.*.flac) OR (101.*.flac) OR (001.*.flac)) AND (NOT (prop:#audio.bitdepth:16-bit))
XY gets to between 160K and 180K items searched and then crashes. The crash is repeatable and happens every time, though the number of items scanned and the last item searched (redacted in the JPG) differs.
If I remove one term from the search pattern and use this:
( (101.*.flac) OR (001.*.flac)) AND (NOT (prop:#audio.bitdepth:16-bit))
then XY completes the search over about 400K items with no problems. So I don't think one bad file is causing the problem. It seems like info overflow somewhere.
Also, I understand that my search pattern may not be the smartest. But it does what I want, and reveals the issue.
Re: Boolean Find crashes on 170K+ file list
Posted: 04 Sep 2016 21:28
by admin
The culprit could be among the "01.*.flac" files. What if you do this pattern?
Code: Select all
(01.*.flac) AND (NOT (prop:#audio.bitdepth:16-bit))
Re: Boolean Find crashes on 170K+ file list
Posted: 04 Sep 2016 23:53
by Papoulka
admin wrote:The culprit could be among the "01.*.flac" files. What if you do this pattern?
Code: Select all
(01.*.flac) AND (NOT (prop:#audio.bitdepth:16-bit))
This crashes in the same way, at about 179K files checked.
Using "0.1.*.flac" by itself works fine... finds tens of thousands of files.
Also OK is (01.*.flac) AND NOT (02.*.flac)
Re: Boolean Find crashes on 170K+ file list
Posted: 05 Sep 2016 02:10
by Papoulka
Interestingly...
Both of these crash:
(01.*.flac) AND (NOT (prop:#audio.bitdepth:16-bit))
(01.*.flac) AND ((prop:#audio.bitdepth:16-bit))
This does not crash:
(01.*.flac) AND ( NOT (prop:#audio.channels:2))
but this does crash (finding no files first):
(01.*.flac) AND ((prop:#audio.channels:2))
Off-topic... all of theses are two-channel files, so I'm wondering why "prop:#audio.channels:2" doesn't see them. From the MS docs "2" is the right choice.
Re: Boolean Find crashes on 170K+ file list
Posted: 05 Sep 2016 09:23
by admin
Interesting indeed. I see no logic in this. But I still think it's a certain file. Can you maybe isolate it by size (halfing the field each time):
(01.*.flac) AND (size: < 500KB) AND ((prop:#audio.bitdepth:16-bit))
Papoulka wrote:Off-topic... all of theses are two-channel files, so I'm wondering why "prop:#audio.channels:2" doesn't see them. From the MS docs "2" is the right choice.
Ah, I changed this in v17.00.0217! Stupid idea. I returned "Stereo" instead of "2". I will undo this change.
Re: Boolean Find crashes on 170K+ file list
Posted: 05 Sep 2016 17:56
by Papoulka
I'll begin trying to narrow down the crash scenario.
On "prop:#audio.channels:2" - The MS docs do indicate "2" and "1" as values, but elsewhere I found "2 (stereo)" and "1 (mono)". So I'm not sure which is right.
Re: Boolean Find crashes on 170K+ file list
Posted: 05 Sep 2016 17:59
by admin
Papoulka wrote:I'll begin trying to narrow down the crash scenario.
Great! I'm about to compile 17.10 for release. IF it is a bug would be nice to fix it before.

Re: Boolean Find crashes on 170K+ file list
Posted: 05 Sep 2016 19:28
by Papoulka
OK, I've found the culprit file. You can get it from Dropbox via this link:
https://www.dropbox.com/s/fllk7detpy1qv ... .flac?dl=0
XY crashes when it encounters this file under a Boolean search with pattern: (01.*.flac) AND ((prop:#audio.bitdepth:16-bit))
The file plays fine in Winamp and props there look OK. I have files from the same album with tracks beginning 02. 03. etc and will see if others give the same crash problem, but wanted to report this result quickly.
Re: Boolean Find crashes on 170K+ file list
Posted: 05 Sep 2016 19:32
by Papoulka
Just for info, it turns out that all FLACs in this album have the same problem, whatever it is.
Re: Boolean Find crashes on 170K+ file list
Posted: 05 Sep 2016 19:35
by admin
Crash confirmed! Thanks.

Gonna fix now...

Re: Boolean Find crashes on 170K+ file list
Posted: 05 Sep 2016 20:08
by admin
Got it. Fix comes.
Re: Boolean Find crashes on 170K+ file list
Posted: 05 Sep 2016 21:13
by Papoulka
Fix confirmed, thanks!

Re: Boolean Find crashes on 170K+ file list
Posted: 06 Sep 2016 18:35
by Papoulka
Further thought on this: The diagnosis and troubleshooting were confused by the fact that when the XY search crashed, the folder ID varied each time and was never the one with the bad files. See the attached picture. If this had pointed to the culprit folder I could have isolated the problem immediately.
Maybe this label can't keep up with the search for processing reasons... Just pointing this out in case it can easily be improved.
Re: Boolean Find crashes on 170K+ file list
Posted: 06 Sep 2016 20:02
by admin
Unfortunately not possible in this case. This particular type of crash comes with a small but indefinite delay.